aboutsummaryrefslogtreecommitdiff
path: root/src/block/plugin_block_template.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/block/plugin_block_template.c')
-rw-r--r--src/block/plugin_block_template.c25
1 files changed, 11 insertions, 14 deletions
diff --git a/src/block/plugin_block_template.c b/src/block/plugin_block_template.c
index dcaf1afaa..46a370924 100644
--- a/src/block/plugin_block_template.c
+++ b/src/block/plugin_block_template.c
@@ -48,7 +48,6 @@
48 * 48 *
49 * @param ctx block context in which the block group is created 49 * @param ctx block context in which the block group is created
50 * @param type type of the block for which we are creating the group 50 * @param type type of the block for which we are creating the group
51 * @param nonce random value used to seed the group creation
52 * @param raw_data optional serialized prior state of the group, NULL if unavailable/fresh 51 * @param raw_data optional serialized prior state of the group, NULL if unavailable/fresh
53 * @param raw_data_size number of bytes in @a raw_data, 0 if unavailable/fresh 52 * @param raw_data_size number of bytes in @a raw_data, 0 if unavailable/fresh
54 * @param va variable arguments specific to @a type 53 * @param va variable arguments specific to @a type
@@ -58,7 +57,6 @@
58static struct GNUNET_BLOCK_Group * 57static struct GNUNET_BLOCK_Group *
59block_plugin_template_create_group (void *cls, 58block_plugin_template_create_group (void *cls,
60 enum GNUNET_BLOCK_Type type, 59 enum GNUNET_BLOCK_Type type,
61 uint32_t nonce,
62 const void *raw_data, 60 const void *raw_data,
63 size_t raw_data_size, 61 size_t raw_data_size,
64 va_list va) 62 va_list va)
@@ -85,7 +83,6 @@ block_plugin_template_create_group (void *cls,
85 bf_size, 83 bf_size,
86 BLOOMFILTER_K, 84 BLOOMFILTER_K,
87 type, 85 type,
88 nonce,
89 raw_data, 86 raw_data,
90 raw_data_size); 87 raw_data_size);
91} 88}
@@ -124,9 +121,9 @@ block_plugin_template_check_query (void *cls,
124 */ 121 */
125static enum GNUNET_GenericReturnValue 122static enum GNUNET_GenericReturnValue
126block_plugin_template_check_block (void *cls, 123block_plugin_template_check_block (void *cls,
127 enum GNUNET_BLOCK_Type type, 124 enum GNUNET_BLOCK_Type type,
128 const void *block, 125 const void *block,
129 size_t block_size) 126 size_t block_size)
130{ 127{
131 return GNUNET_SYSERR; 128 return GNUNET_SYSERR;
132} 129}
@@ -150,14 +147,14 @@ block_plugin_template_check_block (void *cls,
150 */ 147 */
151static enum GNUNET_BLOCK_ReplyEvaluationResult 148static enum GNUNET_BLOCK_ReplyEvaluationResult
152block_plugin_template_check_reply ( 149block_plugin_template_check_reply (
153 void *cls, 150 void *cls,
154 enum GNUNET_BLOCK_Type type, 151 enum GNUNET_BLOCK_Type type,
155 struct GNUNET_BLOCK_Group *group, 152 struct GNUNET_BLOCK_Group *group,
156 const struct GNUNET_HashCode *query, 153 const struct GNUNET_HashCode *query,
157 const void *xquery, 154 const void *xquery,
158 size_t xquery_size, 155 size_t xquery_size,
159 const void *reply_block, 156 const void *reply_block,
160 size_t reply_block_size) 157 size_t reply_block_size)
161{ 158{
162 return GNUNET_BLOCK_REPLY_TYPE_NOT_SUPPORTED; 159 return GNUNET_BLOCK_REPLY_TYPE_NOT_SUPPORTED;
163} 160}