10 #ifndef PCMK__PCMKI_PCMKI_TRANSITION__H 11 # define PCMK__PCMKI_PCMKI_TRANSITION__H 45 #define pcmk__set_synapse_flags(synapse, flags_to_set) do { \ 46 (synapse)->flags = pcmk__set_flags_as(__func__, __LINE__, \ 48 "Synapse", "synapse", \ 49 (synapse)->flags, (flags_to_set), #flags_to_set); \ 52 #define pcmk__clear_synapse_flags(synapse, flags_to_clear) do { \ 53 (synapse)->flags = pcmk__clear_flags_as(__func__, __LINE__, \ 55 "Synapse", "synapse", \ 56 (synapse)->flags, (flags_to_clear), #flags_to_clear); \ 82 #define pcmk__set_graph_action_flags(action, flags_to_set) do { \ 83 (action)->flags = pcmk__set_flags_as(__func__, __LINE__, \ 86 (action)->flags, (flags_to_set), #flags_to_set); \ 89 #define pcmk__clear_graph_action_flags(action, flags_to_clear) do { \ 90 (action)->flags = pcmk__clear_flags_as(__func__, __LINE__, \ 93 (action)->flags, (flags_to_clear), #flags_to_clear); \ 159 const char *reference);
171 const char *exit_reason);
char * failed_start_offset
Failcount after one failed start action.
enum crm_ais_msg_types type
enum pcmk__graph_status pcmk__execute_graph(pcmk__graph_t *graph)
char * failed_stop_offset
Failcount after one failed stop action.
void pcmk__set_graph_functions(pcmk__graph_functions_t *fns)
lrmd_event_data_t * pcmk__event_from_graph_action(const xmlNode *resource, const pcmk__graph_action_t *action, int status, int rc, const char *exit_reason)
void pcmk__update_graph(pcmk__graph_t *graph, const pcmk__graph_action_t *action)
time_t recheck_by
Time (from epoch) by which the controller should re-run the scheduler.
void pcmk__free_graph(pcmk__graph_t *graph)
Wrappers for and extensions to libxml2.
pcmk__graph_t * pcmk__unpack_graph(const xmlNode *xml_graph, const char *reference)
void pcmk__log_transition_summary(const char *filename)
const char * abort_reason
pcmk__graph_synapse_t * synapse
void pcmk__log_graph_action(int log_level, pcmk__graph_action_t *action)
const char * pcmk__graph_status2text(enum pcmk__graph_status state)
void pcmk__log_graph(unsigned int log_level, pcmk__graph_t *graph)
Resource agent executor events.