Author: Pekka Riikonen <priikone@silcnet.org>
- Copyright (C) 1997 - 2001 Pekka Riikonen
+ Copyright (C) 1997 - 2005 Pekka Riikonen
This program is free software; you can redistribute it and/or modify
it under the terms of the GNU General Public License as published by
- the Free Software Foundation; either version 2 of the License, or
- (at your option) any later version.
-
+ the Free Software Foundation; version 2 of the License.
+
This program is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
#endif
#endif
+#if defined(__MACH__) && defined(__APPLE__)
+#ifndef SILC_MACOSX
+#define SILC_MACOSX
+#endif
+#endif
+
/* Types */
#define SILC_SIZEOF_LONG_LONG @SILC_SIZEOF_LONG_LONG@
#define SILC_SIZEOF_LONG @SILC_SIZEOF_LONG@
#define SILC_SIZEOF_CHAR @SILC_SIZEOF_CHAR@
#define SILC_SIZEOF_VOID_P @SILC_SIZEOF_VOID_P@
-#if defined(HAVE_SILCDEFS_H) || defined(SILC_WIN32)
+/* Compilation time defines, for third-party software */
+@__SILC_HAVE_PTHREAD@
+@__SILC_HAVE_SIM@
+@__SILC_ENABLE_DEBUG@
+
+#if defined(HAVE_SILCDEFS_H)
/* Automatically generated configuration header */
#include "silcdefs.h"
+#include "silcdistdefs.h"
#endif /* HAVE_SILCDEFS_H */
/* Platform specific includes */
#include <grp.h>
#include <sys/times.h>
-#ifdef HAVE_GETOPT_H
+#if defined(HAVE_GETOPT_H) && defined(HAVE_GETOPT)
#include <getopt.h>
+#else
+#if defined(HAVE_SILCDEFS_H)
+#include "getopti.h"
+#endif /* HAVE_SILCDEFS_H */
#endif
#ifdef SOCKS5
#endif
#ifndef HAVE_REGEX_H
-#include "regex.h"
+#if defined(HAVE_SILCDEFS_H)
+#include "regexpr.h"
+#endif /* HAVE_SILCDEFS_H */
#else
#include <regex.h>
#endif
#include <langinfo.h>
#endif
-#endif /* !SILC_WIN32 */
-
-#ifndef HAVE_GETOPT_LONG
-#include "getopt.h"
+#ifdef HAVE_SYS_RESOURCE_H
+#include <sys/resource.h>
#endif
+#endif /* !SILC_WIN32 */
+
/* Include generic SILC type definitions */
#include "silctypes.h"
#include "silcversion.h"
#include "silchmac.h"
#include "silcrng.h"
#include "silcpkcs.h"
+#include "silcpkcs1.h"
/* More SILC util library includes */
#include "silcmutex.h"
#include "silcnet.h"
#include "silcfileutil.h"
#include "silcstrutil.h"
+#include "silcutf8.h"
+#include "silcstringprep.h"
#include "silcutil.h"
#include "silcconfig.h"
#include "silcprotocol.h"
#include "silcapputil.h"
/* SILC core library includes */
+#include "silcargument.h"
#include "silcstatus.h"
#include "silcid.h"
#include "silcidcache.h"
-#include "silcargument.h"
#include "silccommand.h"
+#include "silcmessage.h"
#include "silcchannel.h"
#include "silcpacket.h"
#include "silcnotify.h"
#include "silcmode.h"
#include "silcauth.h"
-#include "silcprivate.h"
#include "silcattrs.h"
#include "silcvcard.h"
#include "silcske_payload.h"
#include "silcske_groups.h"
+#ifdef SILC_DIST_SFTP
/* SILC SFTP library */
#include "silcsftp.h"
#include "silcsftp_fs.h"
+#endif /* SILC_DIST_SFTP */
#ifdef __cplusplus
}