pacemaker  2.1.2-ada5c3b36
Scalable High-Availability cluster resource manager
Functions
pcmk_graph_consumer.c File Reference
#include <crm_internal.h>
#include <sys/param.h>
#include <sys/stat.h>
#include <crm/crm.h>
#include <crm/msg_xml.h>
#include <crm/common/xml.h>
#include <crm/common/xml_internal.h>
#include <crm/lrmd_internal.h>
#include <pacemaker-internal.h>
Include dependency graph for pcmk_graph_consumer.c:

Go to the source code of this file.

Functions

void pcmk__update_graph (crm_graph_t *graph, crm_action_t *action)
 
void pcmk__set_graph_functions (crm_graph_functions_t *fns)
 
enum transition_status pcmk__execute_graph (crm_graph_t *graph)
 
crm_graph_tpcmk__unpack_graph (xmlNode *xml_graph, const char *reference)
 
void pcmk__free_graph (crm_graph_t *graph)
 
lrmd_event_data_tpcmk__event_from_graph_action (xmlNode *resource, crm_action_t *action, int status, int rc, const char *exit_reason)
 

Function Documentation

◆ pcmk__event_from_graph_action()

lrmd_event_data_t* pcmk__event_from_graph_action ( xmlNode *  resource,
crm_action_t action,
int  status,
int  rc,
const char *  exit_reason 
)

Definition at line 812 of file pcmk_graph_consumer.c.

◆ pcmk__execute_graph()

enum transition_status pcmk__execute_graph ( crm_graph_t graph)

Definition at line 344 of file pcmk_graph_consumer.c.

◆ pcmk__free_graph()

void pcmk__free_graph ( crm_graph_t graph)

Definition at line 785 of file pcmk_graph_consumer.c.

◆ pcmk__set_graph_functions()

void pcmk__set_graph_functions ( crm_graph_functions_t fns)

Definition at line 146 of file pcmk_graph_consumer.c.

◆ pcmk__unpack_graph()

crm_graph_t* pcmk__unpack_graph ( xmlNode *  xml_graph,
const char *  reference 
)

Definition at line 661 of file pcmk_graph_consumer.c.

◆ pcmk__update_graph()

void pcmk__update_graph ( crm_graph_t graph,
crm_action_t action 
)

Definition at line 111 of file pcmk_graph_consumer.c.