From 15ad60aad2f4671e2381b065dc0121d20d0ee3e8 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Fri, 25 Oct 1996 19:57:22 +0000 Subject: MDAs should be able to handle multidrop mailboxes now too. svn path=/trunk/; revision=382 --- fetchmail.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'fetchmail.h') 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 *); -- cgit v1.2.3