diff options
Diffstat (limited to 'src/include/gnunet_nat_lib.h')
-rw-r--r-- | src/include/gnunet_nat_lib.h | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/include/gnunet_nat_lib.h b/src/include/gnunet_nat_lib.h index c521a560c..6c1db8043 100644 --- a/src/include/gnunet_nat_lib.h +++ b/src/include/gnunet_nat_lib.h | |||
@@ -84,7 +84,7 @@ struct GNUNET_NAT_Handle; | |||
84 | * @param reversal_callback function to call if someone wants connection reversal from us, | 84 | * @param reversal_callback function to call if someone wants connection reversal from us, |
85 | * NULL if connection reversal is not supported | 85 | * NULL if connection reversal is not supported |
86 | * @param callback_cls closure for callback | 86 | * @param callback_cls closure for callback |
87 | * @return NULL on error, otherwise handle that can be used to unregister | 87 | * @return NULL on error, otherwise handle that can be used to unregister |
88 | */ | 88 | */ |
89 | struct GNUNET_NAT_Handle * | 89 | struct GNUNET_NAT_Handle * |
90 | GNUNET_NAT_register (const struct GNUNET_CONFIGURATION_Handle *cfg, int is_tcp, | 90 | GNUNET_NAT_register (const struct GNUNET_CONFIGURATION_Handle *cfg, int is_tcp, |
@@ -145,7 +145,7 @@ struct GNUNET_NAT_Test; | |||
145 | * | 145 | * |
146 | * @param cls closure | 146 | * @param cls closure |
147 | * @param success GNUNET_OK on success, GNUNET_NO on failure, | 147 | * @param success GNUNET_OK on success, GNUNET_NO on failure, |
148 | * GNUNET_SYSERR if the test could not be | 148 | * GNUNET_SYSERR if the test could not be |
149 | * properly started (internal failure) | 149 | * properly started (internal failure) |
150 | */ | 150 | */ |
151 | typedef void (*GNUNET_NAT_TestCallback) (void *cls, int success); | 151 | typedef void (*GNUNET_NAT_TestCallback) (void *cls, int success); |
@@ -227,7 +227,7 @@ struct GNUNET_NAT_MiniHandle; | |||
227 | * general-purpose 'GNUNET_NAT_register' code). However, it can be | 227 | * general-purpose 'GNUNET_NAT_register' code). However, it can be |
228 | * used if specifically UPnP-based NAT traversal is to be used or | 228 | * used if specifically UPnP-based NAT traversal is to be used or |
229 | * tested. | 229 | * tested. |
230 | * | 230 | * |
231 | * @param port port to map | 231 | * @param port port to map |
232 | * @param is_tcp GNUNET_YES to map TCP, GNUNET_NO for UDP | 232 | * @param is_tcp GNUNET_YES to map TCP, GNUNET_NO for UDP |
233 | * @param ac function to call with mapping result | 233 | * @param ac function to call with mapping result |
@@ -244,7 +244,7 @@ GNUNET_NAT_mini_map_start (uint16_t port, int is_tcp, | |||
244 | * this function will give 'upnpc' 1s to remove tha mapping, | 244 | * this function will give 'upnpc' 1s to remove tha mapping, |
245 | * so while this function is non-blocking, a task will be | 245 | * so while this function is non-blocking, a task will be |
246 | * left with the scheduler for up to 1s past this call. | 246 | * left with the scheduler for up to 1s past this call. |
247 | * | 247 | * |
248 | * @param mini the handle | 248 | * @param mini the handle |
249 | */ | 249 | */ |
250 | void | 250 | void |