aboutsummaryrefslogtreecommitdiff
path: root/src/block/plugin_block_template.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2017-02-27 15:28:00 +0100
committerChristian Grothoff <christian@grothoff.org>2017-02-27 15:28:00 +0100
commit830137e312e8e565c9113a20411aa3073fbd1cbd (patch)
treec5c85eb38dc28a353c087ce2058e4cd5c11534ea /src/block/plugin_block_template.c
parentee3327de8fd04b2b8ce8692560c9f1d01a822baa (diff)
downloadgnunet-830137e312e8e565c9113a20411aa3073fbd1cbd.tar.gz
gnunet-830137e312e8e565c9113a20411aa3073fbd1cbd.zip
implement revocation block plugin, get revocation test to pass again
Diffstat (limited to 'src/block/plugin_block_template.c')
-rw-r--r--src/block/plugin_block_template.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/block/plugin_block_template.c b/src/block/plugin_block_template.c
index 2edca17ec..0105fac38 100644
--- a/src/block/plugin_block_template.c
+++ b/src/block/plugin_block_template.c
@@ -157,6 +157,8 @@ block_plugin_template_get_key (void *cls,
157 157
158/** 158/**
159 * Entry point for the plugin. 159 * Entry point for the plugin.
160 *
161 * @param cls a `const struct GNUNET_CONFIGURATION_Handle`
160 */ 162 */
161void * 163void *
162libgnunet_plugin_block_template_init (void *cls) 164libgnunet_plugin_block_template_init (void *cls)
@@ -183,7 +185,7 @@ libgnunet_plugin_block_template_init (void *cls)
183void * 185void *
184libgnunet_plugin_block_template_done (void *cls) 186libgnunet_plugin_block_template_done (void *cls)
185{ 187{
186 struct GNUNET_TRANSPORT_PluginFunctions *api = cls; 188 struct GNUNET_BLOCK_PluginFunctions *api = cls;
187 189
188 GNUNET_free (api); 190 GNUNET_free (api);
189 return NULL; 191 return NULL;