aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_hello_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2009-07-12 22:11:16 +0000
committerChristian Grothoff <christian@grothoff.org>2009-07-12 22:11:16 +0000
commit434bd08c383c1128e4c95d84d8e546ced6dfb629 (patch)
treec07689baaa32aa123e3bcc5939c74bde1f2a9b06 /src/include/gnunet_hello_lib.h
parent0764da28f2a3003c208703245b2247432855fc90 (diff)
downloadgnunet-434bd08c383c1128e4c95d84d8e546ced6dfb629.tar.gz
gnunet-434bd08c383c1128e4c95d84d8e546ced6dfb629.zip
transport fixes, hello API extension
Diffstat (limited to 'src/include/gnunet_hello_lib.h')
-rw-r--r--src/include/gnunet_hello_lib.h12
1 files changed, 12 insertions, 0 deletions
diff --git a/src/include/gnunet_hello_lib.h b/src/include/gnunet_hello_lib.h
index 2ba6df6ab..8978890f0 100644
--- a/src/include/gnunet_hello_lib.h
+++ b/src/include/gnunet_hello_lib.h
@@ -195,6 +195,18 @@ GNUNET_HELLO_get_key (const struct GNUNET_HELLO_Message *hello,
195 *publicKey); 195 *publicKey);
196 196
197 197
198/**
199 * Get the peer identity from a HELLO message.
200 *
201 * @param hello the hello message
202 * @param peer where to store the peer's identity
203 * @return GNUNET_SYSERR if the HELLO was malformed
204 */
205int
206GNUNET_HELLO_get_id (const struct GNUNET_HELLO_Message *hello,
207 struct GNUNET_PeerIdentity *peer);
208
209
198 210
199/* ifndef GNUNET_HELLO_LIB_H */ 211/* ifndef GNUNET_HELLO_LIB_H */
200#endif 212#endif