aboutsummaryrefslogtreecommitdiff
path: root/src/rest/rest.c
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
committerChristian Grothoff <christian@grothoff.org>2019-10-31 13:03:48 +0100
commit7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch)
treebdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/rest/rest.c
parent01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff)
downloadgnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz
gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip
tighten formatting rules
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 */