diff options
author | Christian Grothoff <christian@grothoff.org> | 2011-08-09 12:14:07 +0000 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2011-08-09 12:14:07 +0000 |
commit | 0161f8866803dea997e6551eb5037bde8e927306 (patch) | |
tree | e61102b109d85a2de6f3650c3b76bd4775e03c6b /src/include | |
parent | 0ddd9f461fec75570186bd8fb7c239307dce7269 (diff) | |
download | gnunet-0161f8866803dea997e6551eb5037bde8e927306.tar.gz gnunet-0161f8866803dea997e6551eb5037bde8e927306.zip |
docu
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/gnunet_hello_lib.h | 1 | ||||
-rw-r--r-- | src/include/gnunet_transport_service.h | 10 |
2 files changed, 8 insertions, 3 deletions
diff --git a/src/include/gnunet_hello_lib.h b/src/include/gnunet_hello_lib.h index c56289286..f1b67121e 100644 --- a/src/include/gnunet_hello_lib.h +++ b/src/include/gnunet_hello_lib.h | |||
@@ -174,6 +174,7 @@ typedef int | |||
174 | * otherwise NULL will be returned | 174 | * otherwise NULL will be returned |
175 | * @param it iterator to call on each address | 175 | * @param it iterator to call on each address |
176 | * @param it_cls closure for it | 176 | * @param it_cls closure for it |
177 | * @return the modified HELLO or NULL | ||
177 | */ | 178 | */ |
178 | struct GNUNET_HELLO_Message *GNUNET_HELLO_iterate_addresses (const struct | 179 | struct GNUNET_HELLO_Message *GNUNET_HELLO_iterate_addresses (const struct |
179 | GNUNET_HELLO_Message | 180 | GNUNET_HELLO_Message |
diff --git a/src/include/gnunet_transport_service.h b/src/include/gnunet_transport_service.h index 24b9e90af..0e17a0135 100644 --- a/src/include/gnunet_transport_service.h +++ b/src/include/gnunet_transport_service.h | |||
@@ -640,13 +640,15 @@ GNUNET_TRANSPORT_address_lookup (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
640 | const char * address, | 640 | const char * address, |
641 | size_t addressLen, | 641 | size_t addressLen, |
642 | int numeric, | 642 | int numeric, |
643 | const char * nameTrans, | 643 | const char *nameTrans, |
644 | struct GNUNET_TIME_Relative timeout, | 644 | struct GNUNET_TIME_Relative timeout, |
645 | GNUNET_TRANSPORT_AddressLookUpCallback aluc, | 645 | GNUNET_TRANSPORT_AddressLookUpCallback aluc, |
646 | void *aluc_cls); | 646 | void *aluc_cls); |
647 | 647 | ||
648 | |||
648 | /** | 649 | /** |
649 | * Return all the known addresses for a peer. | 650 | * Return all the known addresses for a peer. FIXME: document better! |
651 | * FIXME: use better name! | ||
650 | * | 652 | * |
651 | * @param cfg configuration to use | 653 | * @param cfg configuration to use |
652 | * @param peer peer identity to look up the addresses of | 654 | * @param peer peer identity to look up the addresses of |
@@ -663,7 +665,8 @@ GNUNET_TRANSPORT_peer_address_lookup (const struct GNUNET_CONFIGURATION_Handle * | |||
663 | 665 | ||
664 | 666 | ||
665 | /** | 667 | /** |
666 | * Return all the known addresses for a peer. | 668 | * Return all the known addresses. FIXME: document better! |
669 | * FIXME: use better name! | ||
667 | * | 670 | * |
668 | * @param cfg configuration to use | 671 | * @param cfg configuration to use |
669 | * @param timeout how long is the lookup allowed to take at most | 672 | * @param timeout how long is the lookup allowed to take at most |
@@ -676,6 +679,7 @@ GNUNET_TRANSPORT_address_iterate (const struct GNUNET_CONFIGURATION_Handle *cfg, | |||
676 | GNUNET_TRANSPORT_AddressLookUpCallback peer_address_callback, | 679 | GNUNET_TRANSPORT_AddressLookUpCallback peer_address_callback, |
677 | void *peer_address_callback_cls); | 680 | void *peer_address_callback_cls); |
678 | 681 | ||
682 | |||
679 | /** | 683 | /** |
680 | * Handle for blacklisting peers. | 684 | * Handle for blacklisting peers. |
681 | */ | 685 | */ |