aboutsummaryrefslogtreecommitdiff
path: root/src/dv/dv.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-08-15 21:46:35 +0000
committerChristian Grothoff <christian@grothoff.org>2011-08-15 21:46:35 +0000
commit502af2167f7c218366666ca4944bd7cc54b5b19a (patch)
treea91fec5cc9769d260640bd91c6633cb9cf395524 /src/dv/dv.h
parent03af5a603b7cc53432249d5854cd412aa90dde0d (diff)
downloadgnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.tar.gz
gnunet-502af2167f7c218366666ca4944bd7cc54b5b19a.zip
indentation
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