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 a1b97809e..c2256fd0a 100644 --- a/src/include/gnunet_hello_lib.h +++ b/src/include/gnunet_hello_lib.h | |||
@@ -520,6 +520,16 @@ GNUNET_HELLO_extract_address (const void *raw, | |||
520 | struct GNUNET_TIME_Absolute *expiration); | 520 | struct GNUNET_TIME_Absolute *expiration); |
521 | 521 | ||
522 | 522 | ||
523 | /** | ||
524 | * Given an address as a string, extract the prefix that identifies | ||
525 | * the communicator offering transmissions to that address. | ||
526 | * | ||
527 | * @param address a peer's address | ||
528 | * @return NULL if the address is mal-formed, otherwise the prefix | ||
529 | */ | ||
530 | char * | ||
531 | GNUNET_HELLO_address_to_prefix (const char *address); | ||
532 | |||
523 | 533 | ||
524 | #if 0 /* keep Emacsens' auto-indent happy */ | 534 | #if 0 /* keep Emacsens' auto-indent happy */ |
525 | { | 535 | { |