diff options
Diffstat (limited to 'src/include/gnunet_server_lib.h')
-rw-r--r-- | src/include/gnunet_server_lib.h | 10 |
1 files changed, 2 insertions, 8 deletions
diff --git a/src/include/gnunet_server_lib.h b/src/include/gnunet_server_lib.h index 20ed78bab..6f671754d 100644 --- a/src/include/gnunet_server_lib.h +++ b/src/include/gnunet_server_lib.h | |||
@@ -115,7 +115,6 @@ struct GNUNET_SERVER_MessageHandler | |||
115 | /** | 115 | /** |
116 | * Create a new server. | 116 | * Create a new server. |
117 | * | 117 | * |
118 | * @param sched scheduler to use | ||
119 | * @param access function for access control | 118 | * @param access function for access control |
120 | * @param access_cls closure for access | 119 | * @param access_cls closure for access |
121 | * @param lsocks NULL-terminated array of listen sockets | 120 | * @param lsocks NULL-terminated array of listen sockets |
@@ -126,8 +125,7 @@ struct GNUNET_SERVER_MessageHandler | |||
126 | * (typically, "port" already in use) | 125 | * (typically, "port" already in use) |
127 | */ | 126 | */ |
128 | struct GNUNET_SERVER_Handle * | 127 | struct GNUNET_SERVER_Handle * |
129 | GNUNET_SERVER_create_with_sockets (struct GNUNET_SCHEDULER_Handle *sched, | 128 | GNUNET_SERVER_create_with_sockets (GNUNET_CONNECTION_AccessCheck access, void *access_cls, |
130 | GNUNET_CONNECTION_AccessCheck access, void *access_cls, | ||
131 | struct GNUNET_NETWORK_Handle **lsocks, | 129 | struct GNUNET_NETWORK_Handle **lsocks, |
132 | struct GNUNET_TIME_Relative | 130 | struct GNUNET_TIME_Relative |
133 | idle_timeout, | 131 | idle_timeout, |
@@ -136,7 +134,6 @@ GNUNET_SERVER_create_with_sockets (struct GNUNET_SCHEDULER_Handle *sched, | |||
136 | /** | 134 | /** |
137 | * Create a new server. | 135 | * Create a new server. |
138 | * | 136 | * |
139 | * @param sched scheduler to use | ||
140 | * @param access function for access control | 137 | * @param access function for access control |
141 | * @param access_cls closure for access | 138 | * @param access_cls closure for access |
142 | * @param serverAddr address toes listen on (including port), NULL terminated array | 139 | * @param serverAddr address toes listen on (including port), NULL terminated array |
@@ -147,10 +144,7 @@ GNUNET_SERVER_create_with_sockets (struct GNUNET_SCHEDULER_Handle *sched, | |||
147 | * @return handle for the new server, NULL on error | 144 | * @return handle for the new server, NULL on error |
148 | * (typically, "port" already in use) | 145 | * (typically, "port" already in use) |
149 | */ | 146 | */ |
150 | struct GNUNET_SERVER_Handle *GNUNET_SERVER_create (struct | 147 | struct GNUNET_SERVER_Handle *GNUNET_SERVER_create (GNUNET_CONNECTION_AccessCheck |
151 | GNUNET_SCHEDULER_Handle | ||
152 | *sched, | ||
153 | GNUNET_CONNECTION_AccessCheck | ||
154 | access, void *access_cls, | 148 | access, void *access_cls, |
155 | struct sockaddr *const*serverAddr, | 149 | struct sockaddr *const*serverAddr, |
156 | const socklen_t *socklen, | 150 | const socklen_t *socklen, |