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__)
68 #define SILC_SIZEOF_LONG_LONG @SILC_SIZEOF_LONG_LONG@
69 #define SILC_SIZEOF_LONG @SILC_SIZEOF_LONG@
70 #define SILC_SIZEOF_INT @SILC_SIZEOF_INT@
71 #define SILC_SIZEOF_SHORT @SILC_SIZEOF_SHORT@
72 #define SILC_SIZEOF_CHAR @SILC_SIZEOF_CHAR@
73 #define SILC_SIZEOF_VOID_P @SILC_SIZEOF_VOID_P@
75 #if defined(HAVE_SILCDEFS_H) || defined(SILC_WIN32)
76 /* Automatically generated configuration header */
78 #endif /* HAVE_SILCDEFS_H */
80 /* Platform specific includes */
82 #if defined(SILC_WIN32)
83 #include "silcwin32.h"
86 #if defined(SILC_EPOC)
90 #if defined(SILC_BEOS)
107 #include <sys/types.h>
108 #include <sys/stat.h>
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>
151 #ifdef HAVE_NETINET_TCP_H
152 #include <netinet/tcp.h>
160 #ifdef HAVE_ARPA_INET_H
161 #include <arpa/inet.h>
164 #ifdef HAVE_SYS_MMAN_H
165 #include <sys/mman.h>
182 #ifdef SILC_HAVE_PTHREAD
190 #ifdef HAVE_TERMIOS_H
206 #ifdef HAVE_LANGINFO_H
207 #include <langinfo.h>
210 #endif /* !SILC_WIN32 */
212 #ifndef HAVE_GETOPT_LONG
216 /* Include generic SILC type definitions */
217 #include "silctypes.h"
218 #include "silcversion.h"
220 /* Math library includes */
222 #include "silcmath.h"
224 /* SILC util library includes */
225 #include "silcmemory.h"
226 #include "silcbuffer.h"
227 #include "silcbuffmt.h"
229 /* Crypto library includes */
230 #include "silccipher.h"
231 #include "silchash.h"
232 #include "silchmac.h"
234 #include "silcpkcs.h"
236 /* More SILC util library includes */
237 #include "silcmutex.h"
238 #include "silcthread.h"
239 #include "silcschedule.h"
240 #include "silchashtable.h"
242 #include "silclist.h"
243 #include "silcdlist.h"
245 #include "silcfileutil.h"
246 #include "silcstrutil.h"
247 #include "silcutil.h"
248 #include "silcconfig.h"
249 #include "silcprotocol.h"
250 #include "silcsockconn.h"
251 #include "silcvcard.h"
252 #include "silcapputil.h"
254 /* SILC core library includes */
255 #include "silcstatus.h"
257 #include "silcidcache.h"
258 #include "silcargument.h"
259 #include "silccommand.h"
260 #include "silcmessage.h"
261 #include "silcchannel.h"
262 #include "silcpacket.h"
263 #include "silcnotify.h"
264 #include "silcmode.h"
265 #include "silcauth.h"
266 #include "silcattrs.h"
267 #include "silcvcard.h"
269 #if defined(SILC_SIM)
270 /* SILC Module library includes */
272 #include "silcsimutil.h"
275 /* SILC Key Exchange library includes */
277 #include "silcske_payload.h"
278 #include "silcske_groups.h"
280 /* SILC SFTP library */
281 #include "silcsftp.h"
282 #include "silcsftp_fs.h"
288 #endif /* SILCINCLUDES_H */