summaryrefslogtreecommitdiff
path: root/src/connections.h
diff options
context:
space:
mode:
authorGlenn Strauss <gstrauss@gluelogic.com>2021-01-13 16:14:48 -0500
committerGlenn Strauss <gstrauss@gluelogic.com>2021-01-13 16:14:48 -0500
commitdb1ca2a60f3b19a097363cde0d8e532cdfd2082e (patch)
treed0b216d03e9d6d1410a2d2bb6367aafefa789ed2 /src/connections.h
parentf0074a7ded08d52b39f3ccc3829a3a830cd16261 (diff)
downloadlighttpd-git-db1ca2a60f3b19a097363cde0d8e532cdfd2082e.tar.gz
[core] add decls in connections.h
Diffstat (limited to 'src/connections.h')
-rw-r--r--src/connections.h8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/connections.h b/src/connections.h
index 030ac6b9..9a3ef98d 100644
--- a/src/connections.h
+++ b/src/connections.h
@@ -2,7 +2,9 @@
#define _CONNECTIONS_H_
#include "first.h"
-#include "base.h"
+#include "base_decls.h"
+
+struct server_socket; /* declaration */
__attribute_cold__
void connections_free(server *srv);
@@ -14,8 +16,8 @@ void connection_periodic_maint (server *srv, time_t cur_ts);
int connection_send_1xx (request_st *r, connection *con);
-connection * connection_accept(server *srv, server_socket *srv_sock);
-connection * connection_accepted(server *srv, server_socket *srv_socket, sock_addr *cnt_addr, int cnt);
+connection * connection_accept(server *srv, struct server_socket *srv_sock);
+connection * connection_accepted(server *srv, struct server_socket *srv_socket, sock_addr *cnt_addr, int cnt);
void connection_state_machine(connection *con);