aboutsummaryrefslogtreecommitdiff
path: root/src/dv/dv.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/dv/dv.h')
-rw-r--r--src/dv/dv.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/dv/dv.h b/src/dv/dv.h
index 10b531ced..3c62a22bc 100644
--- a/src/dv/dv.h
+++ b/src/dv/dv.h
@@ -37,8 +37,8 @@
37#define DEBUG_MESSAGE_DROP GNUNET_NO 37#define DEBUG_MESSAGE_DROP GNUNET_NO
38 38
39typedef void (*GNUNET_DV_MessageReceivedHandler) (void *cls, 39typedef void (*GNUNET_DV_MessageReceivedHandler) (void *cls,
40 struct GNUNET_PeerIdentity *sender, 40 struct GNUNET_PeerIdentity *
41 char *msg, 41 sender, char *msg,
42 size_t msg_len, 42 size_t msg_len,
43 uint32_t distance, 43 uint32_t distance,
44 char *sender_address, 44 char *sender_address,
@@ -257,16 +257,17 @@ typedef struct
257} p2p_dv_MESSAGE_Disconnect; 257} p2p_dv_MESSAGE_Disconnect;
258 258
259 259
260struct GNUNET_DV_Handle * 260struct GNUNET_DV_Handle *GNUNET_DV_connect (const struct
261GNUNET_DV_connect (const struct GNUNET_CONFIGURATION_Handle *cfg, 261 GNUNET_CONFIGURATION_Handle *cfg,
262 GNUNET_DV_MessageReceivedHandler receive_handler, 262 GNUNET_DV_MessageReceivedHandler
263 void *receive_handler_cls); 263 receive_handler,
264 void *receive_handler_cls);
264 265
265/** 266/**
266 * Disconnect from the DV service 267 * Disconnect from the DV service
267 * 268 *
268 * @param handle the current handle to the service to disconnect 269 * @param handle the current handle to the service to disconnect
269 */ 270 */
270void GNUNET_DV_disconnect(struct GNUNET_DV_Handle *handle); 271void GNUNET_DV_disconnect (struct GNUNET_DV_Handle *handle);
271 272
272#endif 273#endif