diff options
| author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-13 21:24:27 +0000 | 
|---|---|---|
| committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-13 21:24:27 +0000 | 
| commit | e644052b38ac03a5683f6ba48554dfb4cfe78c9c (patch) | |
| tree | 69c0ae12e6b4edcc6766999455c0c821d5c2d446 /fetchmail.h | |
| parent | 1a4bd3b6e4bd25b98a763decd9000b118483b2a8 (diff) | |
| download | fetchmail-e644052b38ac03a5683f6ba48554dfb4cfe78c9c.tar.gz fetchmail-e644052b38ac03a5683f6ba48554dfb4cfe78c9c.tar.bz2 fetchmail-e644052b38ac03a5683f6ba48554dfb4cfe78c9c.zip | |
Gather all server data into a restorable structure.
svn path=/trunk/; revision=754
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 */ | 
