diff options
Diffstat (limited to 'doc/tutorial-examples/023.c')
-rw-r--r-- | doc/tutorial-examples/023.c | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/doc/tutorial-examples/023.c b/doc/tutorial-examples/023.c deleted file mode 100644 index 820c38b10a..0000000000 --- a/doc/tutorial-examples/023.c +++ /dev/null @@ -1,17 +0,0 @@ -void * -libgnunet_plugin_block_SERVICE_init (void *cls) -{ - static enum GNUNET_BLOCK_Type types[] = - { - GNUNET_BLOCK_TYPE_SERVICE_BLOCKYPE, - GNUNET_BLOCK_TYPE_ANY - }; - struct GNUNET_BLOCK_PluginFunctions *api; - - api = GNUNET_new (struct GNUNET_BLOCK_PluginFunctions); - api->evaluate = &block_plugin_SERICE_evaluate; - api->get_key = &block_plugin_SERVICE_get_key; - api->types = types; - return api; -} - |