![]() |
pacemaker
1.1.18-7fdfbbe
Scalable High-Availability cluster resource manager
|
#include <crm_internal.h>#include <crm/pengine/rules.h>#include <crm/pengine/internal.h>#include <crm/msg_xml.h>#include <unpack.h>
Go to the source code of this file.
Functions | |
| void | populate_hash (xmlNode *nvpair_list, GHashTable *hash, const char **attrs, int attrs_length) |
| enum pe_obj_types | get_resource_type (const char *name) |
| const char * | get_resource_typename (enum pe_obj_types type) |
| void | get_meta_attributes (GHashTable *meta_hash, resource_t *rsc, node_t *node, pe_working_set_t *data_set) |
| void | get_rsc_attributes (GHashTable *meta_hash, resource_t *rsc, node_t *node, pe_working_set_t *data_set) |
| gboolean | common_unpack (xmlNode *xml_obj, resource_t **rsc, resource_t *parent, pe_working_set_t *data_set) |
| void | common_update_score (resource_t *rsc, const char *id, int score) |
| gboolean | is_parent (resource_t *child, resource_t *rsc) |
| resource_t * | uber_parent (resource_t *rsc) |
| void | common_free (resource_t *rsc) |
Variables | |
| resource_object_functions_t | resource_class_functions [] |
| void common_free | ( | resource_t * | rsc | ) |
| gboolean common_unpack | ( | xmlNode * | xml_obj, |
| resource_t ** | rsc, | ||
| resource_t * | parent, | ||
| pe_working_set_t * | data_set | ||
| ) |
| void common_update_score | ( | resource_t * | rsc, |
| const char * | id, | ||
| int | score | ||
| ) |
| void get_meta_attributes | ( | GHashTable * | meta_hash, |
| resource_t * | rsc, | ||
| node_t * | node, | ||
| pe_working_set_t * | data_set | ||
| ) |
| enum pe_obj_types get_resource_type | ( | const char * | name | ) |
| const char* get_resource_typename | ( | enum pe_obj_types | type | ) |
| void get_rsc_attributes | ( | GHashTable * | meta_hash, |
| resource_t * | rsc, | ||
| node_t * | node, | ||
| pe_working_set_t * | data_set | ||
| ) |
| gboolean is_parent | ( | resource_t * | child, |
| resource_t * | rsc | ||
| ) |
| void populate_hash | ( | xmlNode * | nvpair_list, |
| GHashTable * | hash, | ||
| const char ** | attrs, | ||
| int | attrs_length | ||
| ) |
| resource_t* uber_parent | ( | resource_t * | rsc | ) |
| resource_object_functions_t resource_class_functions[] |
1.8.5