diff options
author | Nathan S. Evans <evans@in.tum.de> | 2010-11-05 18:21:50 +0000 |
---|---|---|
committer | Nathan S. Evans <evans@in.tum.de> | 2010-11-05 18:21:50 +0000 |
commit | 75a33a1499cf60ea4364c9aa673816629a6c1413 (patch) | |
tree | 0620da4312bb04de4d7b65074fdd3b0c3dd6cc0e /src/include/gnunet_nat_lib.h | |
parent | 7217c601ad30760872823193d62307e7a335d226 (diff) | |
download | gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.tar.gz gnunet-75a33a1499cf60ea4364c9aa673816629a6c1413.zip |
big scheduler refactoring, expect some issues
Diffstat (limited to 'src/include/gnunet_nat_lib.h')
-rw-r--r-- | src/include/gnunet_nat_lib.h | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/include/gnunet_nat_lib.h b/src/include/gnunet_nat_lib.h index 9c6e171b6..c1080c586 100644 --- a/src/include/gnunet_nat_lib.h +++ b/src/include/gnunet_nat_lib.h | |||
@@ -57,7 +57,6 @@ 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 sched the sheduler used in the program | ||
61 | * @param addr the local address packets should be redirected to | 60 | * @param addr the local address packets should be redirected to |
62 | * @param addrlen actual lenght of the address | 61 | * @param addrlen actual lenght of the address |
63 | * @param callback function to call everytime the public IP address changes | 62 | * @param callback function to call everytime the public IP address changes |
@@ -65,8 +64,7 @@ struct GNUNET_NAT_Handle; | |||
65 | * @return NULL on error, otherwise handle that can be used to unregister | 64 | * @return NULL on error, otherwise handle that can be used to unregister |
66 | */ | 65 | */ |
67 | struct GNUNET_NAT_Handle * | 66 | struct GNUNET_NAT_Handle * |
68 | GNUNET_NAT_register (struct GNUNET_SCHEDULER_Handle *sched, | 67 | GNUNET_NAT_register (const struct sockaddr *addr, |
69 | const struct sockaddr *addr, | ||
70 | socklen_t addrlen, | 68 | socklen_t addrlen, |
71 | GNUNET_NAT_AddressCallback callback, | 69 | GNUNET_NAT_AddressCallback callback, |
72 | void *callback_cls); | 70 | void *callback_cls); |