10 #ifndef PCMK__CRM_COMMON_SCHEDULER__H 11 #define PCMK__CRM_COMMON_SCHEDULER__H 13 #include <sys/types.h> 14 #include <libxml/tree.h> 47 #if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1) 291 const char *node_name);
297 #endif // PCMK__CRM_COMMON_SCHEDULER__H
pcmk_node_t * pcmk_find_node(const pcmk_scheduler_t *scheduler, const char *node_name)
Find a node by name in scheduler data.
enum pe_quorum_policy no_quorum_policy
Scheduler API for resources.
Type aliases needed to define scheduler objects.
struct crm_time_s crm_time_t
gboolean was_processing_warning
int priority_fencing_delay
pcmk_node_t * pcmk_get_dc(const pcmk_scheduler_t *scheduler)
pe_quorum_policy
Possible responses to loss of quorum.
GList * ticket_constraints
Scheduler API for resource roles.
const char * stonith_action
gboolean was_processing_error
bool pcmk_has_quorum(const pcmk_scheduler_t *scheduler)
const char * placement_strategy
GList * ordering_constraints
guint node_pending_timeout
pcmk_scheduler_t * scheduler
GList * colocation_constraints
Scheduler API for tickets.
GList * placement_constraints
int pcmk_set_scheduler_cib(pcmk_scheduler_t *scheduler, xmlNode *cib)
enum pe_quorum_policy pcmk_get_no_quorum_policy(const pcmk_scheduler_t *scheduler)
GHashTable * template_rsc_sets