GNUnet 0.21.1
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:109
struct TestcasePlugin * plugin
The process handle to the testbed service.
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