diff options
author | Eric S. Raymond <esr@thyrsus.com> | 1997-01-14 22:28:16 +0000 |
---|---|---|
committer | Eric S. Raymond <esr@thyrsus.com> | 1997-01-14 22:28:16 +0000 |
commit | 70dcc659b0d246e0fd2879d06400c287b8638f42 (patch) | |
tree | 8284d6e99ce5457ed5de92461b35d6609a1d1e1b /fetchmail.h | |
parent | 7b9142f1429d1dd50efa2251239de70a66e82c3c (diff) | |
download | fetchmail-70dcc659b0d246e0fd2879d06400c287b8638f42.tar.gz fetchmail-70dcc659b0d246e0fd2879d06400c287b8638f42.tar.bz2 fetchmail-70dcc659b0d246e0fd2879d06400c287b8638f42.zip |
Change `interface' and `monitor' options to per-server.
svn path=/trunk/; revision=762
Diffstat (limited to 'fetchmail.h')
-rw-r--r-- | fetchmail.h | 16 |
1 files changed, 9 insertions, 7 deletions
diff --git a/fetchmail.h b/fetchmail.h index d969945c..b7f64fff 100644 --- a/fetchmail.h +++ b/fetchmail.h @@ -68,6 +68,13 @@ struct hostdata /* shared among all user connections to given server */ char *envelope; int skip; +#ifdef linux + char *interface; + char *monitor; + int monitor_io; + struct ipair *inter; +#endif /* linux */ + /* computed for internal use */ #ifdef HAVE_GETHOSTBYNAME char *canonical_name; /* DNS canonical name of server host */ @@ -150,10 +157,6 @@ extern int quitmode; /* if --quit was set */ extern int check_only; /* if --check was set */ extern int cmd_batchlimit; /* if --batchlimit was set */ extern char *cmd_logfile; /* if --logfile was set */ -extern char *interface; /* interface required specification */ -extern char *cmd_interface; /* if --interface was set */ -extern char *monitor; /* monitored interface for activity */ -extern char *cmd_monitor; /* if --monitor was set */ /* these get computed */ extern int batchlimit; /* if --batchlimit was set */ @@ -219,9 +222,8 @@ int daemonize(const char *, void (*)(int)); int prc_parse_file(const char *); int prc_filecheck(const char *); -void interface_parse(void); -void interface_note_activity(void); -int interface_approve(void); +void interface_parse(struct hostdata *); +int interface_check(struct hostdata *); char *getpassword(char *); |