aboutsummaryrefslogtreecommitdiff
path: root/src/dv/dv.h
diff options
context:
space:
mode:
authorNathan S. Evans <evans@in.tum.de>2010-03-12 17:30:49 +0000
committerNathan S. Evans <evans@in.tum.de>2010-03-12 17:30:49 +0000
commit54ce17ec50827d3a905a3cb182ccd3c18bbd3668 (patch)
tree61b35438d97bf9985cf220edb9ae3c2e744d5162 /src/dv/dv.h
parent81b31b0577c1c4e3ddfc736f65d3329b5afad1a9 (diff)
downloadgnunet-54ce17ec50827d3a905a3cb182ccd3c18bbd3668.tar.gz
gnunet-54ce17ec50827d3a905a3cb182ccd3c18bbd3668.zip
wont work because someone made my random heap function unpossible. committing for posterity mostly
Diffstat (limited to 'src/dv/dv.h')
-rw-r--r--src/dv/dv.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/dv/dv.h b/src/dv/dv.h
index 10120a4b0..d43befd70 100644
--- a/src/dv/dv.h
+++ b/src/dv/dv.h
@@ -33,7 +33,8 @@
33 33
34typedef void (*GNUNET_DV_MessageReceivedHandler) (void *cls, 34typedef void (*GNUNET_DV_MessageReceivedHandler) (void *cls,
35 struct GNUNET_PeerIdentity *sender, 35 struct GNUNET_PeerIdentity *sender,
36 struct GNUNET_MessageHeader *msg, 36 char *msg,
37 size_t msg_len,
37 unsigned int distance, 38 unsigned int distance,
38 char *sender_address, 39 char *sender_address,
39 size_t sender_address_len); 40 size_t sender_address_len);
@@ -42,7 +43,8 @@ typedef void (*GNUNET_DV_MessageReceivedHandler) (void *cls,
42 * DV Message, contains a message that was received 43 * DV Message, contains a message that was received
43 * via DV for this peer! 44 * via DV for this peer!
44 * 45 *
45 * Sender address is copied to the end of this struct. 46 * Sender address is copied to the end of this struct,
47 * followed by the actual message received.
46 */ 48 */
47struct GNUNET_DV_MessageReceived 49struct GNUNET_DV_MessageReceived
48{ 50{
@@ -59,7 +61,7 @@ struct GNUNET_DV_MessageReceived
59 /** 61 /**
60 * The message that was sent 62 * The message that was sent
61 */ 63 */
62 struct GNUNET_MessageHeader *msg; 64 size_t msg_len;
63 65
64 /** 66 /**
65 * The distance to the peer that we received the message from 67 * The distance to the peer that we received the message from