aboutsummaryrefslogtreecommitdiff
path: root/src/rest/gnunet-rest-server.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/rest/gnunet-rest-server.c')
-rw-r--r--src/rest/gnunet-rest-server.c6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/rest/gnunet-rest-server.c b/src/rest/gnunet-rest-server.c
index 2456ad50c..02a2c6daf 100644
--- a/src/rest/gnunet-rest-server.c
+++ b/src/rest/gnunet-rest-server.c
@@ -185,6 +185,7 @@ run_mhd_now ()
185 httpd_task = GNUNET_SCHEDULER_add_now (&do_httpd, NULL); 185 httpd_task = GNUNET_SCHEDULER_add_now (&do_httpd, NULL);
186} 186}
187 187
188
188/** 189/**
189 * Plugin result callback 190 * Plugin result callback
190 * 191 *
@@ -242,6 +243,7 @@ cleanup_handle (struct MhdConnectionHandle *handle)
242 GNUNET_free (handle); 243 GNUNET_free (handle);
243} 244}
244 245
246
245static int 247static int
246header_iterator (void *cls, 248header_iterator (void *cls,
247 enum MHD_ValueKind kind, 249 enum MHD_ValueKind kind,
@@ -299,6 +301,7 @@ url_iterator (void *cls,
299 return MHD_YES; 301 return MHD_YES;
300} 302}
301 303
304
302static int 305static int
303post_data_iter (void *cls, 306post_data_iter (void *cls,
304 enum MHD_ValueKind kind, 307 enum MHD_ValueKind kind,
@@ -334,6 +337,7 @@ post_data_iter (void *cls,
334 return MHD_YES; 337 return MHD_YES;
335} 338}
336 339
340
337/* ********************************* MHD response generation ******************* */ 341/* ********************************* MHD response generation ******************* */
338 342
339/** 343/**
@@ -641,6 +645,7 @@ schedule_httpd ()
641 GNUNET_NETWORK_fdset_destroy (wws); 645 GNUNET_NETWORK_fdset_destroy (wws);
642} 646}
643 647
648
644/** 649/**
645 * Task run whenever HTTP server operations are pending. 650 * Task run whenever HTTP server operations are pending.
646 * 651 *
@@ -1050,4 +1055,5 @@ main (int argc, char *const *argv)
1050 return ret; 1055 return ret;
1051} 1056}
1052 1057
1058
1053/* end of gnunet-rest-server.c */ 1059/* end of gnunet-rest-server.c */