5 Author: Pekka Riikonen <priikone@silcnet.org>
7 Copyright (C) 2008 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; version 2 of the License.
13 This program is distributed in the hope that it will be useful,
14 but WITHOUT ANY WARRANTY; without even the implied warranty of
15 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
16 GNU General Public License for more details.
23 /* Version check macro. Use this to check that package is of specific
24 version compile time. Use the __SILC_XXX_VERSION below in comparison.
27 #if __SILC_RUNTIME_VERSION < SILC_VERSION(1,2,0)
32 #define SILC_VERSION(a, b, c) (((a) << 24) + ((b) << 16) + ((c) << 8)
33 #endif /* !SILC_VERSION */
35 /* SILC Runtime Toolkit version */
36 @__RUNTIME_PACKAGE_VERSION@
38 /* Compilation time defines, for third-party software. Use these to check
39 in configuration/compilation time how the SILC Runtime Toolkit was
40 configured/compiled. */
45 #define SILC_SIZEOF_LONG_LONG @SILC_SIZEOF_LONG_LONG@
46 #define SILC_SIZEOF_LONG @SILC_SIZEOF_LONG@
47 #define SILC_SIZEOF_INT @SILC_SIZEOF_INT@
48 #define SILC_SIZEOF_SHORT @SILC_SIZEOF_SHORT@
49 #define SILC_SIZEOF_CHAR @SILC_SIZEOF_CHAR@
50 #define SILC_SIZEOF_VOID_P @SILC_SIZEOF_VOID_P@
62 #if defined(__EPOC32__) || defined(__SYMBIAN32__)
70 #if defined(__MACH__) && defined(__APPLE__)
82 /* Platform specific includes */
83 #if defined(SILC_WIN32)
84 #include <silcwin32.h>
87 #if defined(SILC_SYMBIAN)
88 #include <silcsymbian.h>
91 #if defined(HAVE_SILCDEFS_H)
93 /* Automatically generated configuration header. These are included only
94 when the SILC Runtime Toolkit itself is compiled. */
98 #include "../../symbian/silcdefs.h"
99 #endif /* SILC_SYMBIAN */
100 #include "silcdistdefs.h"
101 #include "silccompile.h"
105 /* Autodetect CPU so that inline assembly in headers are enabled */
107 #if defined(__i386__)
112 #endif /* __i386__ */
114 #if defined(__i486__)
119 #endif /* __i486__ */
121 #if defined(__i586__)
128 #endif /* __i586__ */
130 #if defined(__i686__)
139 #endif /* __i686__ */
141 #if defined(__x86_64__)
144 #endif /* __x86_64__ */
146 #if defined(__ia64__)
149 #endif /* __ia64__ */
151 #if defined(__ppc__) || defined(__ppc64__)
154 #endif /* __ppc__ || __ppc64__ */
156 #ifndef SILC_ALIGNMENT
157 #define SILC_ALIGNMENT SILC_SIZEOF_VOID_P
158 #endif /* SILC_ALIGNMENT */
160 #endif /* HAVE_SILCDEFS_H */
162 /* SILC Runtime Toolkit includes */
163 #include <silcerrno.h>
164 #include <silctypes.h>
165 #include <silcbitops.h>
166 #include <silcmutex.h>
167 #include <silcatomic.h>
168 #include <silcgetopt.h>
169 #include <silcstack.h>
170 #include <silcmemory.h>
171 #include <silclist.h>
172 #include <silcdlist.h>
173 #include <silcsnprintf.h>
174 #include <silctime.h>
175 #include <silctimer.h>
176 #include <silccond.h>
177 #include <silcglobal.h>
178 #include <silcthread.h>
179 #include <silcthreadqueue.h>
180 #include <silcschedule.h>
182 #include <silcfileutil.h>
184 #include <silcbuffer.h>
185 #include <silcbuffmt.h>
186 #include <silcasync.h>
187 #include <silcregex.h>
190 #include <silchashtable.h>
191 #include <silcstream.h>
193 #include <silcbase64.h>
194 #include <silcstrutil.h>
195 #include <silcutf8.h>
196 #include <silcstringprep.h>
197 #include <silcutil.h>
198 #include <silcconfig.h>
200 #include <silcsocketstream.h>
201 #include <silcfdstream.h>
202 #include <silcmime.h>
203 #include <silcrand.h>
209 #endif /* SILCRUNTIME_H */