5 Author: Pekka Riikonen <priikone@silcnet.org>
7 Copyright (C) 1997 - 2001 Pekka Riikonen
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 2 of the License, or
12 (at your option) any later version.
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
21 This file includes common definitions for SILC. This file MUST be included
22 by all files in SILC (directly or through other global include file).
25 #ifndef SILCINCLUDES_H
26 #define SILCINCLUDES_H
41 #if defined(__EPOC32__)
53 #elif defined(__BEOS__)
67 #if defined(HAVE_SILCDEFS_H)
68 /* Automatically generated configuration header */
70 #endif /* HAVE_SILCDEFS_H */
72 /* Platform specific includes */
74 #if defined(SILC_WIN32)
75 #include "silcwin32.h"
78 #if defined(SILC_EPOC)
82 #if defined(SILC_BEOS)
99 #include <sys/types.h>
100 #include <sys/stat.h>
106 #error signal.h not found in the system
112 #error fcntl.h not found in the system
118 #error errno.h not found in the system
124 #error assert.h not found in the system
127 #if !defined(SILC_WIN32)
130 #include <sys/time.h>
133 #include <sys/times.h>
143 #include <sys/socket.h>
144 #ifdef HAVE_NETINET_IN_H
145 #include <netinet/in.h>
147 #error netinet/in.h not found in the system
153 #ifdef HAVE_NETINET_TCP_H
154 #include <netinet/tcp.h>
156 #error xti.h nor even netinet/tcp.h found in the system
163 #error netdb.h not found in the system
166 #ifdef HAVE_ARPA_INET_H
167 #include <arpa/inet.h>
169 #error arpa/inet.h not found in the system
172 #ifdef HAVE_SYS_MMAN_H
173 #include <sys/mman.h>
190 #ifdef SILC_HAVE_PTHREAD
198 #ifdef HAVE_TERMIOS_H
214 #ifdef HAVE_LANGINFO_H
215 #include <langinfo.h>
218 #endif /* !SILC_WIN32 */
220 #ifndef HAVE_GETOPT_LONG
224 /* Include generic SILC type definitions */
225 #include "silctypes.h"
226 #include "silcversion.h"
228 /* Math library includes */
230 #include "silcmath.h"
232 /* Crypto library includes */
233 #include "silccipher.h"
234 #include "silchash.h"
235 #include "silchmac.h"
237 #include "silcpkcs.h"
239 /* SILC util library includes */
240 #include "silcmutex.h"
241 #include "silcthread.h"
242 #include "silcschedule.h"
243 #include "silchashtable.h"
245 #include "silcmemory.h"
246 #include "silclist.h"
247 #include "silcdlist.h"
248 #include "silcbuffer.h"
249 #include "silcbuffmt.h"
251 #include "silcfileutil.h"
252 #include "silcstrutil.h"
253 #include "silcutil.h"
254 #include "silcconfig.h"
255 #include "silcprotocol.h"
256 #include "silcsockconn.h"
257 #include "silcvcard.h"
258 #include "silcapputil.h"
260 /* SILC core library includes */
261 #include "silcstatus.h"
263 #include "silcidcache.h"
264 #include "silcargument.h"
265 #include "silccommand.h"
266 #include "silcchannel.h"
267 #include "silcpacket.h"
268 #include "silcnotify.h"
269 #include "silcmode.h"
270 #include "silcauth.h"
271 #include "silcprivate.h"
272 #include "silcattrs.h"
273 #include "silcvcard.h"
275 #if defined(SILC_SIM)
276 /* SILC Module library includes */
278 #include "silcsimutil.h"
281 /* SILC Key Exchange library includes */
283 #include "silcske_payload.h"
284 #include "silcske_groups.h"
286 /* SILC SFTP library */
287 #include "silcsftp.h"
288 #include "silcsftp_fs.h"
294 #endif /* SILCINCLUDES_H */