From 38a50aa15463362c59af69ac80e95f713bad27e3 Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Wed, 3 Jul 1996 03:16:16 +0000 Subject: Merged hostrec and option structures. svn path=/trunk/; revision=27 --- fetchmail.h | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) (limited to 'fetchmail.h') 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); -- cgit v1.2.3