diff options
Diffstat (limited to 'fetchmail.h')
-rw-r--r-- | fetchmail.h | 12 |
1 files changed, 9 insertions, 3 deletions
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 */ |