libUTL++
libutl.h
1 #pragma once
2 
3 #include <libutl/host.h>
4 
5 // common headers
6 
7 #include <ctype.h>
8 #include <stdio.h>
9 #include <stdlib.h>
10 #include <string.h>
11 #include <time.h>
12 
13 // UNIX-specific headers
14 
15 #include <errno.h>
16 #include <fcntl.h>
17 #include <signal.h>
18 #include <unistd.h>
19 
20 // STL headers
21 #include <algorithm>
22 #include <atomic>
23 #include <functional>
24 #include <initializer_list>
25 #include <iterator>
26 #include <memory>
27 #include <type_traits>
28 
29 // MINGW doesn't have these headers...
30 
31 #if UTL_HOST_OS != UTL_OS_MINGW
32 #include <sys/socket.h>
33 #include <netinet/in.h>
34 #include <netdb.h>
35 #endif
36 
37 // namespace macros
38 #define UTL_NS_DECLARE \
39  namespace utl \
40  { \
41  }
42 #define UTL_NS_BEGIN \
43  namespace utl \
44  {
45 #define UTL_NS_END }
46 #define UTL_NS_USE using namespace utl;
47 
49 UTL_NS_DECLARE;
50 
51 // libutl headers
52 #include "utl_config.h"
53 #include <libutl/types.h>
54 #include <libutl/macros.h>
55 #include <libutl/ScopeGuard.h>
56 #include <libutl/util.h>
57 #include <libutl/gblnew.h>
58 #include <libutl/RunTimeClass.h>
59 #include <libutl/Object.h>
60 #include <libutl/util_inl.h>