diff options
author | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-10 07:48:41 +0000 |
---|---|---|
committer | Matthias Wachs <wachs@net.in.tum.de> | 2013-07-10 07:48:41 +0000 |
commit | f3ddecf43857f42021779f826a2973e6ca7c289e (patch) | |
tree | d9aabacff61ac6692559ba0066dc6e49f53938d7 /src/include/gnunet_transport_plugin.h | |
parent | 6b8400966a5e6c2194785b3a33f91b748cfa7b7b (diff) | |
download | gnunet-f3ddecf43857f42021779f826a2973e6ca7c289e.tar.gz gnunet-f3ddecf43857f42021779f826a2973e6ca7c289e.zip |
changed return type to enum
added get_network to template
Diffstat (limited to 'src/include/gnunet_transport_plugin.h')
-rw-r--r-- | src/include/gnunet_transport_plugin.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/src/include/gnunet_transport_plugin.h b/src/include/gnunet_transport_plugin.h index 025b3f8ad..6db3c560a 100644 --- a/src/include/gnunet_transport_plugin.h +++ b/src/include/gnunet_transport_plugin.h | |||
@@ -35,6 +35,7 @@ | |||
35 | #include "gnunet_scheduler_lib.h" | 35 | #include "gnunet_scheduler_lib.h" |
36 | #include "gnunet_statistics_service.h" | 36 | #include "gnunet_statistics_service.h" |
37 | #include "gnunet_transport_service.h" | 37 | #include "gnunet_transport_service.h" |
38 | #include "gnunet_ats_service.h" | ||
38 | 39 | ||
39 | /** | 40 | /** |
40 | * Opaque pointer that plugins can use to distinguish specific | 41 | * Opaque pointer that plugins can use to distinguish specific |
@@ -498,9 +499,9 @@ typedef int (*GNUNET_TRANSPORT_StringToAddress) (void *cls, | |||
498 | * | 499 | * |
499 | * @param cls closure ('struct Plugin*') | 500 | * @param cls closure ('struct Plugin*') |
500 | * @param session the session | 501 | * @param session the session |
501 | * @return the network type in HBO or GNUNET_SYSERR | 502 | * @return the network type |
502 | */ | 503 | */ |
503 | typedef int (*GNUNET_TRANSPORT_GetNetworkType) (void *cls, | 504 | typedef enum GNUNET_ATS_Network_Type (*GNUNET_TRANSPORT_GetNetworkType) (void *cls, |
504 | void *session); | 505 | void *session); |
505 | 506 | ||
506 | 507 | ||