diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-28 15:24:59 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-03-28 15:24:59 +0000 |
commit | a55b2de0863937cfe9c0fcbf41882b81f4c82c9c (patch) | |
tree | a67b31d91012d6333de2541a91fb6c15ce32e22b /src/include/gnunet_hello_lib.h | |
parent | b3883971cd31d198dbd768fffb15960dff0352a6 (diff) | |
download | gnunet-a55b2de0863937cfe9c0fcbf41882b81f4c82c9c.tar.gz gnunet-a55b2de0863937cfe9c0fcbf41882b81f4c82c9c.zip |
change type
Diffstat (limited to 'src/include/gnunet_hello_lib.h')
-rw-r--r-- | src/include/gnunet_hello_lib.h | 17 |
1 files changed, 8 insertions, 9 deletions
diff --git a/src/include/gnunet_hello_lib.h b/src/include/gnunet_hello_lib.h index 897b84274..d62638c14 100644 --- a/src/include/gnunet_hello_lib.h +++ b/src/include/gnunet_hello_lib.h | |||
@@ -83,15 +83,6 @@ struct GNUNET_HELLO_Address | |||
83 | 83 | ||
84 | 84 | ||
85 | /** | 85 | /** |
86 | * Return HELLO type | ||
87 | * | ||
88 | * @param h HELLO Message to test | ||
89 | * @param GNUNET_MESSAGE_TYPE_HELLO or GNUNET_MESSAGE_TYPE_FRIEND_HELLO or 0 on error | ||
90 | */ | ||
91 | uint16_t | ||
92 | GNUNET_HELLO_get_type (const struct GNUNET_MessageHeader *h); | ||
93 | |||
94 | /** | ||
95 | * Allocate an address struct. | 86 | * Allocate an address struct. |
96 | * | 87 | * |
97 | * @param peer the peer | 88 | * @param peer the peer |
@@ -154,6 +145,14 @@ GNUNET_HELLO_address_get_size (const struct GNUNET_HELLO_Address *address); | |||
154 | */ | 145 | */ |
155 | struct GNUNET_HELLO_Message; | 146 | struct GNUNET_HELLO_Message; |
156 | 147 | ||
148 | /** | ||
149 | * Return HELLO type | ||
150 | * | ||
151 | * @param h HELLO Message to test | ||
152 | * @param GNUNET_MESSAGE_TYPE_HELLO or GNUNET_MESSAGE_TYPE_FRIEND_HELLO or 0 on error | ||
153 | */ | ||
154 | uint16_t | ||
155 | GNUNET_HELLO_get_type (const struct GNUNET_HELLO_Message *h); | ||
157 | 156 | ||
158 | /** | 157 | /** |
159 | * Copy the given address information into | 158 | * Copy the given address information into |