diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-14 08:04:51 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-14 08:04:51 +0000 |
commit | a6b586be3027c12b38c2bbda956770bba0f61bc4 (patch) | |
tree | f37a3f86b1de5ed1e030731f159605431372f0ad /fetchmail.h | |
parent | be9c9f0a5b6d598fb9eeb8e4d2d2cfef367dd759 (diff) | |
download | fetchmail-a6b586be3027c12b38c2bbda956770bba0f61bc4.tar.gz fetchmail-a6b586be3027c12b38c2bbda956770bba0f61bc4.tar.bz2 fetchmail-a6b586be3027c12b38c2bbda956770bba0f61bc4.zip |
Dynamic allocation for the query structure string entries.
svn path=/trunk/; revision=757
Diffstat (limited to 'fetchmail.h')
-rw-r--r-- | fetchmail.h | 16 |
1 files changed, 6 insertions, 10 deletions
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; |