pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
pcmk_trans_utils.c File Reference
#include <crm_internal.h>
#include <crm/crm.h>
#include <crm/msg_xml.h>
#include <crm/common/xml.h>
#include <pacemaker-internal.h>
Include dependency graph for pcmk_trans_utils.c:

Go to the source code of this file.

Functions

void set_default_graph_functions (void)
 
void set_graph_functions (crm_graph_functions_t *fns)
 
const char * transition_status (enum transition_status state)
 
const char * actiontype2text (action_type_e type)
 
void print_action (int log_level, const char *prefix, crm_action_t *action)
 
void print_graph (unsigned int log_level, crm_graph_t *graph)
 
bool update_abort_priority (crm_graph_t *graph, int priority, enum transition_action action, const char *abort_reason)
 

Variables

crm_graph_functions_tgraph_fns
 
crm_graph_functions_t default_fns
 

Function Documentation

const char* actiontype2text ( action_type_e  type)

Definition at line 95 of file pcmk_trans_utils.c.

void print_action ( int  log_level,
const char *  prefix,
crm_action_t action 
)

Definition at line 232 of file pcmk_trans_utils.c.

void print_graph ( unsigned int  log_level,
crm_graph_t graph 
)

Definition at line 238 of file pcmk_trans_utils.c.

void set_default_graph_functions ( void  )

Definition at line 54 of file pcmk_trans_utils.c.

void set_graph_functions ( crm_graph_functions_t fns)

Definition at line 60 of file pcmk_trans_utils.c.

const char* transition_status ( enum transition_status  state)

Definition at line 73 of file pcmk_trans_utils.c.

bool update_abort_priority ( crm_graph_t graph,
int  priority,
enum transition_action  action,
const char *  abort_reason 
)

Definition at line 278 of file pcmk_trans_utils.c.

Variable Documentation

crm_graph_functions_t default_fns
Initial value:
= {
pseudo_action_dummy,
pseudo_action_dummy,
pseudo_action_dummy,
pseudo_action_dummy
}

Definition at line 46 of file pcmk_trans_utils.c.

Definition at line 17 of file pcmk_trans_graph.c.