pacemaker  2.1.5-b7adf64e51
Scalable High-Availability cluster resource manager
Functions | Variables
complex.h File Reference
#include <glib.h>
#include <libxml/tree.h>
#include <crm/pengine/pe_types.h>
Include dependency graph for complex.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

GHashTable * pe_rsc_params (pe_resource_t *rsc, const pe_node_t *node, pe_working_set_t *data_set)
 Get a table of resource parameters. More...
 
void get_meta_attributes (GHashTable *meta_hash, pe_resource_t *rsc, pe_node_t *node, pe_working_set_t *data_set)
 
void get_rsc_attributes (GHashTable *meta_hash, const pe_resource_t *rsc, const pe_node_t *node, pe_working_set_t *data_set)
 
gboolean is_parent (pe_resource_t *child, pe_resource_t *rsc)
 
pe_resource_tuber_parent (pe_resource_t *rsc)
 

Variables

resource_object_functions_t resource_class_functions []
 

Function Documentation

◆ get_meta_attributes()

void get_meta_attributes ( GHashTable *  meta_hash,
pe_resource_t rsc,
pe_node_t node,
pe_working_set_t data_set 
)

Definition at line 142 of file complex.c.

◆ get_rsc_attributes()

void get_rsc_attributes ( GHashTable *  meta_hash,
const pe_resource_t rsc,
const pe_node_t node,
pe_working_set_t data_set 
)

Definition at line 192 of file complex.c.

◆ is_parent()

gboolean is_parent ( pe_resource_t child,
pe_resource_t rsc 
)

Definition at line 895 of file complex.c.

◆ pe_rsc_params()

GHashTable* pe_rsc_params ( pe_resource_t rsc,
const pe_node_t node,
pe_working_set_t data_set 
)

Get a table of resource parameters.

Parameters
[in,out]rscResource to query
[in]nodeNode for evaluating rules (NULL for defaults)
[in]data_setCluster working set
Returns
Hash table containing resource parameter names and values (or NULL if rsc or data_set is NULL)
Note
The returned table will be destroyed when the resource is freed, so callers should not destroy it.

Definition at line 429 of file complex.c.

◆ uber_parent()

pe_resource_t* uber_parent ( pe_resource_t rsc)

Definition at line 912 of file complex.c.

Variable Documentation

◆ resource_class_functions

resource_object_functions_t resource_class_functions[]

Definition at line 21 of file complex.c.