diff options
Diffstat (limited to 'src/transport/plugin_transport_wlan.c')
-rw-r--r-- | src/transport/plugin_transport_wlan.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/transport/plugin_transport_wlan.c b/src/transport/plugin_transport_wlan.c index 13d2ca466..e34143c59 100644 --- a/src/transport/plugin_transport_wlan.c +++ b/src/transport/plugin_transport_wlan.c | |||
@@ -126,9 +126,9 @@ typedef int | |||
126 | * Which network scope do we belong to? | 126 | * Which network scope do we belong to? |
127 | */ | 127 | */ |
128 | #if BUILD_WLAN | 128 | #if BUILD_WLAN |
129 | static const enum GNUNET_ATS_Network_Type scope = GNUNET_ATS_NET_WLAN; | 129 | static const enum GNUNET_NetworkType scope = GNUNET_NT_WLAN; |
130 | #else | 130 | #else |
131 | static const enum GNUNET_ATS_Network_Type scope = GNUNET_ATS_NET_BT; | 131 | static const enum GNUNET_NetworkType scope = GNUNET_NT_BT; |
132 | #endif | 132 | #endif |
133 | 133 | ||
134 | 134 | ||
@@ -1297,14 +1297,14 @@ create_macendpoint (struct Plugin *plugin, | |||
1297 | * @param session the session | 1297 | * @param session the session |
1298 | * @return the network type in HBO or #GNUNET_SYSERR | 1298 | * @return the network type in HBO or #GNUNET_SYSERR |
1299 | */ | 1299 | */ |
1300 | static enum GNUNET_ATS_Network_Type | 1300 | static enum GNUNET_NetworkType |
1301 | wlan_plugin_get_network (void *cls, | 1301 | wlan_plugin_get_network (void *cls, |
1302 | struct GNUNET_ATS_Session *session) | 1302 | struct GNUNET_ATS_Session *session) |
1303 | { | 1303 | { |
1304 | #if BUILD_WLAN | 1304 | #if BUILD_WLAN |
1305 | return GNUNET_ATS_NET_WLAN; | 1305 | return GNUNET_NT_WLAN; |
1306 | #else | 1306 | #else |
1307 | return GNUNET_ATS_NET_BT; | 1307 | return GNUNET_NT_BT; |
1308 | #endif | 1308 | #endif |
1309 | } | 1309 | } |
1310 | 1310 | ||
@@ -1316,14 +1316,14 @@ wlan_plugin_get_network (void *cls, | |||
1316 | * @param address the address | 1316 | * @param address the address |
1317 | * @return the network type | 1317 | * @return the network type |
1318 | */ | 1318 | */ |
1319 | static enum GNUNET_ATS_Network_Type | 1319 | static enum GNUNET_NetworkType |
1320 | wlan_plugin_get_network_for_address (void *cls, | 1320 | wlan_plugin_get_network_for_address (void *cls, |
1321 | const struct GNUNET_HELLO_Address *address) | 1321 | const struct GNUNET_HELLO_Address *address) |
1322 | { | 1322 | { |
1323 | #if BUILD_WLAN | 1323 | #if BUILD_WLAN |
1324 | return GNUNET_ATS_NET_WLAN; | 1324 | return GNUNET_NT_WLAN; |
1325 | #else | 1325 | #else |
1326 | return GNUNET_ATS_NET_BT; | 1326 | return GNUNET_NT_BT; |
1327 | #endif | 1327 | #endif |
1328 | } | 1328 | } |
1329 | 1329 | ||