10#ifndef PCMK__CRM_PENGINE_COMMON__H
11# define PCMK__CRM_PENGINE_COMMON__H
31const char *
pe_pref(GHashTable * options,
const char *
name);
40static inline const char *
45 return "shutting it down";
47 return "attempting recovery";
49 return "waiting for an administrator";
51 return "stopping unexpected instances";
88#if !defined(PCMK_ALLOW_DEPRECATED) || (PCMK_ALLOW_DEPRECATED == 1)
action_fail_response
Possible responses to a resource action failure.
action_tasks
Possible actions (including some pseudo-actions)
enum action_tasks text2task(const char *task)
gboolean was_processing_error
const char * fail2text(enum action_fail_response fail)
struct pe_rule_eval_data pe_rule_eval_data_t
const char * role2text(enum rsc_role_e role)
const char * task2text(enum action_tasks task)
const char * pe_pref(GHashTable *options, const char *name)
struct pe_match_data pe_match_data_t
gboolean was_processing_warning
struct pe_re_match_data pe_re_match_data_t
struct pe_op_eval_data pe_op_eval_data_t
enum rsc_role_e text2role(const char *role)
struct pe_rsc_eval_data pe_rsc_eval_data_t
Deprecated Pacemaker scheduler utilities.
enum crm_ais_msg_types type
struct crm_time_s crm_time_t
rsc_recovery_type
How to recover a resource that is incorrectly active on multiple nodes.
@ pcmk_multiply_active_block
Do nothing to resource.
@ pcmk_multiply_active_restart
Stop on all, start on desired.
@ pcmk_multiply_active_stop
Stop on all and leave stopped.
@ pcmk_multiply_active_unexpected
Stop unexpected instances.
pe_rsc_eval_data_t * rsc_data
pe_match_data_t * match_data
pe_op_eval_data_t * op_data