10 #ifndef PENGINE_STATUS__H
11 # define PENGINE_STATUS__H
43 GList *
find_operations(
const char *rsc,
const char *node, gboolean active_filter,
46 #if ENABLE_VERSIONED_ATTRS
pe_node_t * pe_find_node(GList *node_list, const char *uname)
pe_node_t * pe_find_node_any(GList *node_list, const char *id, const char *uname)
pe_resource_t * pe_find_resource_with_flags(GList *rsc_list, const char *id, enum pe_find flags)
void pe_free_working_set(pe_working_set_t *data_set)
Free a working set.
pe_working_set_t * pe_new_working_set(void)
Create a new working set.
pe_resource_t * pe_find_resource(GList *rsc_list, const char *id_rh)
void pe_reset_working_set(pe_working_set_t *data_set)
Reset a working set to default state without freeing it.
void cleanup_calculations(pe_working_set_t *data_set)
Reset working set to default state without freeing it or constraints.
pe_find
Determine behavior of pe_find_resource_with_flags()
pe_resource_t * uber_parent(pe_resource_t *rsc)
#define pcmk_is_set(g, f)
Convenience alias for pcmk_all_flags_set(), to check single flag.
void set_working_set_defaults(pe_working_set_t *data_set)
enum pe_obj_types variant
pe_node_t * pe_find_node_id(GList *node_list, const char *id)
const char * rsc_printable_id(pe_resource_t *rsc)
gboolean cluster_status(pe_working_set_t *data_set)
GList * find_operations(const char *rsc, const char *node, gboolean active_filter, pe_working_set_t *data_set)
Data types for cluster status.
int pe_bundle_replicas(const pe_resource_t *rsc)
Get the number of configured replicas in a bundle.