diff options
Diffstat (limited to 'src/rps/rps_api.c')
-rw-r--r-- | src/rps/rps_api.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/rps/rps_api.c b/src/rps/rps_api.c index a2cdd0fba..a7edb7334 100644 --- a/src/rps/rps_api.c +++ b/src/rps/rps_api.c | |||
@@ -49,6 +49,7 @@ struct GNUNET_RPS_Handle | |||
49 | struct GNUNET_MQ_Handle *mq; | 49 | struct GNUNET_MQ_Handle *mq; |
50 | }; | 50 | }; |
51 | 51 | ||
52 | |||
52 | /** | 53 | /** |
53 | * Handler to single requests from the client. | 54 | * Handler to single requests from the client. |
54 | */ | 55 | */ |
@@ -75,6 +76,7 @@ struct GNUNET_RPS_Request_Handle | |||
75 | void *ready_cb_cls; | 76 | void *ready_cb_cls; |
76 | }; | 77 | }; |
77 | 78 | ||
79 | |||
78 | /** | 80 | /** |
79 | * Array of Request_Handles. | 81 | * Array of Request_Handles. |
80 | */ | 82 | */ |
@@ -85,6 +87,7 @@ struct GNUNET_RPS_Request_Handle *req_handlers = NULL; | |||
85 | */ | 87 | */ |
86 | unsigned int req_handlers_size = 0; | 88 | unsigned int req_handlers_size = 0; |
87 | 89 | ||
90 | |||
88 | /** | 91 | /** |
89 | * Struct used to pack the callback, its closure (provided by the caller) | 92 | * Struct used to pack the callback, its closure (provided by the caller) |
90 | * and the connection handler to the service to pass it to a callback function. | 93 | * and the connection handler to the service to pass it to a callback function. |
@@ -138,6 +141,7 @@ handle_reply (void *cls, | |||
138 | //GNUNET_CLIENT_disconnect(pack->service_conn); | 141 | //GNUNET_CLIENT_disconnect(pack->service_conn); |
139 | } | 142 | } |
140 | 143 | ||
144 | |||
141 | /** | 145 | /** |
142 | * Error handler for mq. | 146 | * Error handler for mq. |
143 | * | 147 | * |
@@ -182,6 +186,7 @@ GNUNET_RPS_connect (const struct GNUNET_CONFIGURATION_Handle *cfg) | |||
182 | return h; | 186 | return h; |
183 | } | 187 | } |
184 | 188 | ||
189 | |||
185 | /** | 190 | /** |
186 | * Request n random peers. | 191 | * Request n random peers. |
187 | * | 192 | * |