diff options
author | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2019-10-31 13:03:48 +0100 |
commit | 7e3cf5f461eb4fbb7581672bf0835da07c378136 (patch) | |
tree | bdc3874b7894242b095b892f1ed3e81a4d4f06c0 /src/reclaim/plugin_rest_reclaim.c | |
parent | 01b480d6d026e0c537dc284a7e7df2c0320a3528 (diff) | |
download | gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.tar.gz gnunet-7e3cf5f461eb4fbb7581672bf0835da07c378136.zip |
tighten formatting rules
Diffstat (limited to 'src/reclaim/plugin_rest_reclaim.c')
-rw-r--r-- | src/reclaim/plugin_rest_reclaim.c | 10 |
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 | |||
290 | static void | 291 | static void |
291 | cleanup_handle_delayed (void *cls) | 292 | cleanup_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 | |||
345 | static void | 347 | static void |
346 | finished_cont (void *cls, int32_t success, const char *emsg) | 348 | finished_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 | |||
382 | static void | 385 | static void |
383 | collect_finished_cb (void *cls) | 386 | collect_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 | |||
821 | static void | 825 | static void |
822 | consume_cont (void *cls, | 826 | consume_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 | |||
853 | static void | 858 | static void |
854 | consume_ticket_cont (struct GNUNET_REST_RequestHandle *con_handle, | 859 | consume_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 | |||
1047 | static void | 1055 | static void |
1048 | rest_identity_process_request (struct GNUNET_REST_RequestHandle *rest_handle, | 1056 | rest_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 */ |