diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-07-03 03:16:16 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-07-03 03:16:16 +0000 |
commit | 38a50aa15463362c59af69ac80e95f713bad27e3 (patch) | |
tree | 655d6852047f90c13b447b27572eba5ab2ea2035 /fetchmail.h | |
parent | 9aafb07f141bbd1cae1395e34fe3d064918c6712 (diff) | |
download | fetchmail-38a50aa15463362c59af69ac80e95f713bad27e3.tar.gz fetchmail-38a50aa15463362c59af69ac80e95f713bad27e3.tar.bz2 fetchmail-38a50aa15463362c59af69ac80e95f713bad27e3.zip |
Merged hostrec and option structures.
svn path=/trunk/; revision=27
Diffstat (limited to 'fetchmail.h')
-rw-r--r-- | fetchmail.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/fetchmail.h b/fetchmail.h index 1f8028f2..90b8ee63 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -55,6 +55,7 @@ struct optrec { int fetchall; int flush; int output; + char servername [HOSTLEN]; char localname [USERNAMELEN]; char remotename [USERNAMELEN]; char password [PASSWORDLEN]; @@ -64,6 +65,7 @@ struct optrec { char userfolder [FOLDERLEN]; char remotefolder [FOLDERLEN]; char mda [MDALEN]; + struct optrec *next; }; @@ -96,8 +98,8 @@ extern char *poprcfile; /* path name of rc file */ #ifdef HAVE_PROTOTYPES /* prototypes for globally callable functions */ -int doPOP2 (char *servername, struct optrec *options); -int doPOP3 (char *servername, struct optrec *options); +int doPOP2 (struct optrec *options); +int doPOP3 (struct optrec *options); int parsecmdline (int argc, char **argv, struct optrec *options); int setdefaults (struct optrec *options); |