GNUnet  0.11.x
Functions
rest.c File Reference

helper library to create JSON REST Objects and handle REST responses/requests. More...

#include "platform.h"
#include "gnunet_util_lib.h"
#include "gnunet_rest_lib.h"
#include "microhttpd.h"
Include dependency graph for rest.c:

Go to the source code of this file.

Functions

int GNUNET_REST_namespace_match (const char *url, const char *namespace)
 REST Utilities. More...
 
struct MHD_Response * GNUNET_REST_create_response (const char *data)
 Create MHD response. More...
 
int GNUNET_REST_handle_request (struct GNUNET_REST_RequestHandle *conn, const struct GNUNET_REST_RequestHandler *handlers, struct GNUNET_REST_RequestHandlerError *err, void *cls)
 

Detailed Description

helper library to create JSON REST Objects and handle REST responses/requests.

Author
Martin Schanzenbach

Definition in file rest.c.