pacemaker  2.0.4-2deceaa
Scalable High-Availability cluster resource manager
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Functions | Variables
complex.c File Reference
#include <crm_internal.h>
#include <crm/pengine/rules.h>
#include <crm/pengine/internal.h>
#include <crm/msg_xml.h>
Include dependency graph for complex.c:

Go to the source code of this file.

Functions

void populate_hash (xmlNode *nvpair_list, GHashTable *hash, const char **attrs, int attrs_length)
 
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 common_unpack (xmlNode *xml_obj, pe_resource_t **rsc, pe_resource_t *parent, pe_working_set_t *data_set)
 
void common_update_score (pe_resource_t *rsc, const char *id, int score)
 
gboolean is_parent (pe_resource_t *child, pe_resource_t *rsc)
 
pe_resource_tuber_parent (pe_resource_t *rsc)
 
void common_free (pe_resource_t *rsc)
 
pe_node_tpe__find_active_on (const pe_resource_t *rsc, unsigned int *count_all, unsigned int *count_clean)
 
pe_node_tpe__find_active_requires (const pe_resource_t *rsc, unsigned int *count)
 
void pe__count_common (pe_resource_t *rsc)
 

Variables

resource_object_functions_t resource_class_functions []
 

Function Documentation

void common_free ( pe_resource_t rsc)

Definition at line 776 of file complex.c.

gboolean common_unpack ( xmlNode *  xml_obj,
pe_resource_t **  rsc,
pe_resource_t parent,
pe_working_set_t data_set 
)

Definition at line 366 of file complex.c.

void common_update_score ( pe_resource_t rsc,
const char *  id,
int  score 
)

Definition at line 723 of file complex.c.

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

Definition at line 95 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 129 of file complex.c.

gboolean is_parent ( pe_resource_t child,
pe_resource_t rsc 
)

Definition at line 745 of file complex.c.

void pe__count_common ( pe_resource_t rsc)

Definition at line 947 of file complex.c.

pe_node_t* pe__find_active_on ( const pe_resource_t rsc,
unsigned int *  count_all,
unsigned int *  count_clean 
)

Definition at line 858 of file complex.c.

pe_node_t* pe__find_active_requires ( const pe_resource_t rsc,
unsigned int *  count 
)

Definition at line 938 of file complex.c.

void populate_hash ( xmlNode *  nvpair_list,
GHashTable *  hash,
const char **  attrs,
int  attrs_length 
)
pe_resource_t* uber_parent ( pe_resource_t rsc)

Definition at line 762 of file complex.c.

Variable Documentation

resource_object_functions_t resource_class_functions[]

Definition at line 18 of file complex.c.