* Fix some compiler warnings for bad casting in some functions in the file
[alpine.git] / include / config.wnt.h
blob055176498f1d093148905db094b015071af55cfb
1 /* include/config.h.in. Generated from configure.ac by autoheader. */
3 /* Default configuration value */
4 #define ANSI_PRINTER "attached-to-ansi"
6 /* Enable background posting support */
7 #undef BACKGROUND_POST
9 /* Default configuration value */
10 #define CHECK_POINT_FREQ 12
12 /* Default configuration value */
13 #define CHECK_POINT_TIME 420
15 /* File name separator as character constant */
16 #define C_FILESEP '\\'
17 /* Avoid OSX Conflict */
18 /* #undef Comment */
20 /* Default configuration value */
21 #define DEADLETTER "deadletr"
23 /* Compile in debugging */
24 #define DEBUG
26 /* Default configuration value */
27 #define DEBUGFILE "pinedebg"
29 /* Default extension for debug files */
30 #define DEBUGFILEEXT ".txt"
32 /* Display debug messages in journal */
33 #define DEBUGJOURNAL
35 /* Default configuration value */
36 #define DEFAULT_COLUMNS_ON_TERMINAL 80
38 /* Default configuration value */
39 #define DEFAULT_DEBUG 2
41 /* Default configuration value */
42 #define DEFAULT_LINES_ON_TERMINAL 25
44 /* Default configuration value */
45 #define DEFAULT_SAVE "savemail"
47 /* Default configuration value */
48 #define DF_AB_SORT_RULE "fullname-with-lists-last"
50 /* Default configuration value */
51 #define DF_ADDRESSBOOK "addrbook"
53 /* Default configuration value */
54 #define DF_DEFAULT_FCC "sentmail"
56 /* Default configuration value */
57 #define DF_DEFAULT_PRINTER ANSI_PRINTER
59 /* Default configuration value */
60 #define DF_ELM_STYLE_SAVE "no"
62 /* Default configuration value */
63 #define DF_ENCRYPTION_RANGE "no_min,no_max"
65 /* Default configuration value */
66 #define DF_FCC_RULE "default-fcc"
68 /* Default configuration value */
69 #define DF_FILLCOL "74"
71 /* Default configuration value */
72 #define DF_FLD_SORT_RULE "alphabetical"
74 /* Default configuration value */
75 #define DF_HEADER_IN_REPLY "no"
77 /* Default configuration value */
78 #define DF_KBLOCK_PASSWD_COUNT "1"
80 /* Default configuration value */
81 #define DF_LOCAL_ADDRESS "postmaster"
83 /* Default configuration value */
84 #define DF_LOCAL_FULLNAME "Local Support"
86 /* Default configuration value */
87 #define DF_MAILCHECK "150"
89 /* Default configuration value */
90 #define DF_MAIL_DIRECTORY "mail"
92 /* Default configuration value */
93 #define DF_MARGIN "0"
95 /* Default configuration value */
96 #define DF_OLD_STYLE_REPLY "no"
98 /* Default configuration value */
99 #define DF_OVERLAP "2"
101 #define DF_PINEDIR "\\pine"
103 /* Default configuration value */
104 #define DF_REMOTE_ABOOK_HISTORY "3"
106 /* Default configuration value */
107 #define DF_SAVED_MSG_NAME_RULE "default-folder"
109 /* Default configuration value */
110 #define DF_SAVE_BY_SENDER "no"
112 /* Default configuration value */
113 #define DF_SIGNATURE_FILE "pine.sig"
115 /* Default configuration value */
116 #define DF_SORT_KEY "arrival"
118 /* Default configuration value */
119 #define DF_STANDARD_PRINTER "lpr"
121 /* Default configuration value */
122 #define DF_USE_ONLY_DOMAIN_NAME "no"
124 /* Default configuration value */
125 #define DF_HTML_DIRECTORY "alpine-html"
127 /* Default extension for html files */
128 #define HTML_EXT "htm"
130 /* Define enable dmalloc debugging */
131 /* #undef ENABLE_DMALLOC */
133 /* Enable LDAP query support - the build command defines this */
134 /* #define ENABLE_LDAP */
136 /* Define to 1 if translation of program messages to the user's native
137 language is requested. */
138 /* #define ENABLE_NLS 1 */ /* What should this be? - jpf */
140 /* Enable From address encoding in sent messages */
141 /* #undef ENCODE_FROMS */
143 #define FORWARDED_FLAG "$Forwarded"
145 /* Avoid OSX Conflict */
146 /* #undef Fixed */
148 /* Define to 1 if `TIOCGWINSZ' requires <sys/ioctl.h>. */
149 /* #undef GWINSZ_IN_SYS_IOCTL */
151 /* Define if systems uses old BSD-style terminal control */
152 /* #undef HAS_SGTTY */
154 /* Define if systems uses termcap terminal database */
155 /* #undef HAS_TERMCAP */
157 /* Define if systems uses terminfo terminal database */
158 /* #undef HAS_TERMINFO */
160 /* Define if systems uses termio terminal control */
161 /* #undef HAS_TERMIO */
163 /* Define if systems uses termios terminal control */
164 /* #undef HAS_TERMIOS */
166 /* Define to 1 if you have the `bind' function. */
167 /* #undef HAVE_BIND */
169 /* Define to 1 if you have the MacOS X function CFLocaleCopyCurrent in the
170 CoreFoundation framework. */
171 /* #undef HAVE_CFLOCALECOPYCURRENT */
173 /* Define to 1 if you have the MacOS X function CFPreferencesCopyAppValue in
174 the CoreFoundation framework. */
175 /* #undef HAVE_CFPREFERENCESCOPYAPPVALUE */
177 /* Define to 1 if you have the `chown' function. */
178 /* #undef HAVE_CHOWN */
180 /* Define if the GNU dcgettext() function is already present or preinstalled.
182 /* #undef HAVE_DCGETTEXT */
184 /* Define to 1 if you have the <dirent.h> header file, and it defines `DIR'.
186 /* #undef HAVE_DIRENT_H */
188 /* Define to 1 if you have the <dlfcn.h> header file. */
189 /* #define HAVE_DLFCN_H */
191 /* Define to 1 if you have the <errno.h> header file. */
192 #define HAVE_ERRNO_H 1
194 /* Define to 1 if you have the <fcntl.h> header file. */
195 #define HAVE_FCNTL_H 1
197 /* Define to 1 if you have the `fork' function. */
198 /* #define HAVE_FORK */
200 /* Define to 1 if you have the `fsync' function. */
201 /* #define HAVE_FSYNC */
203 /* Define to 1 if you have the `getpwnam' function. */
204 /* #define HAVE_GETPWNAM */
206 /* Define to 1 if you have the `getpwuid' function. */
207 /* #define HAVE_GETPWUID */
209 /* Define if the GNU gettext() function is already present or preinstalled. */
210 /* #define HAVE_GETTEXT */
212 /* Define to 1 if you have the `gettimeofday' function. */
213 /* #define HAVE_GETTIMEOFDAY */
215 /* Define to 1 if you have the `getuid' function. */
216 /* #define HAVE_GETUID */
218 /* Define if you have the iconv() function. */
219 /* #define HAVE_ICONV */
221 /* Define to 1 if you have the <inttypes.h> header file. */
222 /* #define HAVE_INTTYPES_H */
224 /* Define to 1 if you have the `dmalloc' library (-ldmalloc). */
225 /* #define HAVE_LIBDMALLOC */
227 /* Define to 1 if you have the `tcl' library (-ltcl). */
228 /* #define HAVE_LIBTCL */
230 /* Define to 1 if you have the <limits.h> header file. */
231 #define HAVE_LIMITS_H 1
233 /* Define to 1 if you have the `listen' function. */
234 #define HAVE_LISTEN 1
236 /* Define to 1 if you have the <locale.h> header file. */
237 #define HAVE_LOCALE_H 1
239 /* Define to 1 if you have the `mbstowcs' function. */
240 #define HAVE_MBSTOWCS 1
242 /* Define to 1 if you have the `memcpy' function. */
243 #define HAVE_MEMCPY 1
245 /* Define to 1 if you have the <memory.h> header file. */
246 #define HAVE_MEMORY_H 1
248 /* Define to 1 if you have the <ndir.h> header file, and it defines `DIR'. */
249 /* #define HAVE_NDIR_H */
251 /* Define to 1 if you have the <netdb.h> header file. */
252 /* #define HAVE_NETDB_H */
254 /* Define to 1 if you have the <pwd.h> header file. */
255 /* #define HAVE_PWD_H */
257 /* Define to 1 if you have the `pclose' function. */
258 /* #define HAVE_PCLOSE 1 */
260 /* Define to 1 if you have the `poll' function. */
261 /* #define HAVE_POLL */
263 /* Define to 1 if you have the `popen' function. */
264 /* #define HAVE_POPEN 1 */
266 /* Define to 1 if you have the `qsort' function. */
267 #define HAVE_QSORT 1
269 /* Define to 1 if you have the `read' function. */
270 #define HAVE_READ 1
272 /* Define to 1 if you have the `rename' function. */
273 /* #define HAVE_RENAME */
275 /* Define to 1 if you have the `select' function. */
276 #define HAVE_SELECT 1
278 /* Define to 1 if you have the `setjmp' function. */
279 #define HAVE_SETJMP 1
281 /* Define to 1 if you have the <setjmp.h> header file. */
282 #define HAVE_SETJMP_H 1
284 /* Define to 1 if you have the `sigaction' function. */
285 /* #define HAVE_SIGACTION */
287 /* Define to 1 if you have the `sigaddset' function. */
288 /* #define HAVE_SIGADDSET */
290 /* Define to 1 if you have the `sigemptyset' function. */
291 /* #define HAVE_SIGEMPTYSET */
293 /* Define to 1 if you have the `signal' function. */
294 #define HAVE_SIGNAL 1
296 /* Define to 1 if you have the <signal.h> header file. */
297 #define HAVE_SIGNAL_H 1
299 /* Define to 1 if you have the `sigprocmask' function. */
300 /* #define HAVE_SIGPROCMASK */
302 /* Define to 1 if you have the `sigrelse' function. */
303 /* #define HAVE_SIGRELSE */
305 /* Define to 1 if you have the `sigset' function. */
306 /* #define HAVE_SIGSET */
308 /* Define to 1 if you have the `srandom' function. */
309 /* #define HAVE_SRANDOM */
311 /* Define to 1 if you have the <stdint.h> header file. */
312 /* #define HAVE_STDINT_H */
314 /* Define to 1 if you have the <stdlib.h> header file. */
315 #define HAVE_STDLIB_H 1
317 /* Define to 1 if you have the `strchr' function. */
318 #define HAVE_STRCHR 1
320 /* Define to 1 if you have the `strcoll' function and it is properly defined.
322 #define HAVE_STRCOLL 1
324 /* Define to 1 if you have the <strings.h> header file. */
325 /* #define HAVE_STRINGS_H */
327 /* Define to 1 if you have the <string.h> header file. */
328 #define HAVE_STRING_H 1
330 /* Define to 1 if you have the <stropts.h> header file. */
331 /* #define HAVE_STROPTS_H */
333 /* Define to 1 if you have the `strtol' function. */
334 #define HAVE_STRTOL 1
336 /* Define to 1 if you have the `strtoul' function. */
337 #define HAVE_STRTOUL 1
339 /* Define to 1 if you have the <syslog.h> header file. */
340 /* #define HAVE_SYSLOG_H */
342 /* Define to 1 if you have the <sys/dir.h> header file, and it defines `DIR'.
344 /* #define HAVE_SYS_DIR_H */
346 /* Define to 1 if you have the <sys/ndir.h> header file, and it defines `DIR'.
348 /* #define HAVE_SYS_NDIR_H */
350 /* Define to 1 if you have the <sys/param.h> header file. */
351 /* #define HAVE_SYS_PARAM_H */
353 /* Define to 1 if you have the <sys/poll.h> header file. */
354 /* #define HAVE_SYS_POLL_H */
356 /* Define to 1 if you have the <sys/select.h> header file. */
357 /* #define HAVE_SYS_SELECT_H */
359 /* Define to 1 if you have the <sys/socket.h> header file. */
360 /* #define HAVE_SYS_SOCKET_H */
362 /* Define to 1 if you have the <sys/stat.h> header file. */
363 #define HAVE_SYS_STAT_H 1
365 /* Define to 1 if you have the <sys/types.h> header file. */
366 #define HAVE_SYS_TYPES_H 1
368 /* Define to 1 if you have the <sys/un.h> header file. */
369 /* #define HAVE_SYS_UN_H */
371 #define HAVE_SYS_UTIME_H 1
373 /* Define to 1 if you have <sys/wait.h> that is POSIX.1 compatible. */
374 /* #define HAVE_SYS_WAIT_H */
376 /* Define to 1 if you have the <term.h> header file. */
377 /* #define HAVE_TERM_H */
379 /* Define to 1 if you have the `tmpfile' function. */
380 #define HAVE_TMPFILE 1
382 /* Define to 1 if you have the `truncate' function. */
383 /* #define HAVE_TRUNCATE */
385 /* Define to 1 if you have the `uname' function. */
386 /* #define HAVE_UNAME */
388 /* Define to 1 if the system has the type `union wait'. */
389 /* #define HAVE_UNION_WAIT */
391 /* Define to 1 if you have the <unistd.h> header file. */
392 /* #define HAVE_UNISTD_H */
394 /* Define to 1 if you have the `vfork' function. */
395 /* #define HAVE_VFORK */
397 /* Define to 1 if you have the <vfork.h> header file. */
398 /* #define HAVE_VFORK_H */
400 /* Define to 1 if you have the `wait' function. */
401 /* #define HAVE_WAIT */
403 /* Define to 1 if you have the `wait4' function. */
404 /* #define HAVE_WAIT4 */
406 /* Define to 1 if you have the `waitpid' function. */
407 /* #define HAVE_WAITPID */
409 /* Define to 1 if you have the <wchar.h> header file. */
410 #define HAVE_WCHAR_H 1
412 /* Define to 1 if `fork' works. */
413 /* #define HAVE_WORKING_FORK */
415 /* Define to 1 if `vfork' works. */
416 /* #define HAVE_WORKING_VFORK */
418 /* Always 1 because we use regex/regex.h */
419 #define HAVE_REGEX_H 1
421 /* Avoid OSX Conflict */
422 /* #undef Handle */
424 /* Default configuration value */
425 #define INBOX_NAME "INBOX"
427 /* Default configuration value */
428 #define INTERRUPTED_MAIL "intruptd"
430 /* Path to local inboxes for pico newmail check */
431 #undef MAILDIR
433 /* Default configuration value */
434 #define MAX_FILLCOL 80
436 /* Default configuration value */
437 #define MAX_SCREEN_COLS 500
439 /* Default configuration value */
440 #define MAX_SCREEN_ROWS 200
442 /* File mode used to set readonly access */
443 #undef MODE_READONLY
445 /* Compile in mouse support */
446 #define MOUSE
447 /* Windows has this set */
448 #define EX_MOUSE
450 /* Disallow users changing their From address */
451 /* #undef NEVER_ALLOW_CHANGING_FROM */
453 /* Disable keyboard lock support */
454 /* #undef NO_KEYBOARD_LOCK */
456 /* Default configuration value */
457 #define NUMDEBUGFILES 4
459 /* Name of package */
460 #define PACKAGE "alpine"
462 /* Define to the address where bug reports for this package should be sent. */
463 #define PACKAGE_BUGREPORT "chappa@gmx.com"
465 /* Define to the full name of this package. */
466 #define PACKAGE_NAME "alpine"
468 /* Define to the full name and version of this package. */
469 #define PACKAGE_STRING "alpine 2.26"
471 /* Define to the one symbol short name of this package. */
472 #define PACKAGE_TARNAME "alpine"
474 /* Define to the version of this package. */
475 #define PACKAGE_VERSION "2.26"
477 /* Program users use to change their password */
478 /* #undef PASSWD_PROG */
480 /* Define if system supports POSIX signal interface */
481 /* #define POSIX_SIGNALS */
483 /* Default configuration value */
484 #define POSTPONED_MAIL "postpone"
486 /* Default configuration value */
487 #define POSTPONED_MSGS "postpond"
489 /* Default Trash folder for Web Alpine */
490 #define TRASH_FOLDER "Trash"
492 /* Define as the return type of signal handlers (`int' or `void'). */
493 #define RETSIGTYPE void
495 /* Define to the type of arg 1 for `select'. */
496 #define SELECT_TYPE_ARG1 int
498 /* Define to the type of args 2, 3 and 4 for `select'. */
499 #define SELECT_TYPE_ARG234 (fd_set *)
501 /* Define to the type of arg 5 for `select'. */
502 #define SELECT_TYPE_ARG5 (struct timeval *)
504 /* Local mail submission agent */
505 /* #define SENDMAIL */
507 /* Local MSA flags for SMTP on stdin/stdout */
508 /* #define SENDMAILFLAGS */
510 /* Posting agent to use when no nntp-servers defined */
511 /* #define SENDNEWS */
513 /* The size of a `unsigned int', as computed by sizeof. */
514 /* #define SIZEOF_UNSIGNED_INT */
516 /* The size of a `unsigned long', as computed by sizeof. */
517 /* #define SIZEOF_UNSIGNED_LONG */
519 /* The size of a `unsigned short', as computed by sizeof. */
520 /* #define SIZEOF_UNSIGNED_SHORT */
522 /* Program pico uses to check spelling */
523 #define SPELLER
525 /* Define to 1 if the `S_IS*' macros in <sys/stat.h> do not work properly. */
526 /* #define STAT_MACROS_BROKEN */
528 /* Define to 1 if you have the ANSI C header files. */
529 #define STDC_HEADERS 1
531 /* Default configuration value */
532 #define SYSTEM_PINERC "pinerc"
534 /* Default configuration value */
535 /* #define SYSTEM_PINERC_FIXED */
537 /* Pine-Centric Host Specifier */
538 #define SYSTYPE "WNT"
540 /* Define if system supports SYSV signal interface */
541 /* #define SYSV_SIGNALS */
543 /* File name separator as string constant */
544 #define S_FILESEP "\\"
546 /* Enable S/MIME if LibreSSL */
547 #ifdef ENABLE_WINDOWS_UNIXSSL
548 #define SMIME
549 /* Location of certificates in the system */
550 #define SMIME_SSLCERTS "C:\\libressl\\ssl\\certs"
552 /* Default configuration value */
553 #define DF_PRIVATEKEY_DIR "alpine-smime\\private"
555 /* Default configuration value */
556 #define DF_PUBLICCERT_DIR "alpine-smime\\public"
558 /* Name of default public container */
559 #define DF_CACERT_DIR "alpine-smime\\ca"
561 /* Name of default public container */
562 #define DF_PUBLIC_CONTAINER "PublicContainer"
564 /* Name of default private container */
565 #define DF_PRIVATE_CONTAINER "PrivateContainer"
567 /* Name of default certificate authority container */
568 #define DF_CA_CONTAINER "CAContainer"
569 #endif /* ENABLE_WINDOWS_UNIXSSL */
571 #if defined(ENABLE_WINDOWS_UNIXSSL) && defined(WXPBUILD)
572 #define WINDOWS_UNIXSSL_CERTS
573 #if defined(WXPBUILD)
574 #define DEFAULT_SSLCAPATH "C:\\libressl\\ssl\\certs"
575 #define DEFAULT_SSLCAFILE "C:\\libressl\\ssl\\certs\\cert.pem"
576 #endif /* WXPBUILD */
577 #endif /* defined(ENABLE_WINDOWS_UNIXSSL) && defined(WXPBUILD) */
579 /* Define to 1 if you can safely include both <sys/time.h> and <time.h>. */
580 /* #define TIME_WITH_SYS_TIME */
582 /* Define to 1 if your <sys/time.h> declares `struct tm'. */
583 /* #define TM_IN_SYS_TIME */
585 /* System defined unsigned 16 bit integer */
586 /* #define UINT16 uint16_t */
587 /* #define UINT16 unsigned int */
589 /* System defined unsigned 32 bit integer */
590 /* #define UINT32 uint32_t */
591 /* #define UINT32 unsigned long */
592 #define SUINT32 UINT32
594 /* Compile in quota check on startup */
595 /* #define USE_QUOTAS */
597 /* Enable internal utf8 handling */
598 #define UTF8_INTERNAL
600 /* Version number of package */
601 #define VERSION "2.26"
603 /* Windows is just too different */
604 #ifndef _WINDOWS
605 #define _WINDOWS
606 #endif
608 /* Define to `int' if <sys/types.h> doesn't define. */
609 /* #define gid_t */
611 /* Define to `int' if <sys/types.h> does not define. */
612 /* #define mode_t */
614 /* Define to `int' if <sys/types.h> does not define. */
615 #define pid_t int
617 /* qsort compare function argument type */
618 #define qsort_t void
620 /* Define to `unsigned' if <sys/types.h> does not define. */
621 /* #define size_t */
623 /* Define to `int' if <sys/types.h> doesn't define. */
624 /* #define uid_t */
626 /* Define as `fork' if `vfork' does not work. */
627 /* #define vfork */