diff options
author | Christian Grothoff <christian@grothoff.org> | 2018-11-23 17:19:53 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2018-11-23 17:19:53 +0100 |
commit | 61787bfa37e0ac5998e01d9c4806600033c19c74 (patch) | |
tree | 1ceb843f63aa076682ebfa2de2250dc32ee65004 /src/include/gnunet_transport_plugin.h | |
parent | 4a3be482811fe8ed1502fea2c12a8449b560a99e (diff) | |
download | gnunet-61787bfa37e0ac5998e01d9c4806600033c19c74.tar.gz gnunet-61787bfa37e0ac5998e01d9c4806600033c19c74.zip |
rename fest: use new libgnunetnt instead of old libgnunetats logic for network type classification
Diffstat (limited to 'src/include/gnunet_transport_plugin.h')
-rw-r--r-- | src/include/gnunet_transport_plugin.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h index 1f7b46baa..d1f8db445 100644 --- a/src/include/gnunet_transport_plugin.h +++ b/src/include/gnunet_transport_plugin.h | |||
@@ -89,7 +89,7 @@ typedef void | |||
89 | (*GNUNET_TRANSPORT_SessionStart) (void *cls, | 89 | (*GNUNET_TRANSPORT_SessionStart) (void *cls, |
90 | const struct GNUNET_HELLO_Address *address, | 90 | const struct GNUNET_HELLO_Address *address, |
91 | struct GNUNET_ATS_Session *session, | 91 | struct GNUNET_ATS_Session *session, |
92 | enum GNUNET_ATS_Network_Type net); | 92 | enum GNUNET_NetworkType net); |
93 | 93 | ||
94 | 94 | ||
95 | /** | 95 | /** |
@@ -131,7 +131,7 @@ typedef struct GNUNET_TIME_Relative | |||
131 | * @param addrlen length of the @a addr | 131 | * @param addrlen length of the @a addr |
132 | * @return type of the network the address belongs to | 132 | * @return type of the network the address belongs to |
133 | */ | 133 | */ |
134 | typedef enum GNUNET_ATS_Network_Type | 134 | typedef enum GNUNET_NetworkType |
135 | (*GNUNET_TRANSPORT_AddressToType) (void *cls, | 135 | (*GNUNET_TRANSPORT_AddressToType) (void *cls, |
136 | const struct sockaddr *addr, | 136 | const struct sockaddr *addr, |
137 | size_t addrlen); | 137 | size_t addrlen); |
@@ -547,7 +547,7 @@ typedef int | |||
547 | * @param session the session | 547 | * @param session the session |
548 | * @return the network type | 548 | * @return the network type |
549 | */ | 549 | */ |
550 | typedef enum GNUNET_ATS_Network_Type | 550 | typedef enum GNUNET_NetworkType |
551 | (*GNUNET_TRANSPORT_GetNetworkType) (void *cls, | 551 | (*GNUNET_TRANSPORT_GetNetworkType) (void *cls, |
552 | struct GNUNET_ATS_Session *session); | 552 | struct GNUNET_ATS_Session *session); |
553 | 553 | ||
@@ -559,7 +559,7 @@ typedef enum GNUNET_ATS_Network_Type | |||
559 | * @param address the address | 559 | * @param address the address |
560 | * @return the network type | 560 | * @return the network type |
561 | */ | 561 | */ |
562 | typedef enum GNUNET_ATS_Network_Type | 562 | typedef enum GNUNET_NetworkType |
563 | (*GNUNET_TRANSPORT_GetNetworkTypeForAddress) (void *cls, | 563 | (*GNUNET_TRANSPORT_GetNetworkTypeForAddress) (void *cls, |
564 | const struct GNUNET_HELLO_Address *address); | 564 | const struct GNUNET_HELLO_Address *address); |
565 | 565 | ||