32 #ifndef GNUNET_REST_PLUGIN_H
33 #define GNUNET_REST_PLUGIN_H
38 #include "microhttpd.h"
static struct GNUNET_DNS_Handle * handle
Handle to transport service.
API for helper library to parse/create REST.
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
void * cls
The closure of the plugin.
enum GNUNET_GenericReturnValue(* process_request)(struct GNUNET_REST_RequestHandle *handle, GNUNET_REST_ResultProcessor proc, void *proc_cls)
Function to process a REST call.