#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   | 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
 
 } | 
|   | 
 | 
| void  | set_default_graph_functions (void) | 
|   | 
| void  | set_graph_functions (crm_graph_functions_t *fns) | 
|   | 
| crm_graph_t *  | unpack_graph (xmlNode *xml_graph, const char *reference) | 
|   | 
| int  | run_graph (crm_graph_t *graph) | 
|   | 
| gboolean  | update_graph (crm_graph_t *graph, crm_action_t *action) | 
|   | 
| void  | destroy_graph (crm_graph_t *graph) | 
|   | 
| const char *  | transition_status (enum transition_status state) | 
|   | 
| void  | print_graph (unsigned int log_level, crm_graph_t *graph) | 
|   | 
| void  | print_action (int log_level, const char *prefix, crm_action_t *action) | 
|   | 
| bool  | update_abort_priority (crm_graph_t *graph, int priority, enum transition_action action, const char *abort_reason) | 
|   | 
| const char *  | actiontype2text (action_type_e type) | 
|   | 
| lrmd_event_data_t *  | convert_graph_action (xmlNode *resource, crm_action_t *action, int status, int rc) | 
|   | 
◆ 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.
 
 
◆ transition_action
◆ transition_status
| Enumerator | 
|---|
| transition_active  |  | 
| transition_pending  |  | 
| transition_complete  |  | 
| transition_stopped  |  | 
| transition_terminated  |  | 
| transition_action_failed  |  | 
| transition_failed  |  | 
Definition at line 114 of file pcmki_transition.h.
 
 
◆ actiontype2text()
◆ convert_graph_action()
◆ destroy_graph()
◆ print_action()
      
        
          | void print_action  | 
          ( | 
          int  | 
          log_level,  | 
        
        
           | 
           | 
          const char *  | 
          prefix,  | 
        
        
           | 
           | 
          crm_action_t *  | 
          action  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ print_graph()
      
        
          | void print_graph  | 
          ( | 
          unsigned int  | 
          log_level,  | 
        
        
           | 
           | 
          crm_graph_t *  | 
          graph  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ run_graph()
◆ set_default_graph_functions()
      
        
          | void set_default_graph_functions  | 
          ( | 
          void  | 
           | ) | 
           | 
        
      
 
 
◆ set_graph_functions()
◆ transition_status()
◆ unpack_graph()
      
        
          | crm_graph_t* unpack_graph  | 
          ( | 
          xmlNode *  | 
          xml_graph,  | 
        
        
           | 
           | 
          const char *  | 
          reference  | 
        
        
           | 
          ) | 
           |  | 
        
      
 
 
◆ update_abort_priority()
◆ update_graph()