From c303b97bd731aef372ec24ebe8b47ee014ada23b Mon Sep 17 00:00:00 2001 From: Matthias Wachs Date: Thu, 4 Apr 2013 09:43:10 +0000 Subject: changes for mantis 0002676 --- src/include/gnunet_hello_lib.h | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) (limited to 'src/include/gnunet_hello_lib.h') 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); */ struct GNUNET_HELLO_Message; -/** - * Return HELLO type + +/** Return HELLO type * * @param h HELLO Message to test - * @param GNUNET_MESSAGE_TYPE_HELLO or GNUNET_MESSAGE_TYPE_FRIEND_HELLO or 0 on error + * @return GNUNET_YES or GNUNET_NO */ -uint16_t -GNUNET_HELLO_get_type (const struct GNUNET_HELLO_Message *h); +int +GNUNET_HELLO_is_friend_only (const struct GNUNET_HELLO_Message *h); + /** * Copy the given address information into -- cgit v1.2.3