25 "CRM_notify_recipient",
"CRM_alert_recipient", NULL
28 "CRM_notify_node",
"CRM_alert_node", NULL
31 "CRM_notify_nodeid",
"CRM_alert_nodeid", NULL
34 "CRM_notify_rsc",
"CRM_alert_rsc", NULL
37 "CRM_notify_task",
"CRM_alert_task", NULL
40 "CRM_notify_interval",
"CRM_alert_interval", NULL
43 "CRM_notify_desc",
"CRM_alert_desc", NULL
46 "CRM_notify_status",
"CRM_alert_status", NULL
49 "CRM_notify_target_rc",
"CRM_alert_target_rc", NULL
52 "CRM_notify_rc",
"CRM_alert_rc", NULL
55 "CRM_notify_kind",
"CRM_alert_kind", NULL
58 "CRM_notify_version",
"CRM_alert_version", NULL
64 "CRM_notify_timestamp",
"CRM_alert_timestamp", NULL
67 "CRM_notify_attribute_name",
"CRM_alert_attribute_name", NULL
70 "CRM_notify_attribute_value",
"CRM_alert_attribute_value", NULL
73 "CRM_notify_timestamp_epoch",
"CRM_alert_timestamp_epoch", NULL
76 "CRM_notify_timestamp_usec",
"CRM_alert_timestamp_usec", NULL
79 "CRM_notify_exec_time",
"CRM_alert_exec_time", NULL
118 g_hash_table_destroy(entry->
envvars);
153 crm_trace(
"Inserting alert key %s = '%s'", *key, value);
157 g_hash_table_remove(table, *key);
167 crm_trace(
"Inserting alert key %s = %d", *key, value);
168 g_hash_table_insert(table,
pcmk__str_copy(*key), pcmk__itoa(value));
const char * pcmk__alert_keys[PCMK__ALERT_INTERNAL_KEY_MAX][3]
void pcmk__free_alert(pcmk__alert_t *entry)
#define PCMK__ALERT_INTERNAL_KEY_MAX
char ** select_attribute_name
#define PCMK__ALERT_NODE_SEQUENCE
void pcmk__add_alert_key(GHashTable *table, enum pcmk__alert_keys_e name, const char *value)
#define crm_trace(fmt, args...)
Wrappers for and extensions to libxml2.
void pcmk__add_alert_key_int(GHashTable *table, enum pcmk__alert_keys_e name, int value)
#define pcmk__str_copy(str)
#define pcmk__assert(expr)
GHashTable * pcmk__str_table_dup(GHashTable *old_table)
pcmk__alert_t * pcmk__dup_alert(const pcmk__alert_t *entry)
#define pcmk__assert_alloc(nmemb, size)
pcmk__alert_t * pcmk__alert_new(const char *id, const char *path)
Create a new alert entry structure.
#define PCMK__ALERT_DEFAULT_TIMEOUT_MS
void pcmk__insert_dup(GHashTable *table, const char *name, const char *value)