1 /* $NetBSD: mbox_conf.h,v 1.1.1.1 2009/06/23 10:08:47 tron Exp $ */ 2 3 #ifndef _MBOX_CONF_H_INCLUDED_ 4 #define _MBOX_CONF_H_INCLUDED_ 5 6 /*++ 7 /* NAME 8 /* mbox_conf 3h 9 /* SUMMARY 10 /* mailbox lock configuration 11 /* SYNOPSIS 12 /* #include <mbox_conf.h> 13 /* DESCRIPTION 14 /* .nf 15 16 /* 17 * Utility library. 18 */ 19 #include <argv.h> 20 21 /* 22 * External interface. 23 */ 24 #define MBOX_FLOCK_LOCK (1<<0) 25 #define MBOX_FCNTL_LOCK (1<<1) 26 #define MBOX_DOT_LOCK (1<<2) 27 #define MBOX_DOT_LOCK_MAY_FAIL (1<<3) /* XXX internal only */ 28 29 extern int mbox_lock_mask(const char *); 30 extern ARGV *mbox_lock_names(void); 31 32 /* LICENSE 33 /* .ad 34 /* .fi 35 /* The Secure Mailer license must be distributed with this software. 36 /* AUTHOR(S) 37 /* Wietse Venema 38 /* IBM T.J. Watson Research 39 /* P.O. Box 704 40 /* Yorktown Heights, NY 10598, USA 41 /*--*/ 42 43 #endif 44