pacemaker  2.1.7-0f7f88312f
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 (pcmk__graph_t *graph, const pcmk__graph_action_t *action)
 
void pcmk__set_graph_functions (pcmk__graph_functions_t *fns)
 
enum pcmk__graph_status pcmk__execute_graph (pcmk__graph_t *graph)
 
pcmk__graph_tpcmk__unpack_graph (const xmlNode *xml_graph, const char *reference)
 
void pcmk__free_graph (pcmk__graph_t *graph)
 
lrmd_event_data_tpcmk__event_from_graph_action (const xmlNode *resource, const pcmk__graph_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 ( const xmlNode *  resource,
const pcmk__graph_action_t action,
int  status,
int  rc,
const char *  exit_reason 
)

Definition at line 839 of file pcmk_graph_consumer.c.

◆ pcmk__execute_graph()

enum pcmk__graph_status pcmk__execute_graph ( pcmk__graph_t graph)

Definition at line 359 of file pcmk_graph_consumer.c.

◆ pcmk__free_graph()

void pcmk__free_graph ( pcmk__graph_t graph)

Definition at line 810 of file pcmk_graph_consumer.c.

◆ pcmk__set_graph_functions()

void pcmk__set_graph_functions ( pcmk__graph_functions_t fns)

Definition at line 153 of file pcmk_graph_consumer.c.

◆ pcmk__unpack_graph()

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

Definition at line 677 of file pcmk_graph_consumer.c.

◆ pcmk__update_graph()

void pcmk__update_graph ( pcmk__graph_t graph,
const pcmk__graph_action_t action 
)

Definition at line 116 of file pcmk_graph_consumer.c.