aboutsummaryrefslogtreecommitdiff
path: root/src/include
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-04-04 09:43:10 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-04-04 09:43:10 +0000
commitc303b97bd731aef372ec24ebe8b47ee014ada23b (patch)
treeaa287d7443434a9147cfb08fe0caa12e9c8de9e4 /src/include
parented18131bd038617c03e0b3b83e3eb56c31dc3e4a (diff)
downloadgnunet-c303b97bd731aef372ec24ebe8b47ee014ada23b.tar.gz
gnunet-c303b97bd731aef372ec24ebe8b47ee014ada23b.zip
changes for mantis 0002676
Diffstat (limited to 'src/include')
-rw-r--r--src/include/gnunet_hello_lib.h11
-rw-r--r--src/include/gnunet_protocols.h9
2 files changed, 11 insertions, 9 deletions
diff --git a/src/include/gnunet_hello_lib.h b/src/include/gnunet_hello_lib.h
index d62638c14..b60353ee7 100644
--- a/src/include/gnunet_hello_lib.h
+++ b/src/include/gnunet_hello_lib.h
@@ -145,14 +145,15 @@ GNUNET_HELLO_address_get_size (const struct GNUNET_HELLO_Address *address);
145 */ 145 */
146struct GNUNET_HELLO_Message; 146struct GNUNET_HELLO_Message;
147 147
148/** 148
149 * Return HELLO type 149/** Return HELLO type
150 * 150 *
151 * @param h HELLO Message to test 151 * @param h HELLO Message to test
152 * @param GNUNET_MESSAGE_TYPE_HELLO or GNUNET_MESSAGE_TYPE_FRIEND_HELLO or 0 on error 152 * @return GNUNET_YES or GNUNET_NO
153 */ 153 */
154uint16_t 154int
155GNUNET_HELLO_get_type (const struct GNUNET_HELLO_Message *h); 155GNUNET_HELLO_is_friend_only (const struct GNUNET_HELLO_Message *h);
156
156 157
157/** 158/**
158 * Copy the given address information into 159 * Copy the given address information into
diff --git a/src/include/gnunet_protocols.h b/src/include/gnunet_protocols.h
index a012a7c53..7179914af 100644
--- a/src/include/gnunet_protocols.h
+++ b/src/include/gnunet_protocols.h
@@ -107,16 +107,17 @@ extern "C"
107 ******************************************************************************/ 107 ******************************************************************************/
108 108
109/** 109/**
110 * HELLO message used for communicating peer addresses. 110 * Previously used for HELLO messages used for communicating peer addresses.
111 * Managed by libgnunethello. 111 * Managed by libgnunethello.
112 */ 112 */
113#define GNUNET_MESSAGE_TYPE_HELLO 16 113#define GNUNET_MESSAGE_TYPE_HELLO_LEGACY 16
114 114
115/** 115/**
116 * HELLO message used for communicating peer addresses with friends only. 116 * HELLO message with friend only flag used for communicating peer addresses.
117 * Managed by libgnunethello.
117 */ 118 */
118 119
119#define GNUNET_MESSAGE_TYPE_FRIEND_HELLO 17 120#define GNUNET_MESSAGE_TYPE_HELLO 17
120 121
121/******************************************************************************* 122/*******************************************************************************
122 * FRAGMENTATION message types 123 * FRAGMENTATION message types