From 50b3d54cadeda8be3e837358f43e0e9b904d091a Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 4 Oct 1996 17:58:17 +0000 Subject: Restore --mda, with cleaner implementation this time. svn path=/trunk/; revision=214 --- fetchmail.h | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'fetchmail.h') diff --git a/fetchmail.h b/fetchmail.h index 70f97fc1..56d04747 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -27,6 +27,7 @@ #define PASSWORDLEN MAX_PASSWORD_LENGTH #define FOLDERLEN 256 /* max folder name length */ #define DIGESTLEN 33 /* length of MD5 digest */ +#define MDALEN 256 /* length of delivery agent command */ #define IDLEN 128 /* length of UIDL message ID */ /* exit code values */ @@ -58,9 +59,14 @@ struct hostrec char password [PASSWORDLEN+1]; char remotefolder [FOLDERLEN]; char smtphost[HOSTLEN+1]; + char mda [MDALEN+1]; int protocol; int port; + /* MDA arguments */ + char *mda_argv[32]; + char mdabuf[MDALEN+1]; + /* control flags */ int keep; int fetchall; @@ -121,6 +127,7 @@ int parsecmdline (int, char **, struct hostrec *); int setdefaults (struct hostrec *); char *getnextserver (int argc, char **, int *); char *MD5Digest (char *); +int openmailpipe (struct hostrec *); void append_server_names(int *, char **, int); int daemonize(const char *, void (*)(int)); -- cgit v1.2.3