#include <config.h>
-#include <unistd.h>
#include <stdio.h>
-#include <ctype.h>
-#include <sys/stat.h>
-
-#include <dirent.h>
-
#include <stdlib.h>
-#include <stdarg.h>
#include <string.h>
-#ifdef HAVE_SYS_PARAM_H
-# include <sys/param.h>
-#endif
-
-#include <locale.h>
-#include <limits.h>
/*
** Well-used constants
#include <h/mh.h>
#include <h/utils.h>
+#include <stdarg.h>
static char *
#include <h/mh.h> /* mh internals */
#include <errno.h> /* system call errors */
#include <pwd.h> /* structure for getpwuid() results */
+#include <unistd.h>
+#include <sys/stat.h>
void
context_read(void)
** complete copyright information.
*/
+#include <unistd.h>
#include <h/mh.h>
void
** complete copyright information.
*/
+#include <unistd.h>
#include <h/mh.h>
/*
#include <h/mh.h>
#include <h/crawl_folders.h>
#include <h/utils.h>
+#include <dirent.h>
+#include <sys/stat.h>
struct crawl_context {
int max; /*
#include <h/mh.h>
#include <errno.h>
+#include <stdarg.h>
/*
*/
#include <h/mh.h>
+#include <unistd.h>
+#include <stdarg.h>
int
#include <h/tws.h>
#include <h/fmt_scan.h>
#include <h/fmt_compile.h>
+#include <ctype.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#include <h/mh.h>
#include <h/utils.h>
+#include <unistd.h>
+#include <sys/stat.h>
static char *formats = NULL;
#include <h/fmt_scan.h>
#include <h/tws.h>
#include <h/fmt_compile.h>
+#include <ctype.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
** complete copyright information.
*/
+#include <unistd.h>
#include <h/mh.h>
#include <fcntl.h>
#include <errno.h>
+#include <sys/stat.h>
/*
** Link message into a folder. Return the new number
** complete copyright information.
*/
+#include <unistd.h>
#include <h/mh.h>
/*
** complete copyright information.
*/
+#include <unistd.h>
#include <h/mh.h>
#include <h/utils.h>
+#include <dirent.h>
+#include <sys/stat.h>
/* We allocate the `mi' array 1024 elements at a time */
#define NUMMSGS 1024
*/
#include <h/mh.h>
+#include <ctype.h>
int
#include <h/mh.h>
#include <stdio.h>
+#include <unistd.h>
int
** Ruud de Rooij <ruud@debian.org> Sun, 28 Mar 1999 15:34:03 +0200
*/
+#include <unistd.h>
#include <h/mh.h>
#include <h/signals.h>
#include <h/utils.h>
+#include <sys/stat.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
*/
#include <h/mh.h>
+#include <ctype.h>
int
/* FIXME: This code needs rework! Rewrite as a parser? */
#include <h/mh.h>
+#include <ctype.h>
/*
** error codes for sequence
#include <h/mh.h>
#include <h/utils.h>
+#include <ctype.h>
/*
** This module has a long and checkered history.
** complete copyright information.
*/
-#include <errno.h>
#include <h/mh.h>
+#include <errno.h>
+#include <unistd.h>
+#include <sys/stat.h>
static char *get_temp_dir();
#include <errno.h>
#include <sys/param.h>
#include <sys/file.h>
+#include <sys/stat.h>
int
makedir(char *dir)
#include <pwd.h>
#include <sys/socket.h>
#include <netdb.h>
+#include <unistd.h>
/*
** static prototypes
#include <h/mh.h>
#include <pwd.h>
+#include <unistd.h>
/*
*/
#include <h/mh.h>
+#include <ctype.h>
/*
#include <h/mh.h>
#include <h/signals.h>
+#include <unistd.h>
/*
*/
#include <h/mh.h>
+#include <ctype.h>
/*
** Our version of strcasecmp has to deal with NULL strings.
*/
#include <h/mh.h>
+#include <ctype.h>
char *
*/
#include <h/mh.h>
+#include <ctype.h>
char *
#include <stdlib.h>
#include <fcntl.h>
#include <errno.h>
+#include <unistd.h>
+#include <sys/stat.h>
/*
** We allocate space for messages (msgs array)
#include <h/addrsbr.h>
#include <h/aliasbr.h>
#include <h/utils.h>
+#include <locale.h>
/*
** maximum number of names
#include <h/utils.h>
#include <grp.h>
#include <pwd.h>
+#include <ctype.h>
static int akvis;
static char *akerrst;
#include <fcntl.h>
#include <errno.h>
#include <utime.h>
+#include <unistd.h>
+#include <ctype.h>
+#include <sys/stat.h>
+#include <locale.h>
static enum { MODE_ADD, MODE_DEL, MODE_LIST } mode = MODE_ADD;
#include <h/mh.h>
#include <h/addrsbr.h>
#include <h/fmt_scan.h>
+#include <locale.h>
#define NADDRS 100
*/
#include <h/mh.h>
+#include <unistd.h>
+#include <sys/stat.h>
+#include <locale.h>
static struct swit switches[] = {
#define VERBSW 0
#include <h/mh.h>
#include <h/utils.h>
#include <fcntl.h>
+#include <unistd.h>
+#include <locale.h>
static struct swit switches[] = {
#define EDITRSW 0
#include <h/mh.h>
#include <h/utils.h>
#include <fcntl.h>
+#include <unistd.h>
+#include <locale.h>
static struct swit switches[] = {
#define ANNOSW 0
#include <h/mh.h>
#include <fcntl.h>
#include <h/utils.h>
+#include <unistd.h>
+#include <ctype.h>
+#include <sys/stat.h>
static int hdrfd = NOTOK;
static int txtfd = NOTOK;
#include <h/mh.h>
#include <h/fmt_scan.h>
#include <h/tws.h>
+#include <locale.h>
#define NDATES 100
** complete copyright information.
*/
-#include <stdlib.h>
-#include <h/utils.h>
-
#include <h/mh.h>
+#include <h/utils.h>
#include <h/dropsbr.h>
#include <h/tws.h>
#include <errno.h>
#include <fcntl.h>
+#include <stdlib.h>
+#include <unistd.h>
+#include <sys/stat.h>
/*
#include <h/mh.h>
#include <h/utils.h>
+#include <unistd.h>
+#include <ctype.h>
+#include <dirent.h>
+#include <sys/stat.h>
+#include <locale.h>
/*
** We allocate space to record the names of folders
#include <h/fmt_scan.h>
#include <h/fmt_compile.h>
#include <h/scansbr.h>
+#include <locale.h>
static struct swit switches[] = {
#define FORMSW 0
#include <h/crawl_folders.h>
#include <h/utils.h>
#include <errno.h>
+#include <unistd.h>
+#include <locale.h>
static struct swit switches[] = {
#define ALLSW 0
#include <h/fmt_scan.h>
#include <h/tws.h>
#include <h/utils.h>
-
+#include <unistd.h>
+#include <locale.h>
#define IFORMAT "digest-issue-%s"
#define VFORMAT "digest-volume-%s"
#include <h/mh.h>
#include <h/utils.h>
#include <fcntl.h>
-
#include <h/fmt_scan.h>
#include <h/scansbr.h>
#include <h/signals.h>
#include <h/tws.h>
#include <errno.h>
#include <signal.h>
+#include <unistd.h>
+#include <sys/stat.h>
+#include <locale.h>
+
+#ifdef HAVE_SYS_PARAM_H
+# include <sys/param.h>
+#endif
static struct swit switches[] = {
#define AUDSW 0
#include <h/mh.h>
#include <h/utils.h>
+#include <unistd.h>
+#include <locale.h>
static struct swit switches[] = {
#define ADDSW 0
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/utils.h>
+#include <unistd.h>
+#include <ctype.h>
+#include <sys/stat.h>
+#include <locale.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#include <errno.h>
#include <h/mime.h>
#include <h/mhparse.h>
+#include <unistd.h>
/* The list of top-level contents to display */
CT *cts = NULL;
#include <h/tws.h>
#include <h/utils.h>
#include <signal.h>
+#include <ctype.h>
+#include <sys/stat.h>
+#include <locale.h>
/*
** MAJOR BUG:
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/utils.h>
+#include <unistd.h>
+#include <sys/stat.h>
+#include <locale.h>
static struct swit switches[] = {
#define VERBSW 0
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/utils.h>
+#include <sys/stat.h>
/* mhmisc.c */
int part_ok(CT, int);
#include <h/utils.h>
#include <signal.h>
#include <fcntl.h>
-
+#include <unistd.h>
+#include <sys/stat.h>
+#include <locale.h>
static struct swit switches[] = {
#define BODYSW 0
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/utils.h>
+#include <stdarg.h>
+#include <sys/stat.h>
extern int debugsw;
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/utils.h>
+#include <unistd.h>
+#include <ctype.h>
+#include <sys/stat.h>
extern int debugsw;
#include <h/mh.h>
#include <h/utils.h>
+#include <unistd.h>
+#include <locale.h>
static struct swit switches[] = {
#define VERSIONSW 0
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/utils.h>
+#include <unistd.h>
+#include <sys/stat.h>
+#include <locale.h>
static struct swit switches[] = {
#define VERBSW 0
#include <h/mhparse.h>
#include <h/utils.h>
#include <sys/wait.h>
+#include <unistd.h>
+#include <sys/stat.h>
extern int debugsw;
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/utils.h>
+#include <unistd.h>
+#include <sys/stat.h>
+#include <locale.h>
static struct swit switches[] = {
#define AUTOSW 0
#include <h/mime.h>
#include <h/mhparse.h>
#include <h/utils.h>
+#include <unistd.h>
+#include <sys/stat.h>
+#include <locale.h>
static struct swit switches[] = {
#define VERBSW 0
** Inspired by Luke Mewburn's new: http://www.mewburn.net/luke/src/new
*/
+#include <h/mh.h>
+#include <h/crawl_folders.h>
+#include <h/utils.h>
#include <sys/types.h>
-
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
-
-#include <h/mh.h>
-#include <h/crawl_folders.h>
-#include <h/utils.h>
+#include <unistd.h>
+#include <locale.h>
static struct swit switches[] = {
#define MODESW 0
#include <h/dropsbr.h>
#include <h/utils.h>
#include <errno.h>
+#include <unistd.h>
+#include <locale.h>
static struct swit switches[] = {
#define VERSIONSW 0
#include <h/mh.h>
#include <h/tws.h>
#include <h/utils.h>
+#include <unistd.h>
+#include <locale.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#include <signal.h>
#include <setjmp.h>
#include <unistd.h>
+#include <ctype.h>
+#include <sys/stat.h>
+#include <locale.h>
static struct swit switches[] = {
#define PREPSW 0
#include <h/rcvmail.h>
#include <h/tws.h>
#include <h/utils.h>
+#include <unistd.h>
+#include <sys/stat.h>
+#include <locale.h>
static struct swit switches[] = {
#define FORMSW 0
#include <h/dropsbr.h>
#include <h/rcvmail.h>
#include <h/tws.h>
+#include <unistd.h>
+#include <locale.h>
static struct swit switches[] = {
#define VERSIONSW 0
#include <h/signals.h>
#include <errno.h>
#include <signal.h>
+#include <unistd.h>
+#include <sys/stat.h>
+#include <locale.h>
static struct swit switches[] = {
#define CRETSW 0
#include <h/utils.h>
#include <fcntl.h>
#include <errno.h>
+#include <unistd.h>
+#include <locale.h>
static struct swit switches[] = {
#define LINKSW 0
#include <h/fmt_scan.h>
#include <sys/file.h> /* L_SET */
#include <errno.h>
-
+#include <unistd.h>
+#include <ctype.h>
+#include <sys/stat.h>
+#include <locale.h>
static struct swit switches[] = {
#define GROUPSW 0
*/
#include <h/mh.h>
+#include <unistd.h>
+#include <dirent.h>
+#include <locale.h>
static struct swit switches[] = {
#define INTRSW 0
#include <h/mh.h>
#include <h/utils.h>
+#include <unistd.h>
+#include <locale.h>
static struct swit switches[] = {
#define UNLINKSW 0
#include <h/tws.h>
#include <h/utils.h>
#include <errno.h>
+#include <unistd.h>
+#include <locale.h>
static struct swit switches[] = {
#define FORMSW 0
#include <h/scansbr.h>
#include <h/tws.h>
#include <h/utils.h>
+#include <ctype.h>
+#include <sys/stat.h>
#ifdef _FSTDIO
# define _ptr _p /* Gag */
#include <h/utils.h>
#include <sysexits.h>
#include <sys/wait.h>
+#include <unistd.h>
+#include <ctype.h>
+#include <sys/stat.h>
+#include <locale.h>
#ifdef HAVE_SYS_TIME_H
# include <sys/time.h>
#endif
#include <time.h>
+#ifdef HAVE_SYS_PARAM_H
+# include <sys/param.h>
+#endif
+
int debugsw = 0; /* global */
char *altmsg = NULL;
char *annotext = NULL;
**
*/
-
#include <h/mh.h>
#include <h/rcvmail.h>
#include <h/signals.h>
#include <h/tws.h>
#include <h/utils.h>
-
#include <pwd.h>
#include <signal.h>
#include <sys/ioctl.h>
#include <fcntl.h>
+#include <unistd.h>
+#include <stdarg.h>
+#include <sys/stat.h>
+#include <locale.h>
#ifdef INITGROUPS_HEADER
#include INITGROUPS_HEADER
#include <h/mh.h>
#include <h/tws.h>
#include <h/utils.h>
+#include <unistd.h>
+#include <ctype.h>
+#include <sys/stat.h>
+#include <locale.h>
+
+#ifdef HAVE_SYS_PARAM_H
+# include <sys/param.h>
+#endif
static struct swit switches[] = {
#define DATESW 0
#include <h/dropsbr.h>
#include <h/tws.h>
#include <h/utils.h>
+#include <unistd.h>
+#include <locale.h>
#define MAX_SM_FIELD 1476 /* < largest hdr field sendmail will accept */
#include <signal.h>
#include <h/mime.h>
#include <h/utils.h>
+#include <unistd.h>
+#include <sys/stat.h>
+#include <locale.h>
+
+#ifdef HAVE_SYS_PARAM_H
+# include <sys/param.h>
+#endif
static struct swit switches[] = {
#define EDITRSW 0
*/
#include <h/mh.h>
+#include <unistd.h>
/*
#include <h/addrsbr.h>
#include <h/fmt_scan.h>
#include <h/utils.h>
+#include <locale.h>
static struct swit switches[] = {
#define VERSIONSW 0