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>
119 #if !defined(SILC_WIN32)
122 #include <sys/time.h>
125 #include <sys/times.h>
135 #include <sys/socket.h>
136 #ifdef HAVE_NETINET_IN_H
137 #include <netinet/in.h>
143 #ifdef HAVE_NETINET_TCP_H
144 #include <netinet/tcp.h>
152 #ifdef HAVE_ARPA_INET_H
153 #include <arpa/inet.h>
156 #ifdef HAVE_SYS_MMAN_H
157 #include <sys/mman.h>
174 #ifdef SILC_HAVE_PTHREAD
182 #ifdef HAVE_TERMIOS_H
198 #ifdef HAVE_LANGINFO_H
199 #include <langinfo.h>
202 #endif /* !SILC_WIN32 */
204 #ifndef HAVE_GETOPT_LONG
208 /* Include generic SILC type definitions */
209 #include "silctypes.h"
210 #include "silcversion.h"
212 /* Math library includes */
214 #include "silcmath.h"
216 /* Crypto library includes */
217 #include "silccipher.h"
218 #include "silchash.h"
219 #include "silchmac.h"
221 #include "silcpkcs.h"
223 /* SILC util library includes */
224 #include "silcmutex.h"
225 #include "silcthread.h"
226 #include "silcschedule.h"
227 #include "silchashtable.h"
229 #include "silcmemory.h"
230 #include "silclist.h"
231 #include "silcdlist.h"
232 #include "silcbuffer.h"
233 #include "silcbuffmt.h"
235 #include "silcfileutil.h"
236 #include "silcstrutil.h"
237 #include "silcutil.h"
238 #include "silcconfig.h"
239 #include "silcprotocol.h"
240 #include "silcsockconn.h"
241 #include "silcvcard.h"
242 #include "silcapputil.h"
244 /* SILC core library includes */
245 #include "silcstatus.h"
247 #include "silcidcache.h"
248 #include "silcargument.h"
249 #include "silccommand.h"
250 #include "silcchannel.h"
251 #include "silcpacket.h"
252 #include "silcnotify.h"
253 #include "silcmode.h"
254 #include "silcauth.h"
255 #include "silcprivate.h"
256 #include "silcattrs.h"
257 #include "silcvcard.h"
259 #if defined(SILC_SIM)
260 /* SILC Module library includes */
262 #include "silcsimutil.h"
265 /* SILC Key Exchange library includes */
267 #include "silcske_payload.h"
268 #include "silcske_groups.h"
270 /* SILC SFTP library */
271 #include "silcsftp.h"
272 #include "silcsftp_fs.h"
278 #endif /* SILCINCLUDES_H */