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 /* Automatically generated configuration header */
70 /* Platform specific includes */
73 #include "silcwin32.h"
97 #include <sys/types.h>
104 #error signal.h not found in the system
110 #error fcntl.h not found in the system
116 #error errno.h not found in the system
122 #error assert.h not found in the system
128 #include <sys/time.h>
131 #include <sys/times.h>
141 #include <sys/socket.h>
142 #ifdef HAVE_NETINET_IN_H
143 #include <netinet/in.h>
145 #error netinet/in.h not found in the system
151 #ifdef HAVE_NETINET_TCP_H
152 #include <netinet/tcp.h>
154 #error xti.h nor even netinet/tcp.h found in the system
161 #error netdb.h not found in the system
164 #ifdef HAVE_ARPA_INET_H
165 #include <arpa/inet.h>
167 #error arpa/inet.h not found in the system
170 #ifdef HAVE_SYS_MMAN_H
171 #include <sys/mman.h>
183 #include "../lib/contrib/regex.h"
188 #ifdef SILC_HAVE_PTHREAD
196 #ifdef HAVE_TERMIOS_H
200 #endif /* !SILC_WIN32 */
202 #ifndef HAVE_GETOPT_LONG
203 #include "../lib/contrib/getopt.h"
206 /* Include generic SILC type definitions */
207 #include "silctypes.h"
209 /* Math library includes */
211 #include "silcmath.h"
213 /* Crypto library includes */
214 #include "silccipher.h"
215 #include "silchash.h"
216 #include "silchmac.h"
218 #include "silcpkcs.h"
220 /* SILC util library includes */
221 #include "silcmutex.h"
222 #include "silcthread.h"
223 #include "silcschedule.h"
224 #include "silchashtable.h"
226 #include "silcmemory.h"
227 #include "silclist.h"
228 #include "silcdlist.h"
229 #include "silcbuffer.h"
230 #include "silcbuffmt.h"
232 #include "silcfileutil.h"
233 #include "silcstrutil.h"
234 #include "silcutil.h"
235 #include "silcconfig.h"
236 #include "silcprotocol.h"
237 #include "silcsockconn.h"
239 /* SILC core library includes */
241 #include "silcidcache.h"
242 #include "silcargument.h"
243 #include "silccommand.h"
244 #include "silcchannel.h"
245 #include "silcpacket.h"
246 #include "silcnotify.h"
247 #include "silcmode.h"
248 #include "silcauth.h"
249 #include "silcprivate.h"
252 /* SILC Module library includes */
254 #include "silcsimutil.h"
257 /* SILC Key Exchange library includes */
259 #include "silcske_payload.h"
260 #include "silcske_groups.h"
262 /* SILC SFTP library */
263 #include "silcsftp.h"
264 #include "silcsftp_fs.h"
270 #endif /* SILCINCLUDES_H */