aboutsummaryrefslogtreecommitdiffstats
path: root/fetchmail.h
diff options
context:
space:
mode:
authorMatthias Andree <matthias.andree@gmx.de>2006-04-02 10:47:58 +0000
committerMatthias Andree <matthias.andree@gmx.de>2006-04-02 10:47:58 +0000
commit54833b53da596625b194c40732f67aa9dd0ece54 (patch)
tree27cbc572fe209c07f761fa1d6deb0bbdfb9fdc10 /fetchmail.h
parent884266c5f0f1d53c15fa2e9d98132c0749c576ff (diff)
downloadfetchmail-54833b53da596625b194c40732f67aa9dd0ece54.tar.gz
fetchmail-54833b53da596625b194c40732f67aa9dd0ece54.tar.bz2
fetchmail-54833b53da596625b194c40732f67aa9dd0ece54.zip
Add pidfile option, requested by Héctor García.
svn path=/branches/BRANCH_6-3/; revision=4770
Diffstat (limited to 'fetchmail.h')
-rw-r--r--fetchmail.h18
1 files changed, 6 insertions, 12 deletions
diff --git a/fetchmail.h b/fetchmail.h
index b6ecb534..a44d0399 100644
--- a/fetchmail.h
+++ b/fetchmail.h
@@ -157,15 +157,17 @@ typedef char flag;
#define FLAG_TRUE 2
#define FLAG_FALSE 1
+/** run control data */
struct runctl
{
- char *logfile;
- char *idfile;
- int poll_interval;
+ char *logfile; /** where to write log information */
+ char *idfile; /** where to store UID data */
+ char *pidfile; /** where to record the PID of daemon mode processes */
char *postmaster;
+ char *properties;
+ int poll_interval;
flag bouncemail;
flag spambounce;
- char *properties;
flag use_syslog;
flag invisible;
flag showdots;
@@ -505,14 +507,6 @@ int gen_transact();
#endif
extern struct msgblk msgblk;
-/* lock.c: concurrency locking */
-void lock_setup(void);
-void lock_assert(void);
-void lock_or_die(void);
-void fm_lock_release(void);
-int lock_state(void);
-void lock_dispose(void);
-
/* use these to track what was happening when the nonresponse timer fired */
#define GENERAL_WAIT 0 /* unknown wait type */
#define OPEN_WAIT 1 /* waiting from mailserver open */