diff options
Diffstat (limited to '')
-rw-r--r-- | src/server_socket.h | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/src/server_socket.h b/src/server_socket.h index e5777f7b3..7caa4bbf2 100644 --- a/src/server_socket.h +++ b/src/server_socket.h @@ -44,6 +44,14 @@ void server_socket_close(struct server_socket *ss); /** + * Add a socket descriptor that is accepting connections. After this + * has been called, don't call server_socket_open(), because the + * socket is already open. + */ +bool +server_socket_add_fd(struct server_socket *ss, int fd, GError **error_r); + +/** * Add a listener on a port on all interfaces. * * @param port the TCP port |