33 #ifdef PCMK__COMPAT_2_0 40 #ifdef PCMK__COMPAT_2_0 71 " role is deprecated and will be removed in a " 80 " role is deprecated and will be removed in a "
const char * pcmk_role_text(enum rsc_role_e role)
Get readable description of a resource role.
#define PCMK__ROLE_PROMOTED_LEGACY
#define PCMK__ROLE_UNPROMOTED_LEGACY
#define PCMK_ROLE_STOPPED
enum rsc_role_e pcmk_parse_role(const char *role)
Parse a resource role from a string role specification.
#define pcmk__warn_once(wo_flag, fmt...)
#define PCMK__ROLE_UNKNOWN
#define PCMK_ROLE_PROMOTED
#define PCMK_ROLE_STARTED
#define PCMK_ROLE_UNPROMOTED
Resource role is unknown.