GNUnet 0.22.2
config_plugin.h
Go to the documentation of this file.
1#include "platform.h"
2#include "gnunet_util_lib.h"
4
18 struct GNUNET_REST_RequestHandle *conndata_handle,
20 void *proc_cls);
21
26void *
28
35void
37
void * REST_config_init(const struct GNUNET_CONFIGURATION_Handle *cfg)
Entry point for the plugin.
enum GNUNET_GenericReturnValue REST_config_process_request(void *plugin, struct GNUNET_REST_RequestHandle *conndata_handle, GNUNET_REST_ResultProcessor proc, void *proc_cls)
Function processing the REST call.
void REST_config_done(struct GNUNET_REST_Plugin *api)
Exit point from the plugin.
static struct GNUNET_CONFIGURATION_Handle * cfg
Our configuration.
Definition: gnunet-arm.c:108
static struct GNUNET_TESTING_PluginFunctions * plugin
Plugin to dynamically load a test case.
GNUnet service REST plugin header.
GNUNET_GenericReturnValue
Named constants for return values.
void(* GNUNET_REST_ResultProcessor)(void *cls, struct MHD_Response *resp, int status)
Iterator called on obtained result for a REST result.
struct returned by the initialization function of the plugin