diff options
Diffstat (limited to 'src/include/gnunet_nat_lib.h')
-rw-r--r-- | src/include/gnunet_nat_lib.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/include/gnunet_nat_lib.h b/src/include/gnunet_nat_lib.h index 6d158930a..14da4e684 100644 --- a/src/include/gnunet_nat_lib.h +++ b/src/include/gnunet_nat_lib.h | |||
@@ -57,6 +57,7 @@ struct GNUNET_NAT_Handle; | |||
57 | * of the local host's addresses should the external port be mapped. The port | 57 | * of the local host's addresses should the external port be mapped. The port |
58 | * is taken from the corresponding sockaddr_in[6] field. | 58 | * is taken from the corresponding sockaddr_in[6] field. |
59 | * | 59 | * |
60 | * @param cfg configuration to use | ||
60 | * @param addr the local address packets should be redirected to | 61 | * @param addr the local address packets should be redirected to |
61 | * @param addrlen actual lenght of the address | 62 | * @param addrlen actual lenght of the address |
62 | * @param callback function to call everytime the public IP address changes | 63 | * @param callback function to call everytime the public IP address changes |
@@ -64,7 +65,8 @@ struct GNUNET_NAT_Handle; | |||
64 | * @return NULL on error, otherwise handle that can be used to unregister | 65 | * @return NULL on error, otherwise handle that can be used to unregister |
65 | */ | 66 | */ |
66 | struct GNUNET_NAT_Handle * | 67 | struct GNUNET_NAT_Handle * |
67 | GNUNET_NAT_register (const struct sockaddr *addr, | 68 | GNUNET_NAT_register (const struct GNUNET_CONFIGURATION_Handle *cfg, |
69 | const struct sockaddr *addr, | ||
68 | socklen_t addrlen, | 70 | socklen_t addrlen, |
69 | GNUNET_NAT_AddressCallback callback, | 71 | GNUNET_NAT_AddressCallback callback, |
70 | void *callback_cls); | 72 | void *callback_cls); |