pacemaker  2.1.7-0f7f88312f
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 (pcmk_resource_t *rsc, const pcmk_node_t *node, pcmk_scheduler_t *scheduler)
 Get a table of resource parameters. More...
 
void get_meta_attributes (GHashTable *meta_hash, pcmk_resource_t *rsc, pcmk_node_t *node, pcmk_scheduler_t *scheduler)
 
void get_rsc_attributes (GHashTable *meta_hash, const pcmk_resource_t *rsc, const pcmk_node_t *node, pcmk_scheduler_t *scheduler)
 
gboolean is_parent (pcmk_resource_t *child, pcmk_resource_t *rsc)
 
pcmk_resource_tuber_parent (pcmk_resource_t *rsc)
 

Variables

pcmk_rsc_methods_t resource_class_functions []
 

Function Documentation

◆ get_meta_attributes()

void get_meta_attributes ( GHashTable *  meta_hash,
pcmk_resource_t rsc,
pcmk_node_t node,
pcmk_scheduler_t scheduler 
)

Definition at line 157 of file complex.c.

◆ get_rsc_attributes()

void get_rsc_attributes ( GHashTable *  meta_hash,
const pcmk_resource_t rsc,
const pcmk_node_t node,
pcmk_scheduler_t scheduler 
)

Definition at line 207 of file complex.c.

◆ is_parent()

gboolean is_parent ( pcmk_resource_t child,
pcmk_resource_t rsc 
)

Definition at line 919 of file complex.c.

◆ pe_rsc_params()

GHashTable* pe_rsc_params ( pcmk_resource_t rsc,
const pcmk_node_t node,
pcmk_scheduler_t scheduler 
)

Get a table of resource parameters.

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

Definition at line 446 of file complex.c.

◆ uber_parent()

pcmk_resource_t* uber_parent ( pcmk_resource_t rsc)

Definition at line 936 of file complex.c.

Variable Documentation

◆ resource_class_functions

pcmk_rsc_methods_t resource_class_functions[]

Definition at line 26 of file complex.c.