10 #ifndef PCMK__CRM_PENGINE_STATUS__H 11 # define PCMK__CRM_PENGINE_STATUS__H 53 const char *node_name);
54 GList *
find_operations(
const char *rsc,
const char *node, gboolean active_filter,
60 #if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1) GList * find_operations(const char *rsc, const char *node, gboolean active_filter, pcmk_scheduler_t *scheduler)
pcmk_resource_t * pe_find_resource_with_flags(GList *rsc_list, const char *id, enum pe_find flags)
pe_find
Search options for resources (exact resource ID always matches)
pcmk_resource_t * pe_find_resource(GList *rsc_list, const char *id)
void pe_reset_working_set(pcmk_scheduler_t *scheduler)
Reset scheduler data to default state without freeing it.
const char * rsc_printable_id(const pcmk_resource_t *rsc)
int pe_bundle_replicas(const pcmk_resource_t *rsc)
Get the number of configured replicas in a bundle.
gboolean cluster_status(pcmk_scheduler_t *scheduler)
pcmk_node_t * pe_find_node_id(const GList *node_list, const char *id)
Find a node by ID in a list of nodes.
void set_working_set_defaults(pcmk_scheduler_t *scheduler)
pcmk_scheduler_t * pe_new_working_set(void)
Create a new object to hold scheduler data.
pcmk_node_t * pe_find_node_any(const GList *node_list, const char *id, const char *node_name)
Find a node by name or ID in a list of nodes.
void cleanup_calculations(pcmk_scheduler_t *scheduler)
Reset scheduler data to defaults without freeing it or constraints.
void pe_free_working_set(pcmk_scheduler_t *scheduler)
Free scheduler data.
pcmk_scheduler_t * scheduler
Deprecated Pacemaker scheduler utilities.
void calculate_active_ops(const GList *sorted_op_list, int *start_index, int *stop_index)
Data types for cluster status.