aboutsummaryrefslogtreecommitdiffstats
path: root/uid.c
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-10-26 03:01:11 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-10-26 03:01:11 +0000
commit24c90ce22d39bab628f6b84b2ebbacd01b9f784e (patch)
tree1e650d21ed85ee0eb7750efbdcf3127e24581da6 /uid.c
parent74631396d18f4c5b025e9cbbb70d0103c783037e (diff)
downloadfetchmail-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.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/uid.c b/uid.c
index eb17c2fd..84311727 100644
--- a/uid.c
+++ b/uid.c
@@ -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 */