66 " because '%s' is not a valid value",
86 const char *value = NULL;
93 crm_warn(
"Using 0 for %s because '%s' is invalid: %s",
#define CRM_CHECK(expr, failure_action)
bool pcmk__strcase_any_of(const char *s,...) G_GNUC_NULL_TERMINATED
#define pcmk__config_err(fmt...)
const char * pcmk__cluster_option(GHashTable *options, const char *name)
const char * pcmk_rc_str(int rc)
Get a user-friendly description of a return code.
#define crm_warn(fmt, args...)
int pcmk__health_score(const char *option, const pcmk_scheduler_t *scheduler)
#define PCMK_VALUE_ONLY_GREEN
enum pcmk__health_strategy pcmk__parse_health_strategy(const char *value)
#define PCMK_VALUE_CUSTOM
#define PCMK_OPT_NODE_HEALTH_STRATEGY
pcmk_scheduler_t * scheduler
int pcmk_parse_score(const char *score_s, int *score, int default_score)
Parse an integer score from a string.
#define PCMK_VALUE_PROGRESSIVE
#define PCMK_VALUE_MIGRATE_ON_RED
bool pcmk__validate_health_strategy(const char *value)