From: Thibault Godouet Date: Wed, 21 Jun 2000 13:46:55 +0000 (+0000) Subject: option serial_once added X-Git-Tag: ver2_9_4~663 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=cfcd4c27e704101b71b10d199b309505f1998734;p=thirdparty%2Ffcron.git option serial_once added --- diff --git a/option.h b/option.h index 8010389..8aeaf88 100644 --- a/option.h +++ b/option.h @@ -21,7 +21,7 @@ * `LICENSE' that comes with the fcron source distribution. */ - /* $Id: option.h,v 1.3 2000-06-19 12:44:33 thib Exp $ */ + /* $Id: option.h,v 1.4 2000-06-21 13:46:55 thib Exp $ */ /* read and set options of a line */ @@ -146,5 +146,17 @@ (_bit_clear(opt, 6)) +/* + bit 7 : set to 1 : job is being serialized once + set to 0 : job is not being serialized once +*/ +#define is_serial_once(opt) \ + (_bit_test(opt, 7)) +#define set_serial_once(opt) \ + (_bit_set(opt, 7)) +#define clear_serial_once(opt) \ + (_bit_clear(opt, 7)) + + #endif /* __OPTIONH__ */