diff options
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 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 | */ | ||
169 | struct GNUNET_TIME_Absolute | ||
170 | GNUNET_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 |