pacemaker  2.1.0-7c3f660
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
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, 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, pe_resource_t *rsc, 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

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

Definition at line 140 of file complex.c.

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

Definition at line 190 of file complex.c.

gboolean is_parent ( pe_resource_t child,
pe_resource_t rsc 
)

Definition at line 886 of file complex.c.

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

Get a table of resource parameters.

Parameters
[in]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 457 of file complex.c.

pe_resource_t* uber_parent ( pe_resource_t rsc)

Definition at line 903 of file complex.c.

Variable Documentation

resource_object_functions_t resource_class_functions[]

Definition at line 19 of file complex.c.