aboutsummaryrefslogtreecommitdiff
path: root/src/main.c
blob: 848f04e47c219497f1208f8b1b12f208a9caff03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
/* main.c
 * (c) Jonas Gunz, 2019
 * License: MIT
 * */

#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>

#include "log.h"
#include "server.h"

#ifdef _TEST
#include "test.h"
#endif

int main(int argc, char* argv[])
{
	//CMD line arg parsing goes in here
#ifdef _TEST
	run_test();
#else
	run_dns_server();
#endif

}