aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_hello_lib.h
diff options
context:
space:
mode:
authorMatthias Wachs <wachs@net.in.tum.de>2013-03-28 15:24:59 +0000
committerMatthias Wachs <wachs@net.in.tum.de>2013-03-28 15:24:59 +0000
commita55b2de0863937cfe9c0fcbf41882b81f4c82c9c (patch)
treea67b31d91012d6333de2541a91fb6c15ce32e22b /src/include/gnunet_hello_lib.h
parentb3883971cd31d198dbd768fffb15960dff0352a6 (diff)
change type
Diffstat (limited to 'src/include/gnunet_hello_lib.h')
-rw-r--r--src/include/gnunet_hello_lib.h17
1 files changed, 8 insertions, 9 deletions
diff --git a/src/include/gnunet_hello_lib.h b/src/include/gnunet_hello_lib.h
index 897b842749..d62638c145 100644
--- a/src/include/gnunet_hello_lib.h
+++ b/src/include/gnunet_hello_lib.h
@@ -83,15 +83,6 @@ struct GNUNET_HELLO_Address
/**
- * Return HELLO type
- *
- * @param h HELLO Message to test
- * @param GNUNET_MESSAGE_TYPE_HELLO or GNUNET_MESSAGE_TYPE_FRIEND_HELLO or 0 on error
- */
-uint16_t
-GNUNET_HELLO_get_type (const struct GNUNET_MessageHeader *h);
-
-/**
* Allocate an address struct.
*
* @param peer the peer
@@ -154,6 +145,14 @@ GNUNET_HELLO_address_get_size (const struct GNUNET_HELLO_Address *address);
*/
struct GNUNET_HELLO_Message;
+/**
+ * Return HELLO type
+ *
+ * @param h HELLO Message to test
+ * @param GNUNET_MESSAGE_TYPE_HELLO or GNUNET_MESSAGE_TYPE_FRIEND_HELLO or 0 on error
+ */
+uint16_t
+GNUNET_HELLO_get_type (const struct GNUNET_HELLO_Message *h);
/**
* Copy the given address information into