Go to the source code of this file.
◆ pcmk__add_alert_key()
void pcmk__add_alert_key |
( |
GHashTable * |
table, |
|
|
enum pcmk__alert_keys_e |
name, |
|
|
const char * |
value |
|
) |
| |
◆ pcmk__add_alert_key_int()
void pcmk__add_alert_key_int |
( |
GHashTable * |
table, |
|
|
enum pcmk__alert_keys_e |
name, |
|
|
int |
value |
|
) |
| |
◆ pcmk__alert_new()
pcmk__alert_t* pcmk__alert_new |
( |
const char * |
id, |
|
|
const char * |
path |
|
) |
| |
Create a new alert entry structure.
- Parameters
-
[in] | id | ID to use |
[in] | path | Path to alert agent executable |
- Returns
- Pointer to newly allocated alert entry
- Note
- Non-string fields will be filled in with defaults. It is the caller's responsibility to free the result, using pcmk__free_alert().
Definition at line 95 of file alerts.c.
◆ pcmk__dup_alert()
◆ pcmk__free_alert()
◆ pcmk__alert_keys