blob: a20dd072708408bf8b51581336b0e2ee19917fc9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
/* main.c
* (c) Jonas Gunz, 2019
* License: MIT
* */
#include <stdio.h>
#include <stdlib.h>
#include <sys/types.h>
#include "log.h"
#include "server.h"
int main(int argc, char* argv[])
{
//CMD line arg parsing goes in here
#ifdef _TEST
run_test();
#else
run_dns_server();
#endif
}
|