Close client sockets in case of exceptions
[remote/remote-mci.git] / src / remote.h
blob82b3e94b2192b0ffbaf795e4c59d124f588c4e14
1 #ifndef REMOTE_REMOTE_H
2 #define REMOTE_REMOTE_H
4 #ifdef HAVE_CONFIG_H
5 #include "config.h"
6 #endif
8 #include <dirent.h>
9 #include <errno.h>
10 #include <fcntl.h>
11 #include <signal.h>
12 #include <stdio.h>
13 #include <stdarg.h>
14 #include <stdlib.h>
15 #include <time.h>
16 #include <string.h>
17 #include <sys/ioctl.h>
18 #include <sys/poll.h>
19 #include <sys/select.h>
20 #include <sys/signal.h>
21 #include <sys/socket.h>
22 #include <sys/stat.h>
23 #include <sys/time.h>
24 #include <sys/types.h>
25 #include <sys/wait.h>
26 #include <termios.h>
27 #include <unistd.h>
28 #include <netinet/in.h>
29 #include <netinet/tcp.h>
30 #include <netdb.h>
31 #include <arpa/inet.h>
32 #include <syslog.h>
33 #include <libgen.h>
35 #include <exception>
36 #include <string>
37 #include <iostream>
38 #include <fstream>
39 #include <sstream>
40 #include <algorithm>
41 #include <list>
42 #include <map>
44 #include "util/File.h"
45 #include "util/Log.h"
46 #include "util/Config.h"
47 #include "util/error.h"
49 using namespace remote::util;
51 namespace remote {
52 typedef uint32_t dbkey_t;
53 typedef uint8_t result_t;
56 #endif