aboutsummaryrefslogtreecommitdiff
path: root/src/server.h
diff options
context:
space:
mode:
authorGravatar Jonas Gunz <himself@jonasgunz.de> 2021-04-30 23:27:11 +0200
committerGravatar Jonas Gunz <himself@jonasgunz.de> 2021-04-30 23:27:11 +0200
commitbd8e73aad283611c096f07e0fc16aa4985f9f2eb (patch)
tree9ce9d9d41387a62dd4cc3b88669a991244d7b8b7 /src/server.h
parentba7c93085b419d1453dfb722b570245c4a725c83 (diff)
downloaddns-bd8e73aad283611c096f07e0fc16aa4985f9f2eb.tar.gz
implemented database
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 d59eba6..7f74088 100644
--- a/src/server.h
+++ b/src/server.h
@@ -22,6 +22,7 @@
#include "dns.h"
#include "log.h"
+#include "database.h"
#define UDP_BUFFER_LEN 512
@@ -38,6 +39,7 @@ int handle_connection ( int _socket,
struct sockaddr_in *sockaddr_client,
socklen_t sockaddr_client_len,
char* _buffer,
- int _bufflen );
+ int _bufflen,
+ struct database* _zone_db );
void signal_term ( );