Go to the source code of this file.
|
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) |
|
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...
|
|
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_t * | uber_parent (pe_resource_t *rsc) |
|
void | common_free (pe_resource_t *rsc) |
|
pe_node_t * | pe__find_active_on (const pe_resource_t *rsc, unsigned int *count_all, unsigned int *count_clean) |
|
pe_node_t * | pe__find_active_requires (const pe_resource_t *rsc, unsigned int *count) |
|
void | pe__count_common (pe_resource_t *rsc) |
|
void | pe__set_next_role (pe_resource_t *rsc, enum rsc_role_e role, const char *why) |
|
void common_update_score |
( |
pe_resource_t * |
rsc, |
|
|
const char * |
id, |
|
|
int |
score |
|
) |
| |
pe_node_t* pe__find_active_on |
( |
const pe_resource_t * |
rsc, |
|
|
unsigned int * |
count_all, |
|
|
unsigned int * |
count_clean |
|
) |
| |
Get a table of resource parameters.
- Parameters
-
[in] | rsc | Resource to query |
[in] | node | Node for evaluating rules (NULL for defaults) |
[in] | data_set | Cluster 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.
void populate_hash |
( |
xmlNode * |
nvpair_list, |
|
|
GHashTable * |
hash, |
|
|
const char ** |
attrs, |
|
|
int |
attrs_length |
|
) |
| |