diff options
author | Julius Bünger <buenger@mytum.de> | 2015-01-27 16:09:09 +0000 |
---|---|---|
committer | Julius Bünger <buenger@mytum.de> | 2015-01-27 16:09:09 +0000 |
commit | 00b25f242460ac2c4777ab75a176ebac13e357fc (patch) | |
tree | eb42f9f0a155eac92681650d96aec93b89123a42 /src | |
parent | a02cd5c8e35615551bb8240f2ce744fb5164fe5d (diff) | |
download | gnunet-00b25f242460ac2c4777ab75a176ebac13e357fc.tar.gz gnunet-00b25f242460ac2c4777ab75a176ebac13e357fc.zip |
optical changes
Diffstat (limited to 'src')
-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 | * |