summaryrefslogtreecommitdiff
path: root/src/connections.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/connections.h')
-rw-r--r--src/connections.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/connections.h b/src/connections.h
deleted file mode 100644
index 1d15b806..00000000
--- a/src/connections.h
+++ /dev/null
@@ -1,20 +0,0 @@
-#ifndef _CONNECTIONS_H_
-#define _CONNECTIONS_H_
-
-#include "settings.h"
-#include "server.h"
-#include "fdevent.h"
-
-LI_API connection* connection_init(server *srv);
-LI_API int connection_reset(server *srv, connection *con);
-LI_API void connections_free(server *srv);
-
-LI_API connection* connection_accept(server *srv, server_socket *srv_sock);
-LI_API int connection_close(server *srv, connection *con);
-
-LI_API int connection_set_state(server *srv, connection *con, connection_state_t state);
-LI_API const char * connection_get_state(connection_state_t state);
-LI_API const char * connection_get_short_state(connection_state_t state);
-LI_API void connection_state_machine(server *srv, connection *con);
-
-#endif