aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_block_plugin.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_plugin.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_plugin.h')
-rw-r--r--src/include/gnunet_block_plugin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_block_plugin.h b/src/include/gnunet_block_plugin.h
index 6d1f2f103..0ead4afad 100644
--- a/src/include/gnunet_block_plugin.h
+++ b/src/include/gnunet_block_plugin.h
@@ -20,7 +20,7 @@
20 20
21/** 21/**
22 * @file include/gnunet_block_plugin.h 22 * @file include/gnunet_block_plugin.h
23 * @brief API for block plugins. Each block plugin must conform to 23 * @brief API for block plugins. Each block plugin must conform to
24 * the API specified by this header. 24 * the API specified by this header.
25 * @author Christian Grothoff 25 * @author Christian Grothoff
26 */ 26 */
@@ -35,7 +35,7 @@
35/** 35/**
36 * Function called to validate a reply or a request. For 36 * Function called to validate a reply or a request. For
37 * request evaluation, simply pass "NULL" for the reply_block. 37 * request evaluation, simply pass "NULL" for the reply_block.
38 * Note that it is assumed that the reply has already been 38 * Note that it is assumed that the reply has already been
39 * matched to the key (and signatures checked) as it would 39 * matched to the key (and signatures checked) as it would
40 * be done with the "get_key" function. 40 * be done with the "get_key" function.
41 * 41 *
@@ -81,7 +81,7 @@ typedef enum
81 * @param block block to get the key for 81 * @param block block to get the key for
82 * @param block_size number of bytes in block 82 * @param block_size number of bytes in block
83 * @param key set to the key (query) for the given block 83 * @param key set to the key (query) for the given block
84 * @return GNUNET_YES on success, 84 * @return GNUNET_YES on success,
85 * GNUNET_NO if the block is malformed 85 * GNUNET_NO if the block is malformed
86 * GNUNET_SYSERR if type not supported 86 * GNUNET_SYSERR if type not supported
87 * (or if extracting a key from a block of this type does not work) 87 * (or if extracting a key from a block of this type does not work)
@@ -112,7 +112,7 @@ struct GNUNET_BLOCK_PluginFunctions
112 const enum GNUNET_BLOCK_Type *types; 112 const enum GNUNET_BLOCK_Type *types;
113 113
114 /** 114 /**
115 * Main function of a block plugin. Allows us to check if a 115 * Main function of a block plugin. Allows us to check if a
116 * block matches a query. 116 * block matches a query.
117 */ 117 */
118 GNUNET_BLOCK_EvaluationFunction evaluate; 118 GNUNET_BLOCK_EvaluationFunction evaluate;