aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_block_plugin.h
diff options
context:
space:
mode:
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/**