aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_block_plugin.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-15 21:46:35 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-15 21:46:35 +0000
commit502af2167f7c218366666ca4944bd7cc54b5b19a (patch)
treea91fec5cc9769d260640bd91c6633cb9cf395524 /src/include/gnunet_block_plugin.h
parent03af5a603b7cc53432249d5854cd412aa90dde0d (diff)
downloadgnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.tar.gz
gnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.zip
indentation
Diffstat (limited to 'src/include/gnunet_block_plugin.h')
-rw-r--r--src/include/gnunet_block_plugin.h28
1 files changed, 13 insertions, 15 deletions
diff --git a/src/include/gnunet_block_plugin.h b/src/include/gnunet_block_plugin.h
index 3d3fb4001..885842157 100644
--- a/src/include/gnunet_block_plugin.h
+++ b/src/include/gnunet_block_plugin.h
@@ -51,15 +51,14 @@
51 * @return characterization of result 51 * @return characterization of result
52 */ 52 */
53typedef enum GNUNET_BLOCK_EvaluationResult 53typedef enum GNUNET_BLOCK_EvaluationResult
54 (*GNUNET_BLOCK_EvaluationFunction) (void *cls, 54 (*GNUNET_BLOCK_EvaluationFunction) (void *cls,
55 enum GNUNET_BLOCK_Type type, 55 enum GNUNET_BLOCK_Type type,
56 const GNUNET_HashCode *query, 56 const GNUNET_HashCode * query,
57 struct GNUNET_CONTAINER_BloomFilter **bf, 57 struct GNUNET_CONTAINER_BloomFilter **
58 int32_t bf_mutator, 58 bf, int32_t bf_mutator,
59 const void *xquery, 59 const void *xquery, size_t xquery_size,
60 size_t xquery_size, 60 const void *reply_block,
61 const void *reply_block, 61 size_t reply_block_size);
62 size_t reply_block_size);
63 62
64 63
65/** 64/**
@@ -76,12 +75,11 @@ typedef enum GNUNET_BLOCK_EvaluationResult
76 * (or if extracting a key from a block of this type does not work) 75 * (or if extracting a key from a block of this type does not work)
77 */ 76 */
78typedef int 77typedef int
79 (*GNUNET_BLOCK_GetKeyFunction) (void *cls, 78 (*GNUNET_BLOCK_GetKeyFunction) (void *cls,
80 enum GNUNET_BLOCK_Type type, 79 enum GNUNET_BLOCK_Type type,
81 const void *block, 80 const void *block,
82 size_t block_size, 81 size_t block_size, GNUNET_HashCode * key);
83 GNUNET_HashCode *key); 82
84
85 83
86 84
87/** 85/**