From 83095b7bbf49263d66ab1d89d0535e8fee2a9d01 Mon Sep 17 00:00:00 2001 From: Phil Date: Wed, 1 Aug 2018 03:26:50 +0200 Subject: -fix json and namestore --- src/namestore/plugin_rest_namestore.c | 10 +--------- 1 file changed, 1 insertion(+), 9 deletions(-) (limited to 'src/namestore/plugin_rest_namestore.c') diff --git a/src/namestore/plugin_rest_namestore.c b/src/namestore/plugin_rest_namestore.c index 6924c53a4..90928165e 100644 --- a/src/namestore/plugin_rest_namestore.c +++ b/src/namestore/plugin_rest_namestore.c @@ -32,6 +32,7 @@ #include "microhttpd.h" #include + #define GNUNET_REST_API_NS_NAMESTORE "/namestore" #define GNUNET_REST_SUBSYSTEM_NAMESTORE "namestore" @@ -40,8 +41,6 @@ #define GNUNET_REST_NAMESTORE_RD_COUNT 1 -//TODO define other variables - /** * The configuration handle */ @@ -60,8 +59,6 @@ struct Plugin const struct GNUNET_CONFIGURATION_Handle *cfg; }; -//TODO add specific structs - /** * The default namestore ego */ @@ -86,8 +83,6 @@ struct EgoEntry struct RequestHandle { - //TODO add specific entries - /** * Records to store */ @@ -180,8 +175,6 @@ struct RequestHandle }; - -//TODO add specific cleanup /** * Cleanup lookup handle * @param handle Handle to clean up @@ -638,7 +631,6 @@ options_cont (struct GNUNET_REST_RequestHandle *con_handle, static void init_cont (struct RequestHandle *handle) { - //TODO specify parameter of init_cont if necessary struct GNUNET_REST_RequestHandlerError err; static const struct GNUNET_REST_RequestHandler handlers[] = { {MHD_HTTP_METHOD_GET, GNUNET_REST_API_NS_NAMESTORE, &namestore_get}, -- cgit v1.2.3