10 #ifndef PCMK__PCMKI_PCMKI_TRANSITION__H 11 # define PCMK__PCMKI_PCMKI_TRANSITION__H 46 #define pcmk__set_synapse_flags(synapse, flags_to_set) do { \ 47 (synapse)->flags = pcmk__set_flags_as(__func__, __LINE__, \ 49 "Synapse", "synapse", \ 50 (synapse)->flags, (flags_to_set), #flags_to_set); \ 53 #define pcmk__clear_synapse_flags(synapse, flags_to_clear) do { \ 54 (synapse)->flags = pcmk__clear_flags_as(__func__, __LINE__, \ 56 "Synapse", "synapse", \ 57 (synapse)->flags, (flags_to_clear), #flags_to_clear); \ 83 #define pcmk__set_graph_action_flags(action, flags_to_set) do { \ 84 (action)->flags = pcmk__set_flags_as(__func__, __LINE__, \ 87 (action)->flags, (flags_to_set), #flags_to_set); \ 90 #define pcmk__clear_graph_action_flags(action, flags_to_clear) do { \ 91 (action)->flags = pcmk__clear_flags_as(__func__, __LINE__, \ 94 (action)->flags, (flags_to_clear), #flags_to_clear); \ 160 const char *reference);
172 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.