aboutsummaryrefslogtreecommitdiff
path: root/src/nat/gnunet-service-nat_mini.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/nat/gnunet-service-nat_mini.h')
-rw-r--r--src/nat/gnunet-service-nat_mini.h20
1 files changed, 10 insertions, 10 deletions
diff --git a/src/nat/gnunet-service-nat_mini.h b/src/nat/gnunet-service-nat_mini.h
index 4b84fb425..031b8e935 100644
--- a/src/nat/gnunet-service-nat_mini.h
+++ b/src/nat/gnunet-service-nat_mini.h
@@ -11,12 +11,12 @@
11 WITHOUT ANY WARRANTY; without even the implied warranty of 11 WITHOUT ANY WARRANTY; without even the implied warranty of
12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 Affero General Public License for more details. 13 Affero General Public License for more details.
14 14
15 You should have received a copy of the GNU Affero General Public License 15 You should have received a copy of the GNU Affero General Public License
16 along with this program. If not, see <http://www.gnu.org/licenses/>. 16 along with this program. If not, see <http://www.gnu.org/licenses/>.
17 17
18 SPDX-License-Identifier: AGPL3.0-or-later 18 SPDX-License-Identifier: AGPL3.0-or-later
19*/ 19 */
20 20
21/** 21/**
22 * @file nat/gnunet-service-nat_mini.c 22 * @file nat/gnunet-service-nat_mini.c
@@ -54,8 +54,8 @@ struct GNUNET_NAT_ExternalHandle;
54 * @return handle for cancellation (can only be used until @a cb is called), NULL on error 54 * @return handle for cancellation (can only be used until @a cb is called), NULL on error
55 */ 55 */
56struct GNUNET_NAT_ExternalHandle * 56struct GNUNET_NAT_ExternalHandle *
57GNUNET_NAT_mini_get_external_ipv4_ (GNUNET_NAT_IPCallback cb, 57GNUNET_NAT_mini_get_external_ipv4_(GNUNET_NAT_IPCallback cb,
58 void *cb_cls); 58 void *cb_cls);
59 59
60 60
61/** 61/**
@@ -64,7 +64,7 @@ GNUNET_NAT_mini_get_external_ipv4_ (GNUNET_NAT_IPCallback cb,
64 * @param eh operation to cancel 64 * @param eh operation to cancel
65 */ 65 */
66void 66void
67GNUNET_NAT_mini_get_external_ipv4_cancel_ (struct GNUNET_NAT_ExternalHandle *eh); 67GNUNET_NAT_mini_get_external_ipv4_cancel_(struct GNUNET_NAT_ExternalHandle *eh);
68 68
69 69
70/** 70/**
@@ -106,10 +106,10 @@ typedef void
106 * @return NULL on error 106 * @return NULL on error
107 */ 107 */
108struct GNUNET_NAT_MiniHandle * 108struct GNUNET_NAT_MiniHandle *
109GNUNET_NAT_mini_map_start (uint16_t port, 109GNUNET_NAT_mini_map_start(uint16_t port,
110 int is_tcp, 110 int is_tcp,
111 GNUNET_NAT_MiniAddressCallback ac, 111 GNUNET_NAT_MiniAddressCallback ac,
112 void *ac_cls); 112 void *ac_cls);
113 113
114 114
115/** 115/**
@@ -121,7 +121,7 @@ GNUNET_NAT_mini_map_start (uint16_t port,
121 * @param mini the handle 121 * @param mini the handle
122 */ 122 */
123void 123void
124GNUNET_NAT_mini_map_stop (struct GNUNET_NAT_MiniHandle *mini); 124GNUNET_NAT_mini_map_stop(struct GNUNET_NAT_MiniHandle *mini);
125 125
126 126
127#endif 127#endif