tighten formatting rules
[oweals/gnunet.git] / src / util / container_bloomfilter.c
index cb7984c3fee371d9031e45d97d330a4a0f8d722c..eca65186257555b84812ed1e3d12ff6ed48a3cd2 100644 (file)
@@ -149,6 +149,7 @@ setBit (char *bitArray, unsigned int bitIdx)
   bitArray[arraySlot] |= targetBit;
 }
 
+
 /**
  * Clears a bit from bitArray. Bit is cleared from the array
  * only if the respective usage counter on the disk hits/is zero.
@@ -167,6 +168,7 @@ clearBit (char *bitArray, unsigned int bitIdx)
   bitArray[slot] = bitArray[slot] & (~targetBit);
 }
 
+
 /**
  * Checks if a bit is active in the bitArray
  *
@@ -188,6 +190,7 @@ testBit (char *bitArray, unsigned int bitIdx)
     return GNUNET_NO;
 }
 
+
 /**
  * Sets a bit active in the bitArray and increments
  * bit-specific usage counter on disk (but only if
@@ -238,6 +241,7 @@ incrementBit (char *bitArray,
   GNUNET_assert (1 == GNUNET_DISK_file_write (fh, &value, 1));
 }
 
+
 /**
  * Clears a bit from bitArray if the respective usage
  * counter on the disk hits/is zero.
@@ -302,6 +306,7 @@ decrementBit (char *bitArray,
   GNUNET_assert (1 == GNUNET_DISK_file_write (fh, &value, 1));
 }
 
+
 #define BUFFSIZE 65536
 
 /**
@@ -342,6 +347,7 @@ make_empty_file (const struct GNUNET_DISK_FileHandle *fh, size_t size)
   return GNUNET_OK;
 }
 
+
 /* ************** GNUNET_CONTAINER_BloomFilter iterator ********* */
 
 /**
@@ -474,6 +480,7 @@ testBitCallback (void *cls,
   return GNUNET_YES;
 }
 
+
 /* *********************** INTERFACE **************** */
 
 /**
@@ -796,6 +803,7 @@ GNUNET_CONTAINER_bloomfilter_or (struct GNUNET_CONTAINER_BloomFilter *bf,
   return GNUNET_OK;
 }
 
+
 /**
  * Or the entries of the given raw data array with the
  * data of the given bloom filter.  Assumes that
@@ -854,6 +862,7 @@ GNUNET_CONTAINER_bloomfilter_remove (struct GNUNET_CONTAINER_BloomFilter *bf,
   iterateBits (bf, &decrementBitCallback, bf, e);
 }
 
+
 /**
  * Resize a bloom filter.  Note that this operation
  * is pretty costly.  Essentially, the bloom filter
@@ -889,4 +898,5 @@ GNUNET_CONTAINER_bloomfilter_resize (struct GNUNET_CONTAINER_BloomFilter *bf,
     GNUNET_CONTAINER_bloomfilter_add (bf, &hc);
 }
 
+
 /* end of container_bloomfilter.c */