#include <glib.h>
#include <crm/crm.h>
#include <crm/common/xml.h>
#include <crm/lrmd_events.h>
 
Go to the source code of this file.
 | 
| enum   | pcmk__graph_action_type { pcmk__pseudo_graph_action, 
pcmk__rsc_graph_action, 
pcmk__cluster_graph_action
 } | 
|   | 
| 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   | pcmk__graph_next { pcmk__graph_done, 
pcmk__graph_wait, 
pcmk__graph_restart, 
pcmk__graph_shutdown
 } | 
|   | 
| enum   | pcmk__graph_status { pcmk__graph_active, 
pcmk__graph_pending, 
pcmk__graph_complete, 
pcmk__graph_terminated
 } | 
|   | 
◆ pcmk__clear_graph_action_flags
      
        
          | #define pcmk__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 89 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 52 of file pcmki_transition.h.
 
 
◆ pcmk__set_graph_action_flags
      
        
          | #define pcmk__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 82 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 45 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 59 of file pcmki_transition.h.
 
 
◆ pcmk__graph_action_type
| Enumerator | 
|---|
| pcmk__pseudo_graph_action  |  | 
| pcmk__rsc_graph_action  |  | 
| pcmk__cluster_graph_action  |  | 
Definition at line 22 of file pcmki_transition.h.
 
 
◆ pcmk__graph_next
| Enumerator | 
|---|
| pcmk__graph_done  |  | 
| pcmk__graph_wait  |  | 
| pcmk__graph_restart  |  | 
| pcmk__graph_shutdown  |  | 
Definition at line 97 of file pcmki_transition.h.
 
 
◆ pcmk__graph_status
| Enumerator | 
|---|
| pcmk__graph_active  |  | 
| pcmk__graph_pending  |  | 
| pcmk__graph_complete  |  | 
| pcmk__graph_terminated  |  | 
Definition at line 150 of file pcmki_transition.h.
 
 
◆ pcmk__synapse_flags
| Enumerator | 
|---|
| pcmk__synapse_ready  |  | 
| pcmk__synapse_failed  |  | 
| pcmk__synapse_executed  |  | 
| pcmk__synapse_confirmed  |  | 
Definition at line 28 of file pcmki_transition.h.
 
 
◆ 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,  | 
        
        
           | 
           | 
          pcmk__graph_t *  | 
          graph  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ pcmk__log_graph_action()
◆ pcmk__log_transition_summary()
      
        
          | void pcmk__log_transition_summary  | 
          ( | 
          const char *  | 
          filename | ) | 
           | 
        
      
 
 
◆ pcmk__set_graph_functions()
◆ pcmk__unpack_graph()
      
        
          | pcmk__graph_t* pcmk__unpack_graph  | 
          ( | 
          const xmlNode *  | 
          xml_graph,  | 
        
        
           | 
           | 
          const char *  | 
          reference  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ pcmk__update_graph()