diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2014-06-02 09:40:12 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2014-06-02 09:40:12 +0000 |
commit | 800c3b54ba9a67ad995d6b5c1ecbffe224f4676d (patch) | |
tree | 43347995315ca4cdd5b6d1a8dd2f0e7cf0a71134 /src/include/gnunet_transport_plugin.h | |
parent | da3d84fb0f3e5a681976b53d43275b2d9b401886 (diff) | |
download | gnunet-800c3b54ba9a67ad995d6b5c1ecbffe224f4676d.tar.gz gnunet-800c3b54ba9a67ad995d6b5c1ecbffe224f4676d.zip |
fix semantic for address_to_string
Diffstat (limited to 'src/include/gnunet_transport_plugin.h')
-rw-r--r-- | src/include/gnunet_transport_plugin.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h index 308a3700d..7fc12d4bb 100644 --- a/src/include/gnunet_transport_plugin.h +++ b/src/include/gnunet_transport_plugin.h | |||
@@ -415,12 +415,14 @@ typedef void | |||
415 | * each human-readable address obtained. | 415 | * each human-readable address obtained. |
416 | * | 416 | * |
417 | * @param cls closure | 417 | * @param cls closure |
418 | * @param address one of the names for the host, NULL | 418 | * @param address one of the names for the host, NULL on last callback |
419 | * on the last call to the callback | 419 | * @param res GNUNET_OK if conversion was successful, GNUNET_SYSERR on failure, |
420 | * GNUNET_OK on last callback | ||
420 | */ | 421 | */ |
421 | typedef void | 422 | typedef void |
422 | (*GNUNET_TRANSPORT_AddressStringCallback) (void *cls, | 423 | (*GNUNET_TRANSPORT_AddressStringCallback) (void *cls, |
423 | const char *address); | 424 | const char *address, |
425 | int res); | ||
424 | 426 | ||
425 | 427 | ||
426 | /** | 428 | /** |
@@ -612,9 +614,7 @@ struct GNUNET_TRANSPORT_PluginFunctions | |||
612 | GNUNET_TRANSPORT_QueryKeepaliveFactorFunction query_keepalive_factor; | 614 | GNUNET_TRANSPORT_QueryKeepaliveFactorFunction query_keepalive_factor; |
613 | 615 | ||
614 | /** | 616 | /** |
615 | * Function to pretty-print addresses. NOTE: this function is not | 617 | * Function to pretty-print addresses. |
616 | * yet used by transport-service, but will be used in the future | ||
617 | * once the transport-API has been completed. | ||
618 | */ | 618 | */ |
619 | GNUNET_TRANSPORT_AddressPrettyPrinter address_pretty_printer; | 619 | GNUNET_TRANSPORT_AddressPrettyPrinter address_pretty_printer; |
620 | 620 | ||