aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_server_lib.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_server_lib.h')
-rw-r--r--src/include/gnunet_server_lib.h15
1 files changed, 8 insertions, 7 deletions
diff --git a/src/include/gnunet_server_lib.h b/src/include/gnunet_server_lib.h
index 207f76a44..6b6dac1ac 100644
--- a/src/include/gnunet_server_lib.h
+++ b/src/include/gnunet_server_lib.h
@@ -119,8 +119,8 @@ struct GNUNET_SERVER_MessageHandler
119/** 119/**
120 * Create a new server. 120 * Create a new server.
121 * 121 *
122 * @param access function for access control 122 * @param access_cb function for access control
123 * @param access_cls closure for @a access 123 * @param access_cb_cls closure for @a access_cb
124 * @param lsocks NULL-terminated array of listen sockets 124 * @param lsocks NULL-terminated array of listen sockets
125 * @param idle_timeout after how long should we timeout idle connections? 125 * @param idle_timeout after how long should we timeout idle connections?
126 * @param require_found if #GNUNET_YES, connections sending messages of unknown type 126 * @param require_found if #GNUNET_YES, connections sending messages of unknown type
@@ -129,8 +129,8 @@ struct GNUNET_SERVER_MessageHandler
129 * (typically, "port" already in use) 129 * (typically, "port" already in use)
130 */ 130 */
131struct GNUNET_SERVER_Handle * 131struct GNUNET_SERVER_Handle *
132GNUNET_SERVER_create_with_sockets (GNUNET_CONNECTION_AccessCheck access, 132GNUNET_SERVER_create_with_sockets (GNUNET_CONNECTION_AccessCheck access_cb,
133 void *access_cls, 133 void *access_cb_cls,
134 struct GNUNET_NETWORK_Handle **lsocks, 134 struct GNUNET_NETWORK_Handle **lsocks,
135 struct GNUNET_TIME_Relative idle_timeout, 135 struct GNUNET_TIME_Relative idle_timeout,
136 int require_found); 136 int require_found);
@@ -138,8 +138,8 @@ GNUNET_SERVER_create_with_sockets (GNUNET_CONNECTION_AccessCheck access,
138/** 138/**
139 * Create a new server. 139 * Create a new server.
140 * 140 *
141 * @param access function for access control 141 * @param access_cb function for access control
142 * @param access_cls closure for @a access 142 * @param access_cb_cls closure for @a access_cb
143 * @param server_addr address toes listen on (including port), NULL terminated array 143 * @param server_addr address toes listen on (including port), NULL terminated array
144 * @param socklen lengths of respective @a server_addr 144 * @param socklen lengths of respective @a server_addr
145 * @param idle_timeout after how long should we timeout idle connections? 145 * @param idle_timeout after how long should we timeout idle connections?
@@ -149,7 +149,8 @@ GNUNET_SERVER_create_with_sockets (GNUNET_CONNECTION_AccessCheck access,
149 * (typically, "port" already in use) 149 * (typically, "port" already in use)
150 */ 150 */
151struct GNUNET_SERVER_Handle * 151struct GNUNET_SERVER_Handle *
152GNUNET_SERVER_create (GNUNET_CONNECTION_AccessCheck access, void *access_cls, 152GNUNET_SERVER_create (GNUNET_CONNECTION_AccessCheck access_cb,
153 void *access_cb_cls,
153 struct sockaddr *const *server_addr, 154 struct sockaddr *const *server_addr,
154 const socklen_t * socklen, 155 const socklen_t * socklen,
155 struct GNUNET_TIME_Relative idle_timeout, 156 struct GNUNET_TIME_Relative idle_timeout,