From a6b586be3027c12b38c2bbda956770bba0f61bc4 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Tue, 14 Jan 1997 08:04:51 +0000 Subject: Dynamic allocation for the query structure string entries. svn path=/trunk/; revision=757 --- fetchmail.h | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) (limited to 'fetchmail.h') diff --git a/fetchmail.h b/fetchmail.h index 5145ed6d..a329c19f 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -21,11 +21,8 @@ #define HOSTLEN 128 /* max hostname length */ #define USERNAMELEN 32 /* max user-name length */ #define PASSWORDLEN 64 /* 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 */ -#define CMDLEN 128 /* length of initialization command */ /* exit code values */ #define PS_SUCCESS 0 /* successful receipt of messages */ @@ -46,7 +43,6 @@ #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 { @@ -87,12 +83,12 @@ struct query /* per-user data */ struct idlist *localnames; /* including calling user's name */ int wildcard; /* should unmatched names be passed through */ - char remotename [USERNAMELEN+1]; - char password [PASSWORDLEN+1]; - char mailbox [FOLDERLEN+1]; - char smtphost[HOSTLEN+1]; - char mda [MDALEN+1]; - char preconnect [CMDLEN+1]; + char *remotename; + char *password; + char *mailbox; + char *smtphost; + char *mda; + char *preconnect; /* per-user control flags */ int keep; -- cgit v1.2.3