 |
pacemaker
2.0.4-2deceaa3ae
Scalable High-Availability cluster resource manager
|
Go to the documentation of this file.
10 #ifndef ALERT_INTERNAL_H
11 #define ALERT_INTERNAL_H
17 # define PCMK__ALERT_DEFAULT_TIMEOUT_MS (30000)
20 # define PCMK__ALERT_DEFAULT_TSTAMP_FORMAT "%H:%M:%S.%06N"
67 #define PCMK__ALERT_INTERNAL_KEY_MAX 19
68 #define PCMK__ALERT_NODE_SEQUENCE "CRM_alert_node_sequence"
81 static inline const char *
89 default:
return "unknown";
@ PCMK__alert_key_target_rc
void pcmk__add_alert_key(GHashTable *table, enum pcmk__alert_keys_e name, const char *value)
const char * pcmk__alert_keys[PCMK__ALERT_INTERNAL_KEY_MAX][3]
@ PCMK__alert_key_timestamp_usec
@ PCMK__alert_key_attribute_value
@ PCMK__alert_key_exec_time
@ PCMK__alert_key_recipient
bool pcmk__alert_in_patchset(xmlNode *msg, bool config)
char ** select_attribute_name
void pcmk__add_alert_key_int(GHashTable *table, enum pcmk__alert_keys_e name, int value)
@ PCMK__alert_key_version
pcmk__alert_t * pcmk__dup_alert(pcmk__alert_t *entry)
@ PCMK__alert_key_node_sequence
void pcmk__free_alert(pcmk__alert_t *entry)
#define PCMK__ALERT_INTERNAL_KEY_MAX
@ PCMK__alert_key_timestamp
@ PCMK__alert_key_select_kind
@ PCMK__alert_key_select_attribute_name
pcmk__alert_t * pcmk__alert_new(const char *id, const char *path)
Create a new alert entry structure.
@ PCMK__alert_key_interval
@ PCMK__alert_key_timestamp_epoch
@ PCMK__alert_key_attribute_name