aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h7
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));