aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_nat_service.h
diff options
context:
space:
mode:
authort3sserakt <t3ss@posteo.de>2022-12-07 12:47:41 +0100
committert3sserakt <t3ss@posteo.de>2022-12-07 12:47:41 +0100
commitc3793434556c714ee34679ecf6d30de13e0d8758 (patch)
tree548c953ecf6b9e8ba8511830a6a1ddbd9afe8e46 /src/include/gnunet_nat_service.h
parent34e1c58cb39a649c9a4c551681cedf19807b85f0 (diff)
parent6bebc94d2c7b6eac69b84fde39142d008a643d8d (diff)
downloadgnunet-c3793434556c714ee34679ecf6d30de13e0d8758.tar.gz
gnunet-c3793434556c714ee34679ecf6d30de13e0d8758.zip
Merge branch 'master' of ssh://git.gnunet.org/gnunet
Diffstat (limited to 'src/include/gnunet_nat_service.h')
-rw-r--r--src/include/gnunet_nat_service.h7
1 files changed, 7 insertions, 0 deletions
diff --git a/src/include/gnunet_nat_service.h b/src/include/gnunet_nat_service.h
index e39e2c016..f2854a0be 100644
--- a/src/include/gnunet_nat_service.h
+++ b/src/include/gnunet_nat_service.h
@@ -36,6 +36,7 @@
36#ifndef GNUNET_NAT_SERVICE_H 36#ifndef GNUNET_NAT_SERVICE_H
37#define GNUNET_NAT_SERVICE_H 37#define GNUNET_NAT_SERVICE_H
38 38
39
39#include "gnunet_util_lib.h" 40#include "gnunet_util_lib.h"
40 41
41 42
@@ -385,6 +386,12 @@ GNUNET_NAT_request_reversal (struct GNUNET_NAT_Handle *nh,
385 * handle. This frees the handle, after having sent the needed 386 * handle. This frees the handle, after having sent the needed
386 * commands to close open ports. 387 * commands to close open ports.
387 * 388 *
389 * FIXME: No, the implementation of this API does not do anything beyond
390 * cleaning up the handle.
391 * This is a problem for applications that use #GNUNET_NAT_AddressCallback
392 * and use the app_ctx to store objects, because the callback will never be
393 * called for cleanup on unregister.
394 *
388 * @param nh the handle to unregister 395 * @param nh the handle to unregister
389 */ 396 */
390void 397void