aboutsummaryrefslogtreecommitdiff
path: root/src/rest/rest.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rest/rest.c')
-rw-r--r--src/rest/rest.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/rest/rest.c b/src/rest/rest.c
index b83530ee1..0dfd44ce7 100644
--- a/src/rest/rest.c
+++ b/src/rest/rest.c
@@ -46,6 +46,7 @@ GNUNET_REST_namespace_match (const char *url, const char *namespace)
46 return 0 == strncmp (namespace, url, strlen (namespace)); 46 return 0 == strncmp (namespace, url, strlen (namespace));
47} 47}
48 48
49
49/** 50/**
50 * Create MHD response 51 * Create MHD response
51 * 52 *
@@ -71,6 +72,7 @@ GNUNET_REST_create_response (const char *data)
71 return resp; 72 return resp;
72} 73}
73 74
75
74int 76int
75GNUNET_REST_handle_request (struct GNUNET_REST_RequestHandle *conn, 77GNUNET_REST_handle_request (struct GNUNET_REST_RequestHandle *conn,
76 const struct GNUNET_REST_RequestHandler *handlers, 78 const struct GNUNET_REST_RequestHandler *handlers,
@@ -106,4 +108,5 @@ GNUNET_REST_handle_request (struct GNUNET_REST_RequestHandle *conn,
106 return GNUNET_NO; 108 return GNUNET_NO;
107} 109}
108 110
111
109/* end of rest.c */ 112/* end of rest.c */