#include <glib.h>
#include <crm/crm.h>
#include <crm/msg_xml.h>
#include <crm/common/xml.h>
Go to the source code of this file.
|
enum | action_type_e { action_type_pseudo,
action_type_rsc,
action_type_crm
} |
|
enum | pcmk__synapse_flags { pcmk__synapse_ready = (1 << 0),
pcmk__synapse_failed = (1 << 1),
pcmk__synapse_executed = (1 << 2),
pcmk__synapse_confirmed = (1 << 3)
} |
|
enum | pcmk__graph_action_flags {
pcmk__graph_action_sent_update = (1 << 0),
pcmk__graph_action_executed = (1 << 1),
pcmk__graph_action_confirmed = (1 << 2),
pcmk__graph_action_failed = (1 << 3),
pcmk__graph_action_can_fail = (1 << 4)
} |
|
enum | transition_action { tg_done,
tg_stop,
tg_restart,
tg_shutdown
} |
|
enum | transition_status {
transition_active,
transition_pending,
transition_complete,
transition_stopped,
transition_terminated,
transition_action_failed,
transition_failed
} |
|
◆ crm__clear_graph_action_flags
#define crm__clear_graph_action_flags |
( |
|
action, |
|
|
|
flags_to_clear |
|
) |
| |
Value:do { \
(
action)->
flags = pcmk__clear_flags_as(__func__, __LINE__, \
"Action", "action", \
(
action)->flags, (flags_to_clear), #flags_to_clear); \
} while (0)
Definition at line 97 of file pcmki_transition.h.
◆ crm__set_graph_action_flags
#define crm__set_graph_action_flags |
( |
|
action, |
|
|
|
flags_to_set |
|
) |
| |
Value:do { \
(
action)->
flags = pcmk__set_flags_as(__func__, __LINE__, \
"Action", "action", \
(
action)->flags, (flags_to_set), #flags_to_set); \
} while (0)
Definition at line 90 of file pcmki_transition.h.
◆ pcmk__clear_synapse_flags
#define pcmk__clear_synapse_flags |
( |
|
synapse, |
|
|
|
flags_to_clear |
|
) |
| |
Value:do { \
(synapse)->
flags = pcmk__clear_flags_as(__func__, __LINE__, \
"Synapse", "synapse", \
(synapse)->flags, (flags_to_clear), #flags_to_clear); \
} while (0)
Definition at line 57 of file pcmki_transition.h.
◆ pcmk__set_synapse_flags
#define pcmk__set_synapse_flags |
( |
|
synapse, |
|
|
|
flags_to_set |
|
) |
| |
Value:do { \
(synapse)->
flags = pcmk__set_flags_as(__func__, __LINE__, \
"Synapse", "synapse", \
(synapse)->flags, (flags_to_set), #flags_to_set); \
} while (0)
Definition at line 50 of file pcmki_transition.h.
◆ crm_action_t
◆ crm_action_timer_t
◆ crm_graph_functions_t
◆ crm_graph_t
◆ synapse_t
◆ action_type_e
Enumerator |
---|
action_type_pseudo | |
action_type_rsc | |
action_type_crm | |
Definition at line 22 of file pcmki_transition.h.
◆ pcmk__graph_action_flags
Enumerator |
---|
pcmk__graph_action_sent_update | |
pcmk__graph_action_executed | |
pcmk__graph_action_confirmed | |
pcmk__graph_action_failed | |
pcmk__graph_action_can_fail | |
Definition at line 64 of file pcmki_transition.h.
◆ pcmk__synapse_flags
Enumerator |
---|
pcmk__synapse_ready | |
pcmk__synapse_failed | |
pcmk__synapse_executed | |
pcmk__synapse_confirmed | |
Definition at line 31 of file pcmki_transition.h.
◆ transition_action
◆ transition_status
Enumerator |
---|
transition_active | |
transition_pending | |
transition_complete | |
transition_stopped | |
transition_terminated | |
transition_action_failed | |
transition_failed | |
Definition at line 153 of file pcmki_transition.h.
◆ action_state_str()
◆ pcmk__event_from_graph_action()
◆ pcmk__execute_graph()
◆ pcmk__free_graph()
◆ pcmk__graph_status2text()
◆ pcmk__log_graph()
void pcmk__log_graph |
( |
unsigned int |
log_level, |
|
|
crm_graph_t * |
graph |
|
) |
| |
◆ pcmk__log_graph_action()
void pcmk__log_graph_action |
( |
int |
log_level, |
|
|
crm_action_t * |
action |
|
) |
| |
◆ pcmk__set_graph_functions()
◆ pcmk__unpack_graph()
crm_graph_t* pcmk__unpack_graph |
( |
xmlNode * |
xml_graph, |
|
|
const char * |
reference |
|
) |
| |
◆ pcmk__update_graph()
◆ synapse_state_str()
const char* synapse_state_str |
( |
synapse_t * |
synapse | ) |
|