6 Author: Pekka Riikonen <priikone@poseidon.pspt.fi>
8 Copyright (C) 1997 - 2000 Pekka Riikonen
10 This program is free software; you can redistribute it and/or modify
11 it under the terms of the GNU General Public License as published by
12 the Free Software Foundation; either version 2 of the License, or
13 (at your option) any later version.
15 This program is distributed in the hope that it will be useful,
16 but WITHOUT ANY WARRANTY; without even the implied warranty of
17 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
18 GNU General Public License for more details.
22 This file includes common definitions for SILC. This file MUST be included
23 by all files in SILC (directly or through other global include file).
26 #ifndef SILCINCLUDES_H
27 #define SILCINCLUDES_H
29 /* Automatically generated configuration header */
41 #include <sys/types.h>
44 #include <sys/times.h>
59 #error signal.h not found in the system
65 #error fcntl.h not found in the system
71 #error errno.h not found in the system
77 #error assert.h not found in the system
80 #include <sys/socket.h>
81 #ifdef HAVE_NETINET_IN_H
82 #include <netinet/in.h>
84 #error netinet/in.h not found in the system
87 #ifdef HAVE_NETINET_TCP_H
88 #include <netinet/tcp.h>
90 #error netinet/tcp.h not found in the system
96 #error netdb.h not found in the system
99 #ifdef HAVE_ARPA_INET_H
100 #include <arpa/inet.h>
102 #error arpa/inet.h not found in the system
105 #ifdef HAVE_SYS_MMAN_H
106 #include <sys/mman.h>
113 #ifndef HAVE_GETOPT_LONG
114 #include "../lib/contrib/getopt.h"
124 /* Generic global SILC includes */
127 /* Math library includes */
131 #include "silcprimegen.h"
133 /* Crypto library includes */
134 #include "silccipher.h"
135 #include "silchash.h"
136 #include "silchmac.h"
138 #include "silcpkcs.h"
140 /* SILC util library includes */
142 #include "silcmemory.h"
143 #include "silcbuffer.h"
144 #include "silcbufutil.h"
145 #include "silcbuffmt.h"
147 #include "silcutil.h"
148 #include "silcconfig.h"
149 #include "silctask.h"
150 #include "silcschedule.h"
152 /* SILC core library includes */
155 #include "silcprotocol.h"
156 #include "silcsockconn.h"
157 #include "silcpayload.h"
158 #include "silccommand.h"
159 #include "silcchannel.h"
160 #include "silcpacket.h"
161 #include "silcnotify.h"
162 #include "silcmode.h"
164 /* TRQ (SilcList API and SilcDList API) */
165 #include "silclist.h"
166 #include "silcdlist.h"
169 /* SILC Module library includes */
171 #include "silcsimutil.h"
174 /* SILC Key Exchange library includes */