aboutsummaryrefslogtreecommitdiff
path: root/src/transport/gnunet-service-transport_plugins.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/transport/gnunet-service-transport_plugins.h')
-rw-r--r--src/transport/gnunet-service-transport_plugins.h7
1 files changed, 3 insertions, 4 deletions
diff --git a/src/transport/gnunet-service-transport_plugins.h b/src/transport/gnunet-service-transport_plugins.h
index 3a49f004f..3cca3ce10 100644
--- a/src/transport/gnunet-service-transport_plugins.h
+++ b/src/transport/gnunet-service-transport_plugins.h
@@ -30,6 +30,7 @@
30#include "gnunet_transport_service.h" 30#include "gnunet_transport_service.h"
31#include "gnunet_transport_plugin.h" 31#include "gnunet_transport_plugin.h"
32#include "gnunet_util_lib.h" 32#include "gnunet_util_lib.h"
33#include "gnunet_hello_lib.h"
33 34
34 35
35/** 36/**
@@ -69,13 +70,11 @@ GST_plugins_find (const char *name);
69 * Convert a given address to a human-readable format. Note that the 70 * Convert a given address to a human-readable format. Note that the
70 * return value will be overwritten on the next call to this function. 71 * return value will be overwritten on the next call to this function.
71 * 72 *
72 * @param name plugin name 73 * @param address address to convert
73 * @param addr binary address in plugin-specific format
74 * @param addrlen number of bytes in 'addr'
75 * @return statically allocated (!) human-readable address 74 * @return statically allocated (!) human-readable address
76 */ 75 */
77const char * 76const char *
78GST_plugins_a2s (const char *name, const void *addr, size_t addrlen); 77GST_plugins_a2s (const struct GNUNET_HELLO_Address *address);
79 78
80 79
81#endif 80#endif