From 349ebbd03b3664d1454b780b9f667206dc360aa4 Mon Sep 17 00:00:00 2001 From: Jonas Gunz Date: Sat, 13 Nov 2021 00:17:28 +0100 Subject: implement TCP stub --- src/server.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/server.h') diff --git a/src/server.h b/src/server.h index 3c3b794..2b7ce80 100644 --- a/src/server.h +++ b/src/server.h @@ -41,6 +41,6 @@ void server_start ( server_config_t* _config ); void server_handle_connection ( int _socket, database_t* _zone_db ); -int server_get_socket ( char* _bind_ip, uint16_t _bind_port ); +int server_get_socket ( char* _bind_ip, uint16_t _bind_port, sa_family_t _sock ); void signal_term ( int _sig ); -- cgit v1.2.3