pacemaker  2.0.4-2deceaa
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 94 of file pcmk_trans_utils.c.

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

Definition at line 230 of file pcmk_trans_utils.c.

void print_graph ( unsigned int  log_level,
crm_graph_t graph 
)

Definition at line 236 of file pcmk_trans_utils.c.

void set_default_graph_functions ( void  )

Definition at line 53 of file pcmk_trans_utils.c.

void set_graph_functions ( crm_graph_functions_t fns)

Definition at line 59 of file pcmk_trans_utils.c.

const char* transition_status ( enum transition_status  state)

Definition at line 72 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 276 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 45 of file pcmk_trans_utils.c.

Definition at line 17 of file pcmk_trans_graph.c.