diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-04 17:58:17 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-04 17:58:17 +0000 |
commit | 50b3d54cadeda8be3e837358f43e0e9b904d091a (patch) | |
tree | 053b6784c6706e60e870986e78c52b1085a7f09d /fetchmail.h | |
parent | c6a786da423edc936db3d62e00ce2dc06b2e2a44 (diff) | |
download | fetchmail-50b3d54cadeda8be3e837358f43e0e9b904d091a.tar.gz fetchmail-50b3d54cadeda8be3e837358f43e0e9b904d091a.tar.bz2 fetchmail-50b3d54cadeda8be3e837358f43e0e9b904d091a.zip |
Restore --mda, with cleaner implementation this time.
svn path=/trunk/; revision=214
Diffstat (limited to 'fetchmail.h')
-rw-r--r-- | fetchmail.h | 7 |
1 files changed, 7 insertions, 0 deletions
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)); |