aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/server.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/server.h')
-rw-r--r--src/server.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/server.h b/src/server.h
index 8a46314..11c409b 100644
--- a/src/server.h
+++ b/src/server.h
@@ -1,12 +1,14 @@
#ifndef __SERVER_H__
#define __SERVER_H__
+#include "tcp_server.h"
+
struct settings {
const char *port;
};
struct server {
- int fd;
+ struct tcp_server tcp_server;
};
int server_create(struct server *, const struct settings *);