summaryrefslogtreecommitdiff
path: root/src/hostlist/gnunet-daemon-hostlist.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2010-04-15 16:29:55 +0000
committerChristian Grothoff <christian@grothoff.org>2010-04-15 16:29:55 +0000
commitbf73f35e6102aa4152f6af9e9ae0b3e571edeb1c (patch)
tree857d06c2161dc9dc149e3d9ee7631c2ee5829e28 /src/hostlist/gnunet-daemon-hostlist.h
parent9e328007bd59ec2ac99a198ecbd6cd863fcd27a8 (diff)
downloadgnunet-bf73f35e6102aa4152f6af9e9ae0b3e571edeb1c.tar.gz
gnunet-bf73f35e6102aa4152f6af9e9ae0b3e571edeb1c.zip
cleaning
Diffstat (limited to 'src/hostlist/gnunet-daemon-hostlist.h')
-rw-r--r--src/hostlist/gnunet-daemon-hostlist.h25
1 files changed, 0 insertions, 25 deletions
diff --git a/src/hostlist/gnunet-daemon-hostlist.h b/src/hostlist/gnunet-daemon-hostlist.h
index 7c30344b2..0b185ab7e 100644
--- a/src/hostlist/gnunet-daemon-hostlist.h
+++ b/src/hostlist/gnunet-daemon-hostlist.h
@@ -41,30 +41,5 @@
41 */ 41 */
42#define DEBUG_HOSTLIST GNUNET_NO 42#define DEBUG_HOSTLIST GNUNET_NO
43 43
44/**
45 * A HOSTLIST_ADV message is used to exchange information about
46 * hostlist advertisements. This struct is always
47 * followed by the actual url under which the hostlist can be obtained:
48 *
49 * 1) transport-name (0-terminated)
50 * 2) address-length (uint32_t, network byte order; possibly
51 * unaligned!)
52 * 3) address expiration (GNUNET_TIME_AbsoluteNBO); possibly
53 * unaligned!)
54 * 4) address (address-length bytes; possibly unaligned!)
55 */
56struct GNUNET_HOSTLIST_ADV_Message
57{
58 /**
59 * Type will be GNUNET_MESSAGE_TYPE_HOSTLIST_ADVERTISEMENT.
60 */
61 struct GNUNET_MessageHeader header;
62
63 /**
64 * Always zero (for alignment).
65 */
66 uint32_t reserved GNUNET_PACKED;
67};
68
69 44
70/* end of gnunet-daemon-hostlist.h */ 45/* end of gnunet-daemon-hostlist.h */