diff options
author | Florian Dold <florian.dold@gmail.com> | 2013-06-26 10:47:53 +0000 |
---|---|---|
committer | Florian Dold <florian.dold@gmail.com> | 2013-06-26 10:47:53 +0000 |
commit | e1ed86ccacfda74f5575ac209091bf8476483ba4 (patch) | |
tree | 728922177cbe4648a3b83584d38261af0ede175d /src/set | |
parent | d7c207b7ac1e1a068db375e8b16092fe5f4be7e4 (diff) | |
download | gnunet-e1ed86ccacfda74f5575ac209091bf8476483ba4.tar.gz gnunet-e1ed86ccacfda74f5575ac209091bf8476483ba4.zip |
comment
Diffstat (limited to 'src/set')
-rw-r--r-- | src/set/gnunet-service-set.h | 8 | ||||
-rw-r--r-- | src/set/gnunet-service-set_union.c | 3 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/set/gnunet-service-set.h b/src/set/gnunet-service-set.h index 712526fa5..86dd0cfc0 100644 --- a/src/set/gnunet-service-set.h +++ b/src/set/gnunet-service-set.h | |||
@@ -258,10 +258,13 @@ struct TunnelContext | |||
258 | 258 | ||
259 | 259 | ||
260 | /** | 260 | /** |
261 | * Configuration of the local peer | 261 | * Configuration of the local peer. |
262 | */ | 262 | */ |
263 | extern const struct GNUNET_CONFIGURATION_Handle *configuration; | 263 | extern const struct GNUNET_CONFIGURATION_Handle *configuration; |
264 | 264 | ||
265 | /** | ||
266 | * Handle to the mesh service. | ||
267 | */ | ||
265 | extern struct GNUNET_MESH_Handle *mesh; | 268 | extern struct GNUNET_MESH_Handle *mesh; |
266 | 269 | ||
267 | 270 | ||
@@ -346,7 +349,8 @@ _GSS_union_operation_destroy (struct UnionEvaluateOperation *eo); | |||
346 | * @param tunnel mesh tunnel | 349 | * @param tunnel mesh tunnel |
347 | * @param tunnel_ctx tunnel context | 350 | * @param tunnel_ctx tunnel context |
348 | * @param mh message to process | 351 | * @param mh message to process |
349 | * @return ??? | 352 | * @return GNUNET_SYSERR if the tunnel should be disconnected, |
353 | * GNUNET_OK otherwise | ||
350 | */ | 354 | */ |
351 | int | 355 | int |
352 | _GSS_union_handle_p2p_message (void *cls, | 356 | _GSS_union_handle_p2p_message (void *cls, |
diff --git a/src/set/gnunet-service-set_union.c b/src/set/gnunet-service-set_union.c index 46b6c2d73..ed29d5d27 100644 --- a/src/set/gnunet-service-set_union.c +++ b/src/set/gnunet-service-set_union.c | |||
@@ -1324,7 +1324,8 @@ _GSS_union_remove (struct GNUNET_SET_ElementMessage *m, struct Set *set) | |||
1324 | * @param tunnel mesh tunnel | 1324 | * @param tunnel mesh tunnel |
1325 | * @param tunnel_ctx tunnel context | 1325 | * @param tunnel_ctx tunnel context |
1326 | * @param mh message to process | 1326 | * @param mh message to process |
1327 | * @return ??? | 1327 | * @return GNUNET_SYSERR if the tunnel should be disconnected, |
1328 | * GNUNET_OK otherwise | ||
1328 | */ | 1329 | */ |
1329 | int | 1330 | int |
1330 | _GSS_union_handle_p2p_message (void *cls, | 1331 | _GSS_union_handle_p2p_message (void *cls, |