203 |
#define IS(a,b) ((a&&b)?!strcasecmp(a, b):0) |
#define IS(a,b) ((a&&b)?!strcasecmp(a, b):0) |
204 |
#define DEBUG if(Run.debug) log |
#define DEBUG if(Run.debug) log |
205 |
#define FLAG(x, y) (x & y) == y |
#define FLAG(x, y) (x & y) == y |
206 |
|
#define STR(x) (x?x:"") |
207 |
|
|
208 |
|
|
209 |
/** ------------------------------------------------- Synchronization macros */ |
/** ------------------------------------------------- Synchronization macros */ |
307 |
char *from; /**< The mail from address */ |
char *from; /**< The mail from address */ |
308 |
char *subject; /**< The mail subject */ |
char *subject; /**< The mail subject */ |
309 |
char *message; /**< The mail message */ |
char *message; /**< The mail message */ |
|
char *opt_message; /**< An optional message used in alerts */ |
|
310 |
unsigned int events; /*< Events for which this mail object should be sent */ |
unsigned int events; /*< Events for which this mail object should be sent */ |
311 |
unsigned int reminder; /*< Send error reminder each Xth cycle */ |
unsigned int reminder; /*< Send error reminder each Xth cycle */ |
312 |
|
|