From e644052b38ac03a5683f6ba48554dfb4cfe78c9c Mon Sep 17 00:00:00 2001 From: "Eric S. Raymond" Date: Mon, 13 Jan 1997 21:24:27 +0000 Subject: Gather all server data into a restorable structure. svn path=/trunk/; revision=754 --- fetchmail.h | 12 +++++++++--- 1 file changed, 9 insertions(+), 3 deletions(-) (limited to 'fetchmail.h') diff --git a/fetchmail.h b/fetchmail.h index 105275a0..56b146b1 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -59,10 +59,10 @@ struct idlist struct idlist *next; }; -struct query + +struct hostdata /* shared among all user connections to given server */ { - /* per-host data */ - struct idlist *servernames; /* servername first, then akas */ + struct idlist *names; /* server name first, then akas */ struct idlist *localdomains; /* list of pass-through domains */ int protocol; int port; @@ -70,6 +70,12 @@ struct query int timeout; char *envelope; int skip; +}; + +struct query +{ + /* mailserver connection controls */ + struct hostdata server; /* per-user data */ struct idlist *localnames; /* including calling user's name */ -- cgit v1.2.3