aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_transport_plugin.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_transport_plugin.h')
-rw-r--r--src/include/gnunet_transport_plugin.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h
index 17333551c..90d6ed2c6 100644
--- a/src/include/gnunet_transport_plugin.h
+++ b/src/include/gnunet_transport_plugin.h
@@ -120,15 +120,15 @@ typedef struct GNUNET_TIME_Relative
120 120
121 121
122/** 122/**
123 * Function that will be called to figure if an address is an loopback, 123 * Function that will be called to figure if an address is an
124 * LAN, WAN etc. address 124 * loopback, LAN, WAN etc. address
125 * 125 *
126 * @param cls closure 126 * @param cls closure
127 * @param addr binary address 127 * @param addr binary address
128 * @param addrlen length of the @a addr 128 * @param addrlen length of the @a addr
129 * @return ATS Information containing the network type 129 * @return type of the network the address belongs to
130 */ 130 */
131typedef struct GNUNET_ATS_Information 131typedef enum GNUNET_ATS_Network_Type
132(*GNUNET_TRANSPORT_AddressToType) (void *cls, 132(*GNUNET_TRANSPORT_AddressToType) (void *cls,
133 const struct sockaddr *addr, 133 const struct sockaddr *addr,
134 size_t addrlen); 134 size_t addrlen);