aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorEric S. Raymond <esr@thyrsus.com>1996-07-03 13:36:27 +0000
committerEric S. Raymond <esr@thyrsus.com>1996-07-03 13:36:27 +0000
commitb9725878c38cc4ae8c3af81d55dab77a6b83a02b (patch)
treede2f3ea69edf356df99de3a517ff3920050efbe9 /fetchmail.h
parentbf74b59de541cb0e7085530f296407cf9d9c9ef3 (diff)
downloadfetchmail-b9725878c38cc4ae8c3af81d55dab77a6b83a02b.tar.gz
fetchmail-b9725878c38cc4ae8c3af81d55dab77a6b83a02b.tar.bz2
fetchmail-b9725878c38cc4ae8c3af81d55dab77a6b83a02b.zip
optrec -> hostrec.
svn path=/trunk/; revision=34
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/fetchmail.h b/fetchmail.h
index c2280f37..8432c443 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -45,7 +45,7 @@
#define TO_STDOUT 2 /* use stdout */
#define TO_MDA 3 /* use agent */
-struct optrec {
+struct hostrec {
char servername [HOSTLEN];
char localname [USERNAMELEN];
char remotename [USERNAMELEN];
@@ -60,7 +60,7 @@ struct optrec {
/* dependent on the above members */
int output;
- struct optrec *next;
+ struct hostrec *next;
#if defined(HAVE_APOP_SUPPORT)
/* internal use only */
@@ -85,15 +85,15 @@ extern int versioninfo; /* emit only version info */
#ifdef HAVE_PROTOTYPES
/* prototypes for globally callable functions */
-int doPOP2 (struct optrec *options);
-int doPOP3 (struct optrec *options);
+int doPOP2 (struct hostrec *options);
+int doPOP3 (struct hostrec *options);
-int parsecmdline (int argc, char **argv, struct optrec *options);
-int setdefaults (struct optrec *options);
+int parsecmdline (int argc, char **argv, struct hostrec *options);
+int setdefaults (struct hostrec *options);
char *getnextserver (int argc, char **argv, int *optind);
-int openuserfolder (struct optrec *options);
+int openuserfolder (struct hostrec *options);
int closeuserfolder (int fd);
-int openmailpipe (struct optrec *options);
+int openmailpipe (struct hostrec *options);
int closemailpipe (int fd);
char *MD5Digest (char *);
void reply_hack(char *buf, const char *host);