1 /*
2 Copyright 2020, Dirk Krause. All rights reserved.
3 SPDX-License-Identifier:	BSD-3-Clause
4 */
5 
6 /**	@file dk3all.h	Main include file for the dk3 libraries.
7 Applications using the dk3 libraries should include this file.
8 */
9 
10 #ifndef DK3_ALL_H_INCLUDED
11 #define DK3_ALL_H_INCLUDED 1
12 
13 #include "dk3conf.h"
14 
15 #if DK3_HAVE_WINSOCK2_H
16 #if !DK3_WINSOCK2_H_INCLUDED
17 #define DK3_WINSOCK2_H_INCLUDED 1
18 #include <winsock2.h>
19 #endif
20 #endif
21 #if DK3_HAVE_WS2TCPIP_H
22 #include <ws2tcpip.h>
23 #endif
24 #if DK3_HAVE_WINDOWS_H
25 #if !DK3_WINDOWS_H_INCLUDED
26 #define DK3_WINDOWS_H_INCLUDED 1
27 #include <windows.h>
28 #endif
29 #endif
30 #if DK3_HAVE_WINBASE_H
31 #if !DK3_WINBASE_H_INCLUDED
32 #define DK3_WINBASE_H_INCLUDED 1
33 #include <winbase.h>
34 #endif
35 #endif
36 #if DK3_HAVE_WINREG_H
37 #if !DK3_WINREG_H_INCLUDED
38 #define DK3_WINREG_H_INCLUDED 1
39 #include <winreg.h>
40 #endif
41 #endif
42 #if DK3_HAVE_WINCON_H
43 #if !DK3_WINCON_H_INCLUDED
44 #define DK3_WINCON_H_INCLUDED 1
45 #include <wincon.h>
46 #endif
47 #endif
48 #if DK3_HAVE_STDIO_H
49 #include <stdio.h>
50 #endif
51 #if DK3_HAVE_ERR_H
52 #include <err.h>
53 #endif
54 #if DK3_HAVE_SYS_STAT_H
55 #include <sys/stat.h>
56 #endif
57 #if DK3_HAVE_STDLIB_H
58 #include <stdlib.h>
59 #endif
60 #if DK3_HAVE_STDDEF_H
61 #include <stddef.h>
62 #endif
63 #if DK3_HAVE_UNISTD_H
64 #include <unistd.h>
65 #endif
66 #if DK3_HAVE_PROCESS_H
67 #include <process.h>
68 #endif
69 #if DK3_HAVE_LIMITS_H
70 #include <limits.h>
71 #endif
72 #if DK3_HAVE_SYS_PARAM_H
73 #include <sys/param.h>
74 #endif
75 #if DK3_HAVE_SYS_SYSCTL_H
76 #include <sys/sysctl.h>
77 #endif
78 #if DK3_HAVE_SYS_WAIT_H
79 #include <sys/wait.h>
80 #endif
81 #if DK3_HAVE_SYS_STATVFS_H
82 #include <sys/statvfs.h>
83 #endif
84 #if DK3_HAVE_SYS_STROPTS_H
85 #include <sys/stropts.h>
86 #endif
87 #if DK3_HAVE_SYS_FILE_H
88 #include <sys/file.h>
89 #endif
90 #if DK3_HAVE_SYS_UIO_H
91 #include <sys/uio.h>
92 #endif
93 #if DK3_HAVE_SYS_UN_H
94 #include <sys/un.h>
95 #endif
96 #if DK3_HAVE_SYS_SUNDDI_H
97 #include <sys/sunddi.h>
98 #endif
99 #if DK3_HAVE_SYS_RESOURCE_H
100 #include <sys/resource.h>
101 #endif
102 #if DK3_HAVE_SYS_SYSTEMINFO_H
103 #include <sys/systeminfo.h>
104 #endif
105 #if DK3_HAVE_SYS_SOCKET_H
106 #include <sys/socket.h>
107 #endif
108 #if DK3_TIME_WITH_SYS_TIME
109 #include <sys/time.h>
110 #include <time.h>
111 #else
112 #if DK3_HAVE_TIME_H
113 #include <time.h>
114 #else
115 #if DK3_HAVE_SYS_TIME_H
116 #include <sys/time.h>
117 #endif
118 #endif
119 #endif
120 #if DK3_HAVE_ERRNO_H
121 #include <errno.h>
122 #endif
123 #if DK3_HAVE_ALLOC_H
124 #include <alloc.h>
125 #endif
126 #if DK3_HAVE_MALLOC_H
127 #include <malloc.h>
128 #endif
129 #if DK3_HAVE_CTYPE_H
130 #include <ctype.h>
131 #endif
132 #if DK3_HAVE_STRING_H
133 #include <string.h>
134 #endif
135 #if DK3_HAVE_STRINGS_H
136 #include <strings.h>
137 #endif
138 #if DK3_HAVE_WCHAR_H
139 #include <wchar.h>
140 #endif
141 #if DK3_HAVE_STROPTS_H
142 #include <stropts.h>
143 #endif
144 #if DK3_HAVE_IO_H
145 #include <io.h>
146 #endif
147 #if DK3_HAVE_DOS_H
148 #include <dos.h>
149 #endif
150 #if DK3_HAVE_FCNTL_H
151 #include <fcntl.h>
152 #endif
153 #if DK3_HAVE_DIR_H
154 #include <dir.h>
155 #endif
156 #if DK3_HAVE_DIRENT_H
157 #include <dirent.h>
158 #endif
159 #if DK3_HAVE_DIRECT_H
160 #include <direct.h>
161 #endif
162 #if DK3_HAVE_SYSRES_H
163 #include <sysres.h>
164 #endif
165 #if DK3_HAVE_NETINET_IN_H
166 #include <netinet/in.h>
167 #endif
168 #if DK3_HAVE_ARPA_INET_H
169 #include <arpa/inet.h>
170 #endif
171 #if DK3_HAVE_NETDB_H
172 #include <netdb.h>
173 #endif
174 #if DK3_HAVE_GRP_H
175 #include <grp.h>
176 #endif
177 #if DK3_HAVE_PWD_H
178 #include <pwd.h>
179 #endif
180 #if DK3_HAVE_MATH_H
181 #include <math.h>
182 #endif
183 #if DK3_HAVE_SIGNAL_H
184 #include <signal.h>
185 #endif
186 #if DK3_HAVE_SYSLOG_H
187 #include <syslog.h>
188 #endif
189 #if DK3_HAVE_CONIO_H
190 #include <conio.h>
191 #endif
192 #if DK3_HAVE_STDARG_H
193 #include <stdarg.h>
194 #else
195 #if DK3_HAVE_VARARG_H
196 #include <vararg.h>
197 #else
198 #if DK3_HAVE_VARARGS_H
199 #include <varargs.h>
200 #else
201 #endif
202 #endif
203 #endif
204 #if DK3_HAVE_VARARG_H
205 #include <vararg.h>
206 #endif
207 #if DK3_HAVE_STDINT_H
208 #include <stdint.h>
209 #endif
210 #if DK3_HAVE_INTTYPES_H
211 #include <inttypes.h>
212 #endif
213 #if DK3_HAVE_TERMIOS_H
214 #include <termios.h>
215 #endif
216 #if DK3_HAVE_SHADOW_H
217 #include <shadow.h>
218 #endif
219 #if DK3_HAVE_LOCALE_H
220 #include <locale.h>
221 #endif
222 #if DK3_HAVE_SYS_TERMIOS_H
223 #include <sys/termios.h>
224 #endif
225 #if DK3_HAVE_SYS_TTOLD_H
226 #include <sys/ttold.h>
227 #endif
228 #if DK3_HAVE_SETJMP_H
229 #include <setjmp.h>
230 #endif
231 #if DK3_HAVE_PTHREAD_H
232 #include <pthread.h>
233 #endif
234 #if DK3_HAVE_ZLIB_H
235 #include <zlib.h>
236 #endif
237 #if DK3_HAVE_BZLIB_H
238 #include <bzlib.h>
239 #endif
240 
241 #include <libdk3c/dk3types.h>
242 #include <libdk3c/dk3const.h>
243 #include <libdk3c/dk3inst.h>
244 #include <libdk3c/dk3mem.h>
245 #include <libdk3c/dk3bits.h>
246 #include <libdk3c/dk3ct.h>
247 #include <libdk3c/dk3ma.h>
248 #include <libdk3c/dk3dir.h>
249 #include <libdk3c/dk3str.h>
250 #include <libdk3c/dk3signl.h>
251 #include <libdk3c/dk3sf.h>
252 #include <libdk3c/dk3sto.h>
253 #include <libdk3c/dk3enc.h>
254 #include <libdk3c/dk3strm.h>
255 #include <libdk3c/dk3wreg.h>
256 #include <libdk3c/dk3srch.h>
257 #if 0
258 #include <libdk3c/dk3paper.h>
259 #endif
260 #include <libdk3c/dk3bf.h>
261 #if 0
262 #include <libdk3c/dk3uc2l.h>
263 #endif
264 #include <libdk3c/dk3opt.h>
265 #if 0
266 #include <libdk3dbi/dk3dbi.h>
267 #endif
268 #include <libdk3c/dk3ufi.h>
269 #if 0
270 #include <libdk3c/dk3range.h>
271 #endif
272 #include <libdk3c/dk3numco.h>
273 #include <libdk3of/dk3of.h>
274 #include <libdk3c/dk3app.h>
275 #if 0
276 #include <libdk3csrnd/dk3chks.h>
277 #endif
278 
279 #endif
280 /* ifndef DK3_ALL_H_INCLUDED */
281 
282