diff options
Diffstat (limited to 'src/include/gnunet_hello_lib.h')
-rw-r--r-- | src/include/gnunet_hello_lib.h | 11 |
1 files changed, 6 insertions, 5 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 | */ |
146 | struct GNUNET_HELLO_Message; | 146 | struct 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 | */ |
154 | uint16_t | 154 | int |
155 | GNUNET_HELLO_get_type (const struct GNUNET_HELLO_Message *h); | 155 | GNUNET_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 |