From 54833b53da596625b194c40732f67aa9dd0ece54 Mon Sep 17 00:00:00 2001 From: Matthias Andree Date: Sun, 2 Apr 2006 10:47:58 +0000 Subject: Add pidfile option, requested by Héctor García. MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit svn path=/branches/BRANCH_6-3/; revision=4770 --- fetchmail.h | 18 ++++++------------ 1 file changed, 6 insertions(+), 12 deletions(-) (limited to 'fetchmail.h') 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 */ -- cgit v1.2.3