aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_hello_lib.h
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2011-09-27 14:20:12 +0000
committerChristian Grothoff <christian@grothoff.org>2011-09-27 14:20:12 +0000
commitfb6d4c04a9db33e63a2ce238732c7cfc6df4c798 (patch)
tree676495f2c2e1005518b941a467005bcb49ba73cb /src/include/gnunet_hello_lib.h
parent363ce5239bd63abd18643b1a7b4b0523683d36e7 (diff)
downloadgnunet-fb6d4c04a9db33e63a2ce238732c7cfc6df4c798.tar.gz
gnunet-fb6d4c04a9db33e63a2ce238732c7cfc6df4c798.zip
helper
Diffstat (limited to 'src/include/gnunet_hello_lib.h')
-rw-r--r--src/include/gnunet_hello_lib.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_hello_lib.h b/src/include/gnunet_hello_lib.h
index 0ec1be7d1..7f5e5fee0 100644
--- a/src/include/gnunet_hello_lib.h
+++ b/src/include/gnunet_hello_lib.h
@@ -161,6 +161,16 @@ typedef int (*GNUNET_HELLO_AddressIterator) (void *cls, const char *tname,
161 161
162 162
163/** 163/**
164 * When does the last address in the given HELLO expire?
165 *
166 * @param msg HELLO to inspect
167 * @return time the last address expires, 0 if there are no addresses in the HELLO
168 */
169struct GNUNET_TIME_Absolute
170GNUNET_HELLO_get_last_expiration (const struct GNUNET_HELLO_Message *msg);
171
172
173/**
164 * Iterate over all of the addresses in the HELLO. 174 * Iterate over all of the addresses in the HELLO.
165 * 175 *
166 * @param msg HELLO to iterate over; client does not need to 176 * @param msg HELLO to iterate over; client does not need to