aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_nat_service.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_nat_service.h')
-rw-r--r--src/include/gnunet_nat_service.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/include/gnunet_nat_service.h b/src/include/gnunet_nat_service.h
index c1e2f0a39..b96b2386e 100644
--- a/src/include/gnunet_nat_service.h
+++ b/src/include/gnunet_nat_service.h
@@ -279,6 +279,8 @@ enum GNUNET_NAT_Type
279 * a function to call whenever our set of 'valid' addresses changes. 279 * a function to call whenever our set of 'valid' addresses changes.
280 * 280 *
281 * @param cls closure 281 * @param cls closure
282 * @param app_ctx[in,out] location where the app can store stuff
283 * on add and retrieve it on remove
282 * @param add_remove #GNUNET_YES to add a new public IP address, 284 * @param add_remove #GNUNET_YES to add a new public IP address,
283 * #GNUNET_NO to remove a previous (now invalid) one 285 * #GNUNET_NO to remove a previous (now invalid) one
284 * @param ac address class the address belongs to 286 * @param ac address class the address belongs to
@@ -287,6 +289,7 @@ enum GNUNET_NAT_Type
287 */ 289 */
288typedef void 290typedef void
289(*GNUNET_NAT_AddressCallback) (void *cls, 291(*GNUNET_NAT_AddressCallback) (void *cls,
292 void **app_ctx,
290 int add_remove, 293 int add_remove,
291 enum GNUNET_NAT_AddressClass ac, 294 enum GNUNET_NAT_AddressClass ac,
292 const struct sockaddr *addr, 295 const struct sockaddr *addr,