aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_block_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-29 10:19:43 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-29 10:19:43 +0000
commitcddbdf5b928c68ab71b40c950b9f01ea68a9fbdb (patch)
treeb704e00a3af618b2cd174a7f89514eaebd82a1cf /src/include/gnunet_block_lib.h
parentbb4fc4f4007988874f910d4de5492f9629301641 (diff)
downloadgnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.tar.gz
gnunet-cddbdf5b928c68ab71b40c950b9f01ea68a9fbdb.zip
run indent twice, it alternates between two 'canonical' forms, also run whitespace remover
Diffstat (limited to 'src/include/gnunet_block_lib.h')
-rw-r--r--src/include/gnunet_block_lib.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_block_lib.h b/src/include/gnunet_block_lib.h
index 66b2490c0..01a1ec2fc 100644
--- a/src/include/gnunet_block_lib.h
+++ b/src/include/gnunet_block_lib.h
@@ -69,7 +69,7 @@ enum GNUNET_BLOCK_Type
69 GNUNET_BLOCK_TYPE_FS_SBLOCK = 4, 69 GNUNET_BLOCK_TYPE_FS_SBLOCK = 4,
70 70
71 /** 71 /**
72 * Type of a block that is used to advertise a namespace. 72 * Type of a block that is used to advertise a namespace.
73 */ 73 */
74 GNUNET_BLOCK_TYPE_FS_NBLOCK = 5, 74 GNUNET_BLOCK_TYPE_FS_NBLOCK = 5,
75 75
@@ -156,7 +156,7 @@ struct GNUNET_BLOCK_Context;
156 156
157/** 157/**
158 * Mingle hash with the mingle_number to produce different bits. 158 * Mingle hash with the mingle_number to produce different bits.
159 * 159 *
160 * @param in original hash code 160 * @param in original hash code
161 * @param mingle_number number for hash permutation 161 * @param mingle_number number for hash permutation
162 * @param hc where to store the result. 162 * @param hc where to store the result.
@@ -188,7 +188,7 @@ GNUNET_BLOCK_context_destroy (struct GNUNET_BLOCK_Context *ctx);
188/** 188/**
189 * Function called to validate a reply or a request. For 189 * Function called to validate a reply or a request. For
190 * request evaluation, simply pass "NULL" for the reply_block. 190 * request evaluation, simply pass "NULL" for the reply_block.
191 * Note that it is assumed that the reply has already been 191 * Note that it is assumed that the reply has already been
192 * matched to the key (and signatures checked) as it would 192 * matched to the key (and signatures checked) as it would
193 * be done with the "get_key" function. 193 * be done with the "get_key" function.
194 * 194 *
@@ -221,7 +221,7 @@ GNUNET_BLOCK_evaluate (struct GNUNET_BLOCK_Context *ctx,
221 * @param block block to get the key for 221 * @param block block to get the key for
222 * @param block_size number of bytes in block 222 * @param block_size number of bytes in block
223 * @param key set to the key (query) for the given block 223 * @param key set to the key (query) for the given block
224 * @return GNUNET_YES on success, 224 * @return GNUNET_YES on success,
225 * GNUNET_NO if the block is malformed 225 * GNUNET_NO if the block is malformed
226 * GNUNET_SYSERR if type not supported 226 * GNUNET_SYSERR if type not supported
227 * (or if extracting a key from a block of this type does not work) 227 * (or if extracting a key from a block of this type does not work)