From 094ca96844842928810f14844413109fc6cdd890 Mon Sep 17 00:00:00 2001 From: Eduardo Chappa Date: Sun, 3 Feb 2013 00:59:38 -0700 Subject: Initial Alpine Version --- include/config.h.in | 649 +++++++++++++++++++++++++++++++++++++++++++++++++++ include/config.wnt.h | 581 +++++++++++++++++++++++++++++++++++++++++++++ include/general.h | 134 +++++++++++ include/system.h | 392 +++++++++++++++++++++++++++++++ 4 files changed, 1756 insertions(+) create mode 100644 include/config.h.in create mode 100644 include/config.wnt.h create mode 100644 include/general.h create mode 100644 include/system.h (limited to 'include') diff --git a/include/config.h.in b/include/config.h.in new file mode 100644 index 00000000..dadc4341 --- /dev/null +++ b/include/config.h.in @@ -0,0 +1,649 @@ +/* include/config.h.in. Generated from configure.ac by autoheader. */ + +/* Default configuration value */ +#undef ANSI_PRINTER + +/* Use Apple OS X key chain for credential caching */ +#undef APPLEKEYCHAIN + +/* Enable background posting support */ +#undef BACKGROUND_POST + +/* Default configuration value */ +#undef CHECK_POINT_FREQ + +/* Default configuration value */ +#undef CHECK_POINT_TIME + +/* File name separator as character constant */ +#undef C_FILESEP + +/* Default configuration value */ +#undef DEADLETTER + +/* Compile in debugging */ +#undef DEBUG + +/* Default configuration value */ +#undef DEBUGFILE + +/* Display debug messages in journal */ +#undef DEBUGJOURNAL + +/* Default configuration value */ +#undef DEFAULT_COLUMNS_ON_TERMINAL + +/* Default configuration value */ +#undef DEFAULT_DEBUG + +/* Default configuration value */ +#undef DEFAULT_LINES_ON_TERMINAL + +/* Default configuration value */ +#undef DEFAULT_SAVE + +/* Default configuration value */ +#undef DF_AB_SORT_RULE + +/* Default configuration value */ +#undef DF_ADDRESSBOOK + +/* Default configuration value */ +#undef DF_CACERT_DIR + +/* Default configuration value */ +#undef DF_DEFAULT_FCC + +/* Default configuration value */ +#undef DF_DEFAULT_PRINTER + +/* Default configuration value */ +#undef DF_ELM_STYLE_SAVE + +/* Default configuration value */ +#undef DF_FCC_RULE + +/* Default configuration value */ +#undef DF_FILLCOL + +/* Default configuration value */ +#undef DF_FLD_SORT_RULE + +/* Default configuration value */ +#undef DF_HEADER_IN_REPLY + +/* Default configuration value */ +#undef DF_KBLOCK_PASSWD_COUNT + +/* Default configuration value */ +#undef DF_LOCAL_ADDRESS + +/* Default configuration value */ +#undef DF_LOCAL_FULLNAME + +/* Default configuration value */ +#undef DF_MAILCHECK + +/* Default configuration value */ +#undef DF_MAIL_DIRECTORY + +/* Default configuration value */ +#undef DF_MARGIN + +/* Default configuration value */ +#undef DF_OLD_STYLE_REPLY + +/* Default configuration value */ +#undef DF_OVERLAP + +/* Default configuration value */ +#undef DF_PRIVATEKEY_DIR + +/* Default configuration value */ +#undef DF_PUBLICCERT_DIR + +/* Default configuration value */ +#undef DF_REMOTE_ABOOK_HISTORY + +/* Default configuration value */ +#undef DF_SAVED_MSG_NAME_RULE + +/* Default configuration value */ +#undef DF_SAVE_BY_SENDER + +/* Default configuration value */ +#undef DF_SIGNATURE_FILE + +/* Default configuration value */ +#undef DF_SORT_KEY + +/* set default value of ssh command string (usually "%s %s -l %s exec + /etc/r%sd") */ +#undef DF_SSHCMD + +/* set default value of ssh command path (defining should cause ssh to be + preferred to rsh) */ +#undef DF_SSHPATH + +/* Default configuration value */ +#undef DF_STANDARD_PRINTER + +/* Default configuration value */ +#undef DF_USE_ONLY_DOMAIN_NAME + +/* Interactive, filewise spell checker */ +#undef DF_VAR_SPELLER + +/* Define enable dmalloc debugging */ +#undef ENABLE_DMALLOC + +/* Enable LDAP query support */ +#undef ENABLE_LDAP + +/* Define to 1 if translation of program messages to the user's native + language is requested. */ +#undef ENABLE_NLS + +/* Enable From address encoding in sent messages */ +#undef ENCODE_FROMS + +/* Default configuration value */ +#undef FORWARDED_FLAG + +/* Define to 1 if `TIOCGWINSZ' requires . */ +#undef GWINSZ_IN_SYS_IOCTL + +/* Define if systems uses old BSD-style terminal control */ +#undef HAS_SGTTY + +/* Define if systems uses termcap terminal database */ +#undef HAS_TERMCAP + +/* Define if systems uses terminfo terminal database */ +#undef HAS_TERMINFO + +/* Define if systems uses termio terminal control */ +#undef HAS_TERMIO + +/* Define if systems uses termios terminal control */ +#undef HAS_TERMIOS + +/* Define to 1 if you have the header file. */ +#undef HAVE_ASSERT_H + +/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the + CoreFoundation framework. */ +#undef HAVE_CFLOCALECOPYCURRENT + +/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +#undef HAVE_CFPREFERENCESCOPYAPPVALUE + +/* Define to 1 if you have the `chown' function. */ +#undef HAVE_CHOWN + +/* Define to 1 if you have the header file. */ +#undef HAVE_CTYPE_H + +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +#undef HAVE_DCGETTEXT + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +#undef HAVE_DIRENT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_DLFCN_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_ERRNO_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_FCNTL_H + +/* Define to 1 if you have the `fork' function. */ +#undef HAVE_FORK + +/* Define to 1 if you have the `fsync' function. */ +#undef HAVE_FSYNC + +/* Define to 1 if you have the `getpwnam' function. */ +#undef HAVE_GETPWNAM + +/* Define to 1 if you have the `getpwuid' function. */ +#undef HAVE_GETPWUID + +/* Define if the GNU gettext() function is already present or preinstalled. */ +#undef HAVE_GETTEXT + +/* Define to 1 if you have the `gettimeofday' function. */ +#undef HAVE_GETTIMEOFDAY + +/* Define to 1 if you have the `getuid' function. */ +#undef HAVE_GETUID + +/* Define if you have the iconv() function. */ +#undef HAVE_ICONV + +/* Define to 1 if you have the header file. */ +#undef HAVE_INTTYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LANGINFO_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_LIMITS_H + +/* Define to 1 if you have the `listen' function. */ +#undef HAVE_LISTEN + +/* Define to 1 if you have the header file. */ +#undef HAVE_LOCALE_H + +/* Define to 1 if you have the `mbstowcs' function. */ +#undef HAVE_MBSTOWCS + +/* Define to 1 if you have the `memcpy' function. */ +#undef HAVE_MEMCPY + +/* Define to 1 if you have the header file. */ +#undef HAVE_MEMORY_H + +/* Define if system supports subsecond, non-alarm sleep */ +#undef HAVE_NANOSLEEP + +/* Define to 1 if you have the header file, and it defines `DIR'. */ +#undef HAVE_NDIR_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_NETDB_H + +/* Define to 1 if you have the `pclose' function. */ +#undef HAVE_PCLOSE + +/* Define to 1 if you have the `poll' function. */ +#undef HAVE_POLL + +/* Define to 1 if you have the `popen' function. */ +#undef HAVE_POPEN + +/* System has pthread support */ +#undef HAVE_PTHREAD + +/* Define to 1 if you have the header file. */ +#undef HAVE_PTHREAD_H + +/* Define to 1 if you have the `putenv' function. */ +#undef HAVE_PUTENV + +/* Define to 1 if you have the header file. */ +#undef HAVE_PWD_H + +/* Define to 1 if you have the `qsort' function. */ +#undef HAVE_QSORT + +/* Define to 1 if you have the `read' function. */ +#undef HAVE_READ + +/* Regular expression header file exists */ +#undef HAVE_REGEX_H + +/* Define to 1 if you have the `rename' function. */ +#undef HAVE_RENAME + +/* Define to 1 if you have the `select' function. */ +#undef HAVE_SELECT + +/* Define to 1 if you have the `setenv' function. */ +#undef HAVE_SETENV + +/* Define to 1 if you have the `setjmp' function. */ +#undef HAVE_SETJMP + +/* Define to 1 if you have the header file. */ +#undef HAVE_SETJMP_H + +/* Define to 1 if you have the `sigaction' function. */ +#undef HAVE_SIGACTION + +/* Define to 1 if you have the `sigaddset' function. */ +#undef HAVE_SIGADDSET + +/* Define to 1 if you have the `sigemptyset' function. */ +#undef HAVE_SIGEMPTYSET + +/* Define to 1 if you have the `signal' function. */ +#undef HAVE_SIGNAL + +/* Define to 1 if you have the header file. */ +#undef HAVE_SIGNAL_H + +/* Define to 1 if you have the `sigprocmask' function. */ +#undef HAVE_SIGPROCMASK + +/* Define to 1 if you have the `sigrelse' function. */ +#undef HAVE_SIGRELSE + +/* Define to 1 if you have the `sigset' function. */ +#undef HAVE_SIGSET + +/* Define to 1 if you have the `srandom' function. */ +#undef HAVE_SRANDOM + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDINT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STDLIB_H + +/* Define to 1 if you have the `strchr' function. */ +#undef HAVE_STRCHR + +/* Define to 1 if you have the `strcoll' function and it is properly defined. + */ +#undef HAVE_STRCOLL + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRINGS_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STRING_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_STROPTS_H + +/* Define to 1 if you have the `strtol' function. */ +#undef HAVE_STRTOL + +/* Define to 1 if you have the `strtoul' function. */ +#undef HAVE_STRTOUL + +/* Define if system supplies syslog() logging */ +#undef HAVE_SYSLOG + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYSLOG_H + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +#undef HAVE_SYS_DIR_H + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +#undef HAVE_SYS_NDIR_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_PARAM_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_POLL_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SELECT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SOCKET_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_STAT_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_SYSLOG_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_TYPES_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_UIO_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_UN_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_SYS_UTIME_H + +/* Define to 1 if you have that is POSIX.1 compatible. */ +#undef HAVE_SYS_WAIT_H + +/* Define to 1 if you have the `tmpfile' function. */ +#undef HAVE_TMPFILE + +/* Define to 1 if you have the `truncate' function. */ +#undef HAVE_TRUNCATE + +/* Define to 1 if you have the `uname' function. */ +#undef HAVE_UNAME + +/* Define to 1 if the system has the type `union wait'. */ +#undef HAVE_UNION_WAIT + +/* Define to 1 if you have the header file. */ +#undef HAVE_UNISTD_H + +/* Define to 1 if you have the header file. */ +#undef HAVE_UTIME_H + +/* Define to 1 if you have the `vfork' function. */ +#undef HAVE_VFORK + +/* Define to 1 if you have the header file. */ +#undef HAVE_VFORK_H + +/* Define to 1 if you have the `wait' function. */ +#undef HAVE_WAIT + +/* Define to 1 if you have the `wait4' function. */ +#undef HAVE_WAIT4 + +/* Define to 1 if you have the `waitpid' function. */ +#undef HAVE_WAITPID + +/* Define to 1 if you have the header file. */ +#undef HAVE_WCHAR_H + +/* Define to 1 if you have the `wcrtomb' function. */ +#undef HAVE_WCRTOMB + +/* Define to 1 if you have the `wcwidth' function. */ +#undef HAVE_WCWIDTH + +/* Define to 1 if `fork' works. */ +#undef HAVE_WORKING_FORK + +/* Define to 1 if `vfork' works. */ +#undef HAVE_WORKING_VFORK + +/* Default configuration value */ +#undef INBOX_NAME + +/* Default configuration value */ +#undef INTERRUPTED_MAIL + +/* Enable keyboard lock support */ +#undef KEYBOARD_LOCK + +/* Define if you use OpenLDAP 2.3.x deprecated functions */ +#undef LDAP_DEPRECATED + +/* Define to the sub-directory in which libtool stores uninstalled libraries. + */ +#undef LT_OBJDIR + +/* Path to local inboxes for pico newmail check */ +#undef MAILDIR + +/* Default configuration value */ +#undef MAX_FILLCOL + +/* Default configuration value */ +#undef MAX_SCREEN_COLS + +/* Default configuration value */ +#undef MAX_SCREEN_ROWS + +/* File mode used to set readonly access */ +#undef MODE_READONLY + +/* Compile in mouse support */ +#undef MOUSE + +/* Disallow users changing their From address */ +#undef NEVER_ALLOW_CHANGING_FROM + +/* Default configuration value */ +#undef NUMDEBUGFILES + +/* OSX TARGET */ +#undef OSX_TARGET + +/* Name of package */ +#undef PACKAGE + +/* Define to the address where bug reports for this package should be sent. */ +#undef PACKAGE_BUGREPORT + +/* Define to the full name of this package. */ +#undef PACKAGE_NAME + +/* Define to the full name and version of this package. */ +#undef PACKAGE_STRING + +/* Define to the one symbol short name of this package. */ +#undef PACKAGE_TARNAME + +/* Define to the home page for this package. */ +#undef PACKAGE_URL + +/* Define to the version of this package. */ +#undef PACKAGE_VERSION + +/* Password cache file (NOT secure. NOT recommended) */ +#undef PASSFILE + +/* Program users use to change their password */ +#undef PASSWD_PROG + +/* Define if system supports POSIX signal interface */ +#undef POSIX_SIGNALS + +/* Default configuration value */ +#undef POSTPONED_MAIL + +/* Default configuration value */ +#undef POSTPONED_MSGS + +/* Define to necessary symbol if this constant uses a non-standard name on + your system. */ +#undef PTHREAD_CREATE_JOINABLE + +/* Include support for UW Pubcookie Web Authentication */ +#undef PUBCOOKIE + +/* Define as the return type of signal handlers (`int' or `void'). */ +#undef RETSIGTYPE + +/* Define to the type of arg 1 for `select'. */ +#undef SELECT_TYPE_ARG1 + +/* Define to the type of args 2, 3 and 4 for `select'. */ +#undef SELECT_TYPE_ARG234 + +/* Define to the type of arg 5 for `select'. */ +#undef SELECT_TYPE_ARG5 + +/* Local mail submission agent */ +#undef SENDMAIL + +/* Local MSA flags for SMTP on stdin/stdout */ +#undef SENDMAILFLAGS + +/* Posting agent to use when no nntp-servers defined */ +#undef SENDNEWS + +/* The size of `unsigned int', as computed by sizeof. */ +#undef SIZEOF_UNSIGNED_INT + +/* The size of `unsigned long', as computed by sizeof. */ +#undef SIZEOF_UNSIGNED_LONG + +/* The size of `unsigned short', as computed by sizeof. */ +#undef SIZEOF_UNSIGNED_SHORT + +/* Enable S/MIME code */ +#undef SMIME + +/* Directory where S/MIME CACerts are located */ +#undef SMIME_SSLCERTS + +/* Simple spell checker: reads stdin, emits misspellings on stdout */ +#undef SPELLER + +/* Define to 1 if the `S_IS*' macros in do not work properly. */ +#undef STAT_MACROS_BROKEN + +/* Define to 1 if you have the ANSI C header files. */ +#undef STDC_HEADERS + +/* System pinerc */ +#undef SYSTEM_PINERC + +/* System fixed pinerc */ +#undef SYSTEM_PINERC_FIXED + +/* Pine-Centric Host Specifier */ +#undef SYSTYPE + +/* Define if system supports SYSV signal interface */ +#undef SYSV_SIGNALS + +/* File name separator as string constant */ +#undef S_FILESEP + +/* Define to 1 if you can safely include both and . */ +#undef TIME_WITH_SYS_TIME + +/* Define to 1 if your declares `struct tm'. */ +#undef TM_IN_SYS_TIME + +/* Default configuration value */ +#undef TRASH_FOLDER + +/* System defined unsigned 16 bit integer */ +#undef UINT16 + +/* System defined unsigned 32 bit integer */ +#undef UINT32 + +/* Compile in quota check on startup */ +#undef USE_QUOTAS + +/* Version number of package */ +#undef VERSION + +/* Windows is just too different */ +#undef _WINDOWS + +/* Enable extended pthread features on Solaris */ +#undef __EXTENSIONS__ + +/* Define to `int' if doesn't define. */ +#undef gid_t + +/* Define to `int' if does not define. */ +#undef mode_t + +/* Define to `int' if does not define. */ +#undef pid_t + +/* qsort compare function argument type */ +#undef qsort_t + +/* Define to `unsigned int' if does not define. */ +#undef size_t + +/* Define to `int' if doesn't define. */ +#undef uid_t + +/* Define as `fork' if `vfork' does not work. */ +#undef vfork diff --git a/include/config.wnt.h b/include/config.wnt.h new file mode 100644 index 00000000..c025971b --- /dev/null +++ b/include/config.wnt.h @@ -0,0 +1,581 @@ +/* include/config.h.in. Generated from configure.ac by autoheader. */ + +/* Default configuration value */ +#define ANSI_PRINTER "attached-to-ansi" + +/* Enable background posting support */ +#undef BACKGROUND_POST + +/* Default configuration value */ +#define CHECK_POINT_FREQ 12 + +/* Default configuration value */ +#define CHECK_POINT_TIME 420 + +/* File name separator as character constant */ +#define C_FILESEP '\\' +/* Avoid OSX Conflict */ +/* #undef Comment */ + +/* Default configuration value */ +#define DEADLETTER "deadletr" + +/* Compile in debugging */ +#define DEBUG + +/* Default configuration value */ +#define DEBUGFILE "pinedebg.txt" + +/* Display debug messages in journal */ +#define DEBUGJOURNAL + +/* Default configuration value */ +#define DEFAULT_COLUMNS_ON_TERMINAL 80 + +/* Default configuration value */ +#define DEFAULT_DEBUG 2 + +/* Default configuration value */ +#define DEFAULT_LINES_ON_TERMINAL 25 + +/* Default configuration value */ +#define DEFAULT_SAVE "savemail" + +/* Default configuration value */ +#define DF_AB_SORT_RULE "fullname-with-lists-last" + +/* Default configuration value */ +#define DF_ADDRESSBOOK "addrbook" + +/* Default configuration value */ +#define DF_DEFAULT_FCC "sentmail" + +/* Default configuration value */ +#define DF_DEFAULT_PRINTER ANSI_PRINTER + +/* Default configuration value */ +#define DF_ELM_STYLE_SAVE "no" + +/* Default configuration value */ +#define DF_FCC_RULE "default-fcc" + +/* Default configuration value */ +#define DF_FILLCOL "74" + +/* Default configuration value */ +#define DF_FLD_SORT_RULE "alphabetical" + +/* Default configuration value */ +#define DF_HEADER_IN_REPLY "no" + +/* Default configuration value */ +#define DF_KBLOCK_PASSWD_COUNT "1" + +/* Default configuration value */ +#define DF_LOCAL_ADDRESS "postmaster" + +/* Default configuration value */ +#define DF_LOCAL_FULLNAME "Local Support" + +/* Default configuration value */ +#define DF_MAILCHECK "150" + +/* Default configuration value */ +#define DF_MAIL_DIRECTORY "mail" + +/* Default configuration value */ +#define DF_MARGIN "0" + +/* Default configuration value */ +#define DF_OLD_STYLE_REPLY "no" + +/* Default configuration value */ +#define DF_OVERLAP "2" + +#define DF_PINEDIR "\\pine" + +/* Default configuration value */ +#define DF_REMOTE_ABOOK_HISTORY "3" + +/* Default configuration value */ +#define DF_SAVED_MSG_NAME_RULE "default-folder" + +/* Default configuration value */ +#define DF_SAVE_BY_SENDER "no" + +/* Default configuration value */ +#define DF_SIGNATURE_FILE "pine.sig" + +/* Default configuration value */ +#define DF_SORT_KEY "arrival" + +/* Default configuration value */ +#define DF_STANDARD_PRINTER "lpr" + +/* Default configuration value */ +#define DF_USE_ONLY_DOMAIN_NAME "no" + +/* Define enable dmalloc debugging */ +/* #undef ENABLE_DMALLOC */ + +/* Enable LDAP query support - the build command defines this */ +/* #define ENABLE_LDAP */ + +/* Define to 1 if translation of program messages to the user's native + language is requested. */ +/* #define ENABLE_NLS 1 */ /* What should this be? - jpf */ + +/* Enable From address encoding in sent messages */ +/* #undef ENCODE_FROMS */ + +#define FORWARDED_FLAG "$Forwarded" + +/* Avoid OSX Conflict */ +/* #undef Fixed */ + +/* Define to 1 if `TIOCGWINSZ' requires . */ +/* #undef GWINSZ_IN_SYS_IOCTL */ + +/* Define if systems uses old BSD-style terminal control */ +/* #undef HAS_SGTTY */ + +/* Define if systems uses termcap terminal database */ +/* #undef HAS_TERMCAP */ + +/* Define if systems uses terminfo terminal database */ +/* #undef HAS_TERMINFO */ + +/* Define if systems uses termio terminal control */ +/* #undef HAS_TERMIO */ + +/* Define if systems uses termios terminal control */ +/* #undef HAS_TERMIOS */ + +/* Define to 1 if you have the `bind' function. */ +/* #undef HAVE_BIND */ + +/* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the + CoreFoundation framework. */ +/* #undef HAVE_CFLOCALECOPYCURRENT */ + +/* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in + the CoreFoundation framework. */ +/* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */ + +/* Define to 1 if you have the `chown' function. */ +/* #undef HAVE_CHOWN */ + +/* Define if the GNU dcgettext() function is already present or preinstalled. + */ +/* #undef HAVE_DCGETTEXT */ + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +/* #undef HAVE_DIRENT_H */ + +/* Define to 1 if you have the header file. */ +/* #define HAVE_DLFCN_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_ERRNO_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_FCNTL_H 1 + +/* Define to 1 if you have the `fork' function. */ +/* #define HAVE_FORK */ + +/* Define to 1 if you have the `fsync' function. */ +/* #define HAVE_FSYNC */ + +/* Define to 1 if you have the `getpwnam' function. */ +/* #define HAVE_GETPWNAM */ + +/* Define to 1 if you have the `getpwuid' function. */ +/* #define HAVE_GETPWUID */ + +/* Define if the GNU gettext() function is already present or preinstalled. */ +/* #define HAVE_GETTEXT */ + +/* Define to 1 if you have the `gettimeofday' function. */ +/* #define HAVE_GETTIMEOFDAY */ + +/* Define to 1 if you have the `getuid' function. */ +/* #define HAVE_GETUID */ + +/* Define if you have the iconv() function. */ +/* #define HAVE_ICONV */ + +/* Define to 1 if you have the header file. */ +/* #define HAVE_INTTYPES_H */ + +/* Define to 1 if you have the `dmalloc' library (-ldmalloc). */ +/* #define HAVE_LIBDMALLOC */ + +/* Define to 1 if you have the `tcl' library (-ltcl). */ +/* #define HAVE_LIBTCL */ + +/* Define to 1 if you have the header file. */ +#define HAVE_LIMITS_H 1 + +/* Define to 1 if you have the `listen' function. */ +#define HAVE_LISTEN 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_LOCALE_H 1 + +/* Define to 1 if you have the `mbstowcs' function. */ +#define HAVE_MBSTOWCS 1 + +/* Define to 1 if you have the `memcpy' function. */ +#define HAVE_MEMCPY 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_MEMORY_H 1 + +/* Define to 1 if you have the header file, and it defines `DIR'. */ +/* #define HAVE_NDIR_H */ + +/* Define to 1 if you have the header file. */ +/* #define HAVE_NETDB_H */ + +/* Define to 1 if you have the header file. */ +/* #define HAVE_PWD_H */ + +/* Define to 1 if you have the `pclose' function. */ +/* #define HAVE_PCLOSE 1 */ + +/* Define to 1 if you have the `poll' function. */ +/* #define HAVE_POLL */ + +/* Define to 1 if you have the `popen' function. */ +/* #define HAVE_POPEN 1 */ + +/* Define to 1 if you have the `qsort' function. */ +#define HAVE_QSORT 1 + +/* Define to 1 if you have the `read' function. */ +#define HAVE_READ 1 + +/* Define to 1 if you have the `rename' function. */ +/* #define HAVE_RENAME */ + +/* Define to 1 if you have the `select' function. */ +#define HAVE_SELECT 1 + +/* Define to 1 if you have the `setjmp' function. */ +#define HAVE_SETJMP 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SETJMP_H 1 + +/* Define to 1 if you have the `sigaction' function. */ +/* #define HAVE_SIGACTION */ + +/* Define to 1 if you have the `sigaddset' function. */ +/* #define HAVE_SIGADDSET */ + +/* Define to 1 if you have the `sigemptyset' function. */ +/* #define HAVE_SIGEMPTYSET */ + +/* Define to 1 if you have the `signal' function. */ +#define HAVE_SIGNAL 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SIGNAL_H 1 + +/* Define to 1 if you have the `sigprocmask' function. */ +/* #define HAVE_SIGPROCMASK */ + +/* Define to 1 if you have the `sigrelse' function. */ +/* #define HAVE_SIGRELSE */ + +/* Define to 1 if you have the `sigset' function. */ +/* #define HAVE_SIGSET */ + +/* Define to 1 if you have the `srandom' function. */ +/* #define HAVE_SRANDOM */ + +/* Define to 1 if you have the header file. */ +/* #define HAVE_STDINT_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STDLIB_H 1 + +/* Define to 1 if you have the `strchr' function. */ +#define HAVE_STRCHR 1 + +/* Define to 1 if you have the `strcoll' function and it is properly defined. + */ +#define HAVE_STRCOLL 1 + +/* Define to 1 if you have the header file. */ +/* #define HAVE_STRINGS_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_STRING_H 1 + +/* Define to 1 if you have the header file. */ +/* #define HAVE_STROPTS_H */ + +/* Define to 1 if you have the `strtol' function. */ +#define HAVE_STRTOL 1 + +/* Define to 1 if you have the `strtoul' function. */ +#define HAVE_STRTOUL 1 + +/* Define to 1 if you have the header file. */ +/* #define HAVE_SYSLOG_H */ + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +/* #define HAVE_SYS_DIR_H */ + +/* Define to 1 if you have the header file, and it defines `DIR'. + */ +/* #define HAVE_SYS_NDIR_H */ + +/* Define to 1 if you have the header file. */ +/* #define HAVE_SYS_PARAM_H */ + +/* Define to 1 if you have the header file. */ +/* #define HAVE_SYS_POLL_H */ + +/* Define to 1 if you have the header file. */ +/* #define HAVE_SYS_SELECT_H */ + +/* Define to 1 if you have the header file. */ +/* #define HAVE_SYS_SOCKET_H */ + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_STAT_H 1 + +/* Define to 1 if you have the header file. */ +#define HAVE_SYS_TYPES_H 1 + +/* Define to 1 if you have the header file. */ +/* #define HAVE_SYS_UN_H */ + +#define HAVE_SYS_UTIME_H 1 + +/* Define to 1 if you have that is POSIX.1 compatible. */ +/* #define HAVE_SYS_WAIT_H */ + +/* Define to 1 if you have the header file. */ +/* #define HAVE_TERM_H */ + +/* Define to 1 if you have the `tmpfile' function. */ +#define HAVE_TMPFILE 1 + +/* Define to 1 if you have the `truncate' function. */ +/* #define HAVE_TRUNCATE */ + +/* Define to 1 if you have the `uname' function. */ +/* #define HAVE_UNAME */ + +/* Define to 1 if the system has the type `union wait'. */ +/* #define HAVE_UNION_WAIT */ + +/* Define to 1 if you have the header file. */ +/* #define HAVE_UNISTD_H */ + +/* Define to 1 if you have the `vfork' function. */ +/* #define HAVE_VFORK */ + +/* Define to 1 if you have the header file. */ +/* #define HAVE_VFORK_H */ + +/* Define to 1 if you have the `wait' function. */ +/* #define HAVE_WAIT */ + +/* Define to 1 if you have the `wait4' function. */ +/* #define HAVE_WAIT4 */ + +/* Define to 1 if you have the `waitpid' function. */ +/* #define HAVE_WAITPID */ + +/* Define to 1 if you have the header file. */ +#define HAVE_WCHAR_H 1 + +/* Define to 1 if `fork' works. */ +/* #define HAVE_WORKING_FORK */ + +/* Define to 1 if `vfork' works. */ +/* #define HAVE_WORKING_VFORK */ + +/* Always 1 because we use regex/regex.h */ +#define HAVE_REGEX_H 1 + +/* Avoid OSX Conflict */ +/* #undef Handle */ + +/* Default configuration value */ +#define INBOX_NAME "INBOX" + +/* Default configuration value */ +#define INTERRUPTED_MAIL "intruptd" + +/* Path to local inboxes for pico newmail check */ +#undef MAILDIR + +/* Default configuration value */ +#define MAX_FILLCOL 80 + +/* Default configuration value */ +#define MAX_SCREEN_COLS 500 + +/* Default configuration value */ +#define MAX_SCREEN_ROWS 200 + +/* File mode used to set readonly access */ +#undef MODE_READONLY + +/* Compile in mouse support */ +#define MOUSE +/* Windows has this set */ +#define EX_MOUSE + +/* Disallow users changing their From address */ +/* #undef NEVER_ALLOW_CHANGING_FROM */ + +/* Disable keyboard lock support */ +/* #undef NO_KEYBOARD_LOCK */ + +/* Default configuration value */ +#define NUMDEBUGFILES 4 + +/* Name of package */ +#define PACKAGE "alpine" + +/* Define to the address where bug reports for this package should be sent. */ +#define PACKAGE_BUGREPORT "alpine-contact@u.washington.edu" + +/* Define to the full name of this package. */ +#define PACKAGE_NAME "alpine" + +/* Define to the full name and version of this package. */ +#define PACKAGE_STRING "alpine 2.10" + +/* Define to the one symbol short name of this package. */ +#define PACKAGE_TARNAME "alpine" + +/* Define to the version of this package. */ +#define PACKAGE_VERSION "2.10" + +/* Program users use to change their password */ +/* #undef PASSWD_PROG */ + +/* Define if system supports POSIX signal interface */ +/* #define POSIX_SIGNALS */ + +/* Default configuration value */ +#define POSTPONED_MAIL "postpone" + +/* Default configuration value */ +#define POSTPONED_MSGS "postpond" + +/* Default Trash folder for Web Alpine */ +#define TRASH_FOLDER "Trash" + +/* Define as the return type of signal handlers (`int' or `void'). */ +#define RETSIGTYPE void + +/* Define to the type of arg 1 for `select'. */ +#define SELECT_TYPE_ARG1 int + +/* Define to the type of args 2, 3 and 4 for `select'. */ +#define SELECT_TYPE_ARG234 (fd_set *) + +/* Define to the type of arg 5 for `select'. */ +#define SELECT_TYPE_ARG5 (struct timeval *) + +/* Local mail submission agent */ +/* #define SENDMAIL */ + +/* Local MSA flags for SMTP on stdin/stdout */ +/* #define SENDMAILFLAGS */ + +/* Posting agent to use when no nntp-servers defined */ +/* #define SENDNEWS */ + +/* The size of a `unsigned int', as computed by sizeof. */ +/* #define SIZEOF_UNSIGNED_INT */ + +/* The size of a `unsigned long', as computed by sizeof. */ +/* #define SIZEOF_UNSIGNED_LONG */ + +/* The size of a `unsigned short', as computed by sizeof. */ +/* #define SIZEOF_UNSIGNED_SHORT */ + +/* Program pico uses to check spelling */ +#define SPELLER + +/* Define to 1 if the `S_IS*' macros in do not work properly. */ +/* #define STAT_MACROS_BROKEN */ + +/* Define to 1 if you have the ANSI C header files. */ +#define STDC_HEADERS 1 + +/* Default configuration value */ +#define SYSTEM_PINERC "pinerc" + +/* Default configuration value */ +/* #define SYSTEM_PINERC_FIXED */ + +/* Pine-Centric Host Specifier */ +#define SYSTYPE "WNT" + +/* Define if system supports SYSV signal interface */ +/* #define SYSV_SIGNALS */ + +/* File name separator as string constant */ +#define S_FILESEP "\\" + +/* Define to 1 if you can safely include both and . */ +/* #define TIME_WITH_SYS_TIME */ + +/* Define to 1 if your declares `struct tm'. */ +/* #define TM_IN_SYS_TIME */ + +/* System defined unsigned 16 bit integer */ +/* #define UINT16 uint16_t */ +/* #define UINT16 unsigned int */ + +/* System defined unsigned 32 bit integer */ +/* #define UINT32 uint32_t */ +/* #define UINT32 unsigned long */ + +/* Compile in quota check on startup */ +/* #define USE_QUOTAS */ + +/* Enable internal utf8 handling */ +#define UTF8_INTERNAL + +/* Version number of package */ +#define VERSION "2.10" + +/* Windows is just too different */ +#ifndef _WINDOWS +#define _WINDOWS +#endif + +/* Define to `int' if doesn't define. */ +/* #define gid_t */ + +/* Define to `int' if does not define. */ +/* #define mode_t */ + +/* Define to `int' if does not define. */ +#define pid_t int + +/* qsort compare function argument type */ +#define qsort_t void + +/* Define to `unsigned' if does not define. */ +/* #define size_t */ + +/* Define to `int' if doesn't define. */ +/* #define uid_t */ + +/* Define as `fork' if `vfork' does not work. */ +/* #define vfork */ diff --git a/include/general.h b/include/general.h new file mode 100644 index 00000000..500a5e74 --- /dev/null +++ b/include/general.h @@ -0,0 +1,134 @@ +/*---------------------------------------------------------------------- + $Id: general.h 764 2007-10-23 23:44:49Z hubert@u.washington.edu $ + ----------------------------------------------------------------------*/ + +/* ======================================================================== + * Copyright 2006 University of Washington + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * ======================================================================== +*/ + + +#ifndef _GENERAL_INCLUDED +#define _GENERAL_INCLUDED + + +#include "system.h" + +/* + * Generally useful definitions and constants + */ + + +/* Might as well be consistant */ +#undef FALSE +#define FALSE 0 /* False, no, bad, etc. */ +#undef TRUE +#define TRUE 1 /* True, yes, good, etc. */ +#define ABORT 2 /* Death, ^G, abort, etc. */ + + +#undef MIN +#define MIN(a,b) ((a) < (b) ? (a) : (b)) +#undef MAX +#define MAX(a,b) ((a) > (b) ? (a) : (b)) + + +#ifdef O_BINARY +#define STDIO_READ "rb" +#define STDIO_APPEND "a+b" +#else /* !O_BINARY */ +#define O_BINARY 0 +#define STDIO_READ "r" +#define STDIO_APPEND "a+" +#endif /* !O_BINARY */ + +#ifndef O_TEXT +#define O_TEXT 0 +#endif /* !O_TEXT */ + +#ifndef _O_WTEXT +#define _O_WTEXT 0 +#endif /* !O_WTEXT */ + +#ifndef _O_U8TEXT +#define _O_U8TEXT 0 +#endif /* !O_U8TEXT */ + + +/* Various character constants */ +#define BACKSPACE '\b' /* backspace character */ +#define TAB '\t' /* tab character */ +#define RETURN '\r' /* carriage return char */ +#define LINE_FEED '\n' /* line feed character */ +#define FORMFEED '\f' /* form feed (^L) char */ +#define COMMA ',' /* comma character */ +#define SPACE ' ' /* space character */ +#define ESCAPE '\033' /* the escape */ +#define BELL '\007' /* the bell */ +#define LPAREN '(' /* left parenthesis */ +#define RPAREN ')' /* right parenthesis */ +#define BSLASH '\\' /* back slash */ +#define QUOTE '"' /* double quote char */ +#define DEL '\177' /* delete */ + +/* + * These help with isspace when dealing with UCS-4 characters. + * 0x3000 == Ideographic Space (as wide as a CJK character cell) + * 0x2002 == En Space + * 0x2003 == Em Space + */ +#define SPECIAL_SPACE(c) ((c) == 0x3000 || (c) == 0x2002 || (c) == 0x2003) + + + + +/* Longest foldername we ever expect */ +#define MAXFOLDER (128) + + +/* Various maximum field lengths, probably shouldn't be changed. */ +#define MAX_FULLNAME (100) +#define MAX_NICKNAME (80) +#define MAX_ADDRESS (500) +#define MAX_NEW_LIST (500) /* Max addrs to be added when creating list */ +#define MAX_SEARCH (100) /* Longest string to search for */ +#define MAX_ADDR_EXPN (1000) /* Longest expanded addr */ +#define MAX_ADDR_FIELD (10000) /* Longest fully-expanded addr field */ + +/* + * Input timeout fudge factor + */ +#define IDLE_TIMEOUT (8) +#define FUDGE (30) /* better be at least 20 */ + + +/* + * We use a 32 bit unsigned int to carry UCS-4 characters. + * C-client uses unsigned long for this, so we have to do + * some minor conversion at that interface. UCS-4 characters + * are really only 21 bits. We do use the extra space for + * defining some special values that a character might have. + * In particular, the set of values like KEY_UP, KEY_RESIZE, + * NO_OP_IDLE, F12, and so on are 32 bit quantities that don't + * interfere with the actual character values. They are also + * all positive values with the most significant bit set to 0, + * so a 32 bit signed integer could hold them all. + */ +typedef UINT32 UCS; + +/* + * The type of an IMAP UID, which is a 32-bit unsigned int. + * This could be UINT32 instead of unsigned long but we use + * unsigned long because that's what c-client uses. + */ +typedef unsigned long imapuid_t; + + +#endif /* _GENERAL_INCLUDED */ diff --git a/include/system.h b/include/system.h new file mode 100644 index 00000000..636eb82b --- /dev/null +++ b/include/system.h @@ -0,0 +1,392 @@ +/*---------------------------------------------------------------------- + $Id: system.h 776 2007-10-24 23:14:26Z hubert@u.washington.edu $ + ----------------------------------------------------------------------*/ + +/* ======================================================================== + * Copyright 2006-2007 University of Washington + * + * Licensed under the Apache License, Version 2.0 (the "License"); + * you may not use this file except in compliance with the License. + * You may obtain a copy of the License at + * + * http://www.apache.org/licenses/LICENSE-2.0 + * + * ======================================================================== +*/ + +/* + * System-Specific includes, macros and prototypes based on config.h definitions + */ + + +#ifndef _SYSTEM_INCLUDED +#define _SYSTEM_INCLUDED + +#ifndef _WINDOWS +#include "config.h" +#else +#include "config.wnt.h" +#endif + +#include + +#ifdef HAVE_UNISTD_H +# include +#endif + +#ifdef HAVE_CTYPE_H +# include +#endif + +#ifdef STDC_HEADERS +# include + +# if HAVE_STRING_H +# include +# endif + +# if HAVE_STRINGS_H +# include +# endif + +# if HAVE_WCHAR_H +# include +# endif + +# include + +#else +void *malloc (size_t); +void *realloc (void *, size_t); +void free (void *); +size_t strlen (const char *); +int strcmp (const char *, const char *); +char *strcpy (char *, const char *); +char *strcat (char *, const char *); +char *strtok (char *, const char *); +# ifndef HAVE_STRCHR +# warn "No strchr(); trying to use index() instead." +# define strchr index +# define strrchr rindex +# endif +# ifndef HAVE_STRDUP +# error "C library missing strdup()!" +# endif +char *strdup (const char *); +char *strstr (const char *, const char *); +# ifdef HAVE_MEMORY_H +# include +# else +# ifdef HAVE_MEMCPY +void *memcpy(void *, const void *, size_t); +void *memmove(void *, const void *, size_t); +void *memset(void *, int, size_t); +# else +# define memcpy(d, s, n) bcopy ((s), (d), (n)) +# define memmove(d, s, n) bcopy ((s), (d), (n)) +# define memset(d, c, n) bzero ((d), (n)) +# endif +# endif +#endif + +/* Set System Collator */ +#if HAVE_STRCOLL +# define collator strcoll +#else +# define collator strucmp +#endif + +#define PREREQ_FOR_SYS_TRANSLATION (HAVE_WCHAR_H && HAVE_WCRTOMB && HAVE_WCWIDTH && HAVE_MBSTOWCS && HAVE_LANGINFO_H && defined(CODESET) && !defined(_WINDOWS)) + +/* System uin32 definition */ +#if HAVE_STDINT_H +# include +#endif + +#if HAVE_INTTYPES_H +# include +#endif + +#if HAVE_SYS_TYPES_H +# include +#endif + +#if HAVE_SYS_WAIT_H +# include +#endif + +/* set MAXPATH based on what's available */ + +#if HAVE_LIMITS_H +# include +#endif + +#ifdef PATH_MAX +# define MAXPATH PATH_MAX +#else +# if HAVE_SYS_PARAM_H +# include +# endif +# if MAXPATHLEN +# define MAXPATH MAXPATHLEN +# else +# define MAXPATH (512) +# endif +#endif + +#if TIME_WITH_SYS_TIME +# include +# include +#else +# if HAVE_SYS_TIME_H +# include +# else +# include +# endif +#endif + +#if HAVE_UTIME_H +# include +#elif HAVE_SYS_UTIME_H +# include +#endif + +#if HAVE_ERRNO_H +#include +#endif + +#if HAVE_SYS_STAT_H +#include +#endif + +#if HAVE_FCNTL_H +#include +#endif + +#if defined(O_NONBLOCK) +# define NON_BLOCKING_IO O_NONBLOCK +#elif defined(FNDELAY) +# define NON_BLOCKING_IO FNDELAY +#endif + +#if HAVE_PWD_H +# include +#endif + +#if HAVE_SIGNAL_H +# include +#endif + +#if HAVE_SETJMP_H +# include +#endif + +#if HAS_TERMIOS +# include +#endif + +#if HAS_TERMIO +# include +#endif + +#if HAS_SGTTY +# include +#endif + +#if HAVE_NETDB_H +# include +#endif + +#if GWINSZ_IN_SYS_IOCTL +# include +#endif + +#if HAVE_SYS_SOCKET_H +#include +#endif + +#if HAVE_SYS_UIO_H +#include +#endif + +#if HAVE_SYS_UN_H +#include +#else +struct sockaddr_un { + short sun_family; /* AF_UNIX */ + char sun_path[108]; /* path name (gag) */ +}; +#endif + +#if HAVE_PTHREAD_H +# include +#endif + +#if HAVE_ASSERT_H +# include +#endif + +#if HAVE_LOCALE_H +# include +#endif + +#if HAVE_LANGINFO_H +# include +#endif + +#if HAVE_REGEX_H +# include +#endif + +#ifdef ENABLE_NLS + +# include + +# define _(String) gettext (String) +# define N_(String) String + +#else /* !ENABLE_NLS */ + +# define _(String) String +# define N_(String) String + +#endif /* !ENABLE_NLS */ + + +#ifdef ENABLE_LDAP + +# include +# include + +# ifndef LDAPAPI +# if defined(LDAP_API_VERSION) /* draft-ietf-ldapext-ldap-c-api-04 */ +# define LDAPAPI LDAP_API_VERSION +# elif defined(LDAP_OPT_SIZELIMIT) +# define LDAPAPI 15 /* Netscape SDK */ +# elif defined(LDAP_BEGIN_DECL) +# define LDAPAPI 11 /* OpenLDAP 1.x */ +# else /* older version */ +# define LDAPAPI 10 /* Umich */ +# endif + +# ifndef LDAP_OPT_ON +# define LDAP_OPT_ON ((void *)1) +# endif +# ifndef LDAP_OPT_OFF +# define LDAP_OPT_OFF ((void *)0) +# endif +# ifndef LDAP_OPT_SIZELIMIT +# define LDAP_OPT_SIZELIMIT 1134 /* we're hacking now! */ +# endif +# ifndef LDAP_OPT_TIMELIMIT +# define LDAP_OPT_TIMELIMIT 1135 +# endif +# ifndef LDAP_OPT_PROTOCOL_VERSION +# define LDAP_OPT_PROTOCOL_VERSION 1136 +# endif + +# ifndef LDAP_MSG_ONE +# define LDAP_MSG_ONE (0x00) +# define LDAP_MSG_ALL (0x01) +# define LDAP_MSG_RECEIVED (0x02) +# endif +# endif +#endif /* ENABLE_LDAP */ + + +#if defined(DOS) || defined(OS2) +# define NEWLINE "\r\n" /* local EOL convention... */ +#else +# define NEWLINE "\n" /* necessary for gf_* funcs */ +#endif + +#if OSX_TARGET +# include +# include + +/* Avoid OSX Conflicts */ +#define Fixed PineFixed +#define Handle PineHandle +#define Comment PineComment +#define normal PineNormal +#endif + +#if HAVE_SYSLOG_H +# include +#elif HAVE_SYS_SYSLOG_H +# include +#endif + +#ifdef ENABLE_DMALLOC +# include +#endif + +#ifdef _WINDOWS + +/* + * Defining these turns generic data types and function calls + * into their unicode (wide) versions. Not defining it will + * break the code, so leave it defined. + */ +#ifndef _UNICODE +# define _UNICODE +#endif +#ifndef UNICODE +# define UNICODE +#endif + +#define _WIN32_WINNT WINVER + +/*-------- Standard windows defines and then our window module defines. */ +#include +#include +#include +#undef CTRL +#include +#include +#include +#include +#include +#include +#include +#include +#include +#include + +#if defined(WINVER) && WINVER >= 0x0501 +# define WINCRED 1 /* WINCRED will work */ +#else +# define WINCRED 0 /* too old for WINCRED to work */ +#endif + +#undef ERROR + +typedef int mode_t; +typedef int uid_t; +typedef int gid_t; + +#undef snprintf +#define snprintf _snprintf +#undef CM_NONE + +#undef utimbuf +#define utimbuf _utimbuf + +#endif /* _WINDOWS */ + + +#if defined(PASSFILE) && defined(APPLEKEYCHAIN) +# error "Cant define both PASSFILE and APPLEKEYCHAIN" +#endif +#if defined(PASSFILE) && defined(WINCRED) +# error "Cant define both PASSFILE and WINCRED" +#endif +#if defined(APPLEKEYCHAIN) && defined(WINCRED) +# error "Cant define both APPLEKEYCHAIN and WINCRED" +#endif + +#if defined(PASSFILE) || defined(APPLEKEYCHAIN) || defined(WINCRED) +# define LOCAL_PASSWD_CACHE +#endif + +#endif /* _SYSTEM_INCLUDED */ -- cgit v1.2.3-54-g00ecf