aboutsummaryrefslogtreecommitdiff
path: root/src/main.h
blob: bf6a495ada648cf7b3cc45c387dc82b82999453e (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
28
29
30
31
32
/*
 * main.h
 * (c) 2019, Jonas Gunz, jonasgunz.de
 * <Description>
 * License: MIT
*/

#pragma once

#include <stdlib.h>
#include <stdio.h>
#include <unistd.h>
#include <sys/types.h>
#include <sys/wait.h>
#include <stdint.h>
#include <errno.h>
#include <string.h>
#include <signal.h>

#include "misc.h"
#include "log.h"
#include "serial.h"
#include "modem.h"
#include "telnet.h"

#define _DEF_MAX_BACKLOG 	20
#define _DEF_PORT 		23
#define _DEF_IP			0
#define _DEF_CONFIG_FILE	"/etc/bbs.conf"

int main(int argc, char* argv[]);