MDB_macdefs.h File Reference
If you wandered in here by accident, you should probably leave now...
More...
|
Defines |
#define | MSG_K_SEVERITY (2) |
#define | MSG_K_MESSAGE (21) |
#define | MSG_K_FACILITY (8) |
#define | MSG_K_REPORT (1) |
#define | MSG_V_SEVERITY ( 0 ) |
#define | MSG_V_MESSAGE ( MSG_K_SEVERITY ) |
#define | MSG_V_FACILITY ( MSG_V_MESSAGE + MSG_K_MESSAGE ) |
#define | MSG_V_REPORT ( MSG_V_FACILITY + MSG_K_FACILITY ) |
#define | MSG_M_SEVERITY (((1 << MSG_K_SEVERITY ) - 1) ) |
#define | MSG_M_MESSAGE (((1 << MSG_K_MESSAGE ) - 1) << MSG_V_MESSAGE ) |
#define | MSG_M_FACILITY (((1 << MSG_K_FACILITY ) - 1) << MSG_V_FACILITY ) |
#define | MSG_M_REPORT (((1 << MSG_K_REPORT ) - 1) << MSG_V_REPORT ) |
#define | MSG_M_MATCH (MSG_M_FACILITY | MSG_M_MESSAGE) |
#define | _msg_success(x) (((x) & 1) == 0) |
#define | _msg_failure(x) (((x) & 1) != 0) |
#define | _msg_match(x, y) (((x) & MSG_M_MATCH) == ((y) & MSG_M_MATCH)) |
#define | _msg_strip(x) ((x) & ~MSG_M_REPORT) |
#define | _msg_report(code, time,nprm,args...) MSG_report( code, time, __func__, nprm , ## args ) |
Detailed Description
If you wandered in here by accident, you should probably leave now...
- Warning:
- MDB_macdefs.h should NEVER be included by user code
CVS $Id: MDB_macdefs.h,v 1.2 2011/03/24 20:31:59 apw Exp $
- Author:
- A.P.Waite
MDB_macdefs.h provides MDB macro definitions only. Its only function is to export these macros to the equivalent file (MSG_macdefs.h) in the MSG package proper.