diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1996-10-26 03:01:11 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1996-10-26 03:01:11 +0000 |
commit | 24c90ce22d39bab628f6b84b2ebbacd01b9f784e (patch) | |
tree | 1e650d21ed85ee0eb7750efbdcf3127e24581da6 /uid.c | |
parent | 74631396d18f4c5b025e9cbbb70d0103c783037e (diff) | |
download | fetchmail-24c90ce22d39bab628f6b84b2ebbacd01b9f784e.tar.gz fetchmail-24c90ce22d39bab628f6b84b2ebbacd01b9f784e.tar.bz2 fetchmail-24c90ce22d39bab628f6b84b2ebbacd01b9f784e.zip |
Major changes of data structure and variable names.
svn path=/trunk/; revision=391
Diffstat (limited to 'uid.c')
-rw-r--r-- | uid.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -64,12 +64,12 @@ static struct idlist *scratchlist; void initialize_saved_lists(hostlist, idfile) /* read file of saved IDs and attach to each host */ -struct hostrec *hostlist; +struct query *hostlist; char *idfile; { int st; FILE *tmpfp; - struct hostrec *hostp; + struct query *hostp; /* make sure lists are initially empty */ for (hostp = hostlist; hostp; hostp = hostp->next) @@ -93,7 +93,7 @@ char *idfile; } /* if it's not in a host we're querying, save it anyway */ - if (hostp == (struct hostrec *)NULL) + if (hostp == (struct query *)NULL) save_uid(&scratchlist, -1, buf); } } @@ -237,7 +237,7 @@ struct idlist **nidl; void update_uid_lists(hostp) /* perform end-of-query actions on UID lists */ -struct hostrec *hostp; +struct query *hostp; { free_uid_list(&hostp->oldsaved); hostp->oldsaved = hostp->newsaved; @@ -246,12 +246,12 @@ struct hostrec *hostp; void write_saved_lists(hostlist, idfile) /* perform end-of-run write of seen-messages list */ -struct hostrec *hostlist; +struct query *hostlist; char *idfile; { int st, idcount; FILE *tmpfp; - struct hostrec *hostp; + struct query *hostp; struct idlist *idp; /* if all lists are empty, nuke the file */ |