aboutsummaryrefslogtreecommitdiff
path: root/src/reclaim/plugin_rest_reclaim.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/reclaim/plugin_rest_reclaim.c')
-rw-r--r--src/reclaim/plugin_rest_reclaim.c10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/reclaim/plugin_rest_reclaim.c b/src/reclaim/plugin_rest_reclaim.c
index fd35059d7..9a75b2d16 100644
--- a/src/reclaim/plugin_rest_reclaim.c
+++ b/src/reclaim/plugin_rest_reclaim.c
@@ -287,6 +287,7 @@ cleanup_handle (struct RequestHandle *handle)
287 GNUNET_free (handle); 287 GNUNET_free (handle);
288} 288}
289 289
290
290static void 291static void
291cleanup_handle_delayed (void *cls) 292cleanup_handle_delayed (void *cls)
292{ 293{
@@ -342,6 +343,7 @@ collect_error_cb (void *cls)
342 do_error (handle); 343 do_error (handle);
343} 344}
344 345
346
345static void 347static void
346finished_cont (void *cls, int32_t success, const char *emsg) 348finished_cont (void *cls, int32_t success, const char *emsg)
347{ 349{
@@ -379,6 +381,7 @@ return_response (void *cls)
379 cleanup_handle (handle); 381 cleanup_handle (handle);
380} 382}
381 383
384
382static void 385static void
383collect_finished_cb (void *cls) 386collect_finished_cb (void *cls)
384{ 387{
@@ -818,6 +821,7 @@ revoke_ticket_cont (struct GNUNET_REST_RequestHandle *con_handle,
818 GNUNET_JSON_parse_free (tktspec); 821 GNUNET_JSON_parse_free (tktspec);
819} 822}
820 823
824
821static void 825static void
822consume_cont (void *cls, 826consume_cont (void *cls,
823 const struct GNUNET_CRYPTO_EcdsaPublicKey *identity, 827 const struct GNUNET_CRYPTO_EcdsaPublicKey *identity,
@@ -850,6 +854,7 @@ consume_cont (void *cls,
850 GNUNET_free (val_str); 854 GNUNET_free (val_str);
851} 855}
852 856
857
853static void 858static void
854consume_ticket_cont (struct GNUNET_REST_RequestHandle *con_handle, 859consume_ticket_cont (struct GNUNET_REST_RequestHandle *con_handle,
855 const char *url, 860 const char *url,
@@ -943,6 +948,7 @@ options_cont (struct GNUNET_REST_RequestHandle *con_handle,
943 return; 948 return;
944} 949}
945 950
951
946/** 952/**
947 * Handle rest request 953 * Handle rest request
948 * 954 *
@@ -982,6 +988,7 @@ init_cont (struct RequestHandle *handle)
982 } 988 }
983} 989}
984 990
991
985/** 992/**
986 * If listing is enabled, prints information about the egos. 993 * If listing is enabled, prints information about the egos.
987 * 994 *
@@ -1044,6 +1051,7 @@ list_ego (void *cls,
1044 } 1051 }
1045} 1052}
1046 1053
1054
1047static void 1055static void
1048rest_identity_process_request (struct GNUNET_REST_RequestHandle *rest_handle, 1056rest_identity_process_request (struct GNUNET_REST_RequestHandle *rest_handle,
1049 GNUNET_REST_ResultProcessor proc, 1057 GNUNET_REST_ResultProcessor proc,
@@ -1068,6 +1076,7 @@ rest_identity_process_request (struct GNUNET_REST_RequestHandle *rest_handle,
1068 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Connected\n"); 1076 GNUNET_log (GNUNET_ERROR_TYPE_DEBUG, "Connected\n");
1069} 1077}
1070 1078
1079
1071/** 1080/**
1072 * Entry point for the plugin. 1081 * Entry point for the plugin.
1073 * 1082 *
@@ -1124,4 +1133,5 @@ libgnunet_plugin_rest_reclaim_done (void *cls)
1124 return NULL; 1133 return NULL;
1125} 1134}
1126 1135
1136
1127/* end of plugin_rest_reclaim.c */ 1137/* end of plugin_rest_reclaim.c */