1 #ifndef _QMGR_USER_H_INCLUDED_ 2 #define _QMGR_USER_H_INCLUDED_ 3 4 /*++ 5 /* NAME 6 /* qmgr_user 3h 7 /* SUMMARY 8 /* qmgr user interface codes 9 /* SYNOPSIS 10 /* #include <qmgr_user.h> 11 /* DESCRIPTION 12 /* .nf 13 14 /* 15 * Global library. 16 */ 17 #include <dsn_mask.h> 18 19 /* 20 * Queue file read options. Flags 16- are reserved by qmgr.h; unfortunately 21 * DSN_NOTIFY_* needs to be shifted to avoid breaking compatibility with 22 * already queued mail that uses QMGR_READ_FLAG_MIXED_RCPT_OTHER. 23 */ 24 #define QMGR_READ_FLAG_NONE 0 /* No special features */ 25 #define QMGR_READ_FLAG_MIXED_RCPT_OTHER (1<<0) 26 #define QMGR_READ_FLAG_FROM_DSN(x) ((x) << 1) 27 28 #define QMGR_READ_FLAG_NOTIFY_NEVER (DSN_NOTIFY_NEVER << 1) 29 #define QMGR_READ_FLAG_NOTIFY_SUCCESS (DSN_NOTIFY_SUCCESS << 1) 30 #define QMGR_READ_FLAG_NOTIFY_DELAY (DSN_NOTIFY_DELAY << 1) 31 #define QMGR_READ_FLAG_NOTIFY_FAILURE (DSN_NOTIFY_FAILURE << 1) 32 33 #define QMGR_READ_FLAG_USER \ 34 (QMGR_READ_FLAG_NOTIFY_NEVER | QMGR_READ_FLAG_NOTIFY_SUCCESS \ 35 | QMGR_READ_FLAG_NOTIFY_DELAY | QMGR_READ_FLAG_NOTIFY_FAILURE \ 36 | QMGR_READ_FLAG_MIXED_RCPT_OTHER) 37 38 /* 39 * Backwards compatibility. 40 */ 41 #define QMGR_READ_FLAG_DEFAULT (QMGR_READ_FLAG_MIXED_RCPT_OTHER) 42 43 /* LICENSE 44 /* .ad 45 /* .fi 46 /* The Secure Mailer license must be distributed with this software. 47 /* AUTHOR(S) 48 /* Wietse Venema 49 /* IBM T.J. Watson Research 50 /* P.O. Box 704 51 /* Yorktown Heights, NY 10598, USA 52 /*--*/ 53 54 #endif 55