10 #ifndef PENGINE_STATUS__H 11 # define PENGINE_STATUS__H 46 #if ENABLE_VERSIONED_ATTRS
pe_resource_t * pe_find_resource_with_flags(GListPtr 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_node_t * pe_find_node(GListPtr node_list, const char *uname)
pe_node_t * pe_find_node_id(GListPtr node_list, const char *id)
GListPtr find_operations(const char *rsc, const char *node, gboolean active_filter, pe_working_set_t *data_set)
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_resource_t * pe_find_resource(GListPtr rsc_list, const char *id_rh)
const char * rsc_printable_id(pe_resource_t *rsc)
gboolean cluster_status(pe_working_set_t *data_set)
Data types for cluster status.
pe_node_t * pe_find_node_any(GListPtr node_list, const char *id, const char *uname)
int pe_bundle_replicas(const pe_resource_t *rsc)
Get the number of configured replicas in a bundle.