diff options
Diffstat (limited to 'src/include/gnunet_transport_address_service.h')
-rw-r--r-- | src/include/gnunet_transport_address_service.h | 15 |
1 files changed, 9 insertions, 6 deletions
diff --git a/src/include/gnunet_transport_address_service.h b/src/include/gnunet_transport_address_service.h index 9f0717d00..b33a11411 100644 --- a/src/include/gnunet_transport_address_service.h +++ b/src/include/gnunet_transport_address_service.h | |||
@@ -21,6 +21,9 @@ | |||
21 | /** | 21 | /** |
22 | * @author Christian Grothoff | 22 | * @author Christian Grothoff |
23 | * | 23 | * |
24 | * @deprecated NOTE: we may want to drop this API and | ||
25 | * only keep the gnunet_transport_application_service.h in the future! | ||
26 | * | ||
24 | * @file | 27 | * @file |
25 | * Provide addresses to transport for validation | 28 | * Provide addresses to transport for validation |
26 | * | 29 | * |
@@ -36,9 +39,8 @@ | |||
36 | #define GNUNET_TRANSPORT_ADDRESS_SERVICE_H | 39 | #define GNUNET_TRANSPORT_ADDRESS_SERVICE_H |
37 | 40 | ||
38 | #ifdef __cplusplus | 41 | #ifdef __cplusplus |
39 | extern "C" | 42 | extern "C" { |
40 | { | 43 | #if 0 /* keep Emacsens' auto-indent happy */ |
41 | #if 0 /* keep Emacsens' auto-indent happy */ | ||
42 | } | 44 | } |
43 | #endif | 45 | #endif |
44 | #endif | 46 | #endif |
@@ -65,7 +67,8 @@ struct GNUNET_TRANSPORT_AddressHandle; | |||
65 | * @return NULL on error | 67 | * @return NULL on error |
66 | */ | 68 | */ |
67 | struct GNUNET_TRANSPORT_AddressHandle * | 69 | struct GNUNET_TRANSPORT_AddressHandle * |
68 | GNUNET_TRANSPORT_address_connect (const struct GNUNET_CONFIGURATION_Handle *cfg); | 70 | GNUNET_TRANSPORT_address_connect ( |
71 | const struct GNUNET_CONFIGURATION_Handle *cfg); | ||
69 | 72 | ||
70 | 73 | ||
71 | /** | 74 | /** |
@@ -101,7 +104,7 @@ GNUNET_TRANSPORT_address_try (struct GNUNET_TRANSPORT_AddressHandle *ch, | |||
101 | const size_t raw_size); | 104 | const size_t raw_size); |
102 | 105 | ||
103 | 106 | ||
104 | #if 0 /* keep Emacsens' auto-indent happy */ | 107 | #if 0 /* keep Emacsens' auto-indent happy */ |
105 | { | 108 | { |
106 | #endif | 109 | #endif |
107 | #ifdef __cplusplus | 110 | #ifdef __cplusplus |
@@ -111,6 +114,6 @@ GNUNET_TRANSPORT_address_try (struct GNUNET_TRANSPORT_AddressHandle *ch, | |||
111 | /* ifndef GNUNET_TRANSPORT_ADDRESS_SERVICE_H */ | 114 | /* ifndef GNUNET_TRANSPORT_ADDRESS_SERVICE_H */ |
112 | #endif | 115 | #endif |
113 | 116 | ||
114 | /** @} */ /* end of group */ | 117 | /** @} */ /* end of group */ |
115 | 118 | ||
116 | /* end of gnunet_transport_address_service.h */ | 119 | /* end of gnunet_transport_address_service.h */ |