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";
void pcmk__add_alert_key_int(GHashTable *table, enum pcmk__alert_keys_e name, int value)
#define PCMK__ALERT_INTERNAL_KEY_MAX
char ** select_attribute_name
pcmk__alert_t * pcmk__dup_alert(pcmk__alert_t *entry)
bool pcmk__alert_in_patchset(xmlNode *msg, bool config)
void pcmk__free_alert(pcmk__alert_t *entry)
const char * pcmk__alert_keys[PCMK__ALERT_INTERNAL_KEY_MAX][3]
pcmk__alert_t * pcmk__alert_new(const char *id, const char *path)
Create a new alert entry structure.
void pcmk__add_alert_key(GHashTable *table, enum pcmk__alert_keys_e name, const char *value)