diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-09-27 14:20:12 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-09-27 14:20:12 +0000 |
commit | fb6d4c04a9db33e63a2ce238732c7cfc6df4c798 (patch) | |
tree | 676495f2c2e1005518b941a467005bcb49ba73cb /src/include/gnunet_hello_lib.h | |
parent | 363ce5239bd63abd18643b1a7b4b0523683d36e7 (diff) |
helper
Diffstat (limited to 'src/include/gnunet_hello_lib.h')
-rw-r--r-- | src/include/gnunet_hello_lib.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/include/gnunet_hello_lib.h b/src/include/gnunet_hello_lib.h index 0ec1be7d12..7f5e5fee0b 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, /** + * When does the last address in the given HELLO expire? + * + * @param msg HELLO to inspect + * @return time the last address expires, 0 if there are no addresses in the HELLO + */ +struct GNUNET_TIME_Absolute +GNUNET_HELLO_get_last_expiration (const struct GNUNET_HELLO_Message *msg); + + +/** * Iterate over all of the addresses in the HELLO. * * @param msg HELLO to iterate over; client does not need to |