diff options
author | Christian Grothoff <christian@grothoff.org> | 2017-01-05 21:23:02 +0100 |
---|---|---|
committer | Christian Grothoff <christian@grothoff.org> | 2017-01-05 21:23:02 +0100 |
commit | 1b7f6eea0a06abab9b75b30f021aa6313fccfcd4 (patch) | |
tree | 0d726dbd6650997c22a7c17ce833ce53c23bde9e /src/include/gnunet_nat_service.h | |
parent | 07d7291d64688ecf9ef0bf2b663b10a168d5fff2 (diff) | |
download | gnunet-1b7f6eea0a06abab9b75b30f021aa6313fccfcd4.tar.gz gnunet-1b7f6eea0a06abab9b75b30f021aa6313fccfcd4.zip |
pass section name instead of specific option via IPC
Diffstat (limited to 'src/include/gnunet_nat_service.h')
-rw-r--r-- | src/include/gnunet_nat_service.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/include/gnunet_nat_service.h b/src/include/gnunet_nat_service.h index 0dbc23e74..6b9650306 100644 --- a/src/include/gnunet_nat_service.h +++ b/src/include/gnunet_nat_service.h | |||
@@ -185,8 +185,8 @@ struct GNUNET_NAT_Handle; | |||
185 | * address_callback for any 'plausible' external address. | 185 | * address_callback for any 'plausible' external address. |
186 | * | 186 | * |
187 | * @param cfg configuration to use | 187 | * @param cfg configuration to use |
188 | * @param config_section name of the configuration section for optionsx | ||
188 | * @param proto protocol this is about, IPPROTO_TCP or IPPROTO_UDP | 189 | * @param proto protocol this is about, IPPROTO_TCP or IPPROTO_UDP |
189 | * @param hole_external hostname and port of manually punched hole in NAT, otherwise NULL (or empty string) | ||
190 | * @param num_addrs number of addresses in @a addrs | 190 | * @param num_addrs number of addresses in @a addrs |
191 | * @param addrs list of local addresses packets should be redirected to | 191 | * @param addrs list of local addresses packets should be redirected to |
192 | * @param addrlens actual lengths of the addresses in @a addrs | 192 | * @param addrlens actual lengths of the addresses in @a addrs |
@@ -198,8 +198,8 @@ struct GNUNET_NAT_Handle; | |||
198 | */ | 198 | */ |
199 | struct GNUNET_NAT_Handle * | 199 | struct GNUNET_NAT_Handle * |
200 | GNUNET_NAT_register (const struct GNUNET_CONFIGURATION_Handle *cfg, | 200 | GNUNET_NAT_register (const struct GNUNET_CONFIGURATION_Handle *cfg, |
201 | const char *config_section, | ||
201 | uint8_t proto, | 202 | uint8_t proto, |
202 | const char *hole_external, | ||
203 | unsigned int num_addrs, | 203 | unsigned int num_addrs, |
204 | const struct sockaddr **addrs, | 204 | const struct sockaddr **addrs, |
205 | const socklen_t *addrlens, | 205 | const socklen_t *addrlens, |