aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-25 19:57:22 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-25 19:57:22 +0000
commit15ad60aad2f4671e2381b065dc0121d20d0ee3e8 (patch)
tree74f41195e395e80c7799416fa9fbfd9916605129 /fetchmail.h
parentf7bd2799faf6fa398a43be8715d9c0df314b6393 (diff)
downloadfetchmail-15ad60aad2f4671e2381b065dc0121d20d0ee3e8.tar.gz
fetchmail-15ad60aad2f4671e2381b065dc0121d20d0ee3e8.tar.bz2
fetchmail-15ad60aad2f4671e2381b065dc0121d20d0ee3e8.zip
MDAs should be able to handle multidrop mailboxes now too.
svn path=/trunk/; revision=382
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/fetchmail.h b/fetchmail.h
index baaa6f88..3bfd5811 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -53,6 +53,7 @@
#define O_VERBOSE 2 /* excessive */
#define SIZETICKER 1024 /* print 1 dot per this many bytes */
+#define MDA_MAXARGS 32 /* max arguments per MDA call */
struct idlist
{
@@ -81,7 +82,8 @@ struct hostrec
int timeout;
/* MDA arguments */
- char *mda_argv[32];
+ int mda_argcount;
+ char *mda_argv[MDA_MAXARGS];
char mdabuf[MDALEN+1];
/* control flags */
@@ -179,7 +181,7 @@ struct hostrec *hostalloc(struct hostrec *);
int parsecmdline (int, char **, struct hostrec *);
void optmerge(struct hostrec *, struct hostrec *);
char *MD5Digest (char *);
-int openmailpipe (struct hostrec *);
+int openmailpipe (char **);
int daemonize(const char *, void (*)(int));
void escapes(const char *, char *);