10 #ifndef PCMK__OPTIONS_INTERNAL__H    11 #  define PCMK__OPTIONS_INTERNAL__H    13 #  ifndef PCMK__CONFIG_H    14 #    define PCMK__CONFIG_H    30 #    define no_argument 0    31 #    define required_argument 1    62                            const char *app_desc);
    64                           const char **longname);
    98                                  int len, 
const char *
name);
   101                                     const char *desc_long,
   124 #define PCMK__ENV_BLACKBOX                  "blackbox"   125 #define PCMK__ENV_CLUSTER_TYPE              "cluster_type"   126 #define PCMK__ENV_DEBUG                     "debug"   127 #define PCMK__ENV_LOGFACILITY               "logfacility"   128 #define PCMK__ENV_LOGFILE                   "logfile"   129 #define PCMK__ENV_LOGPRIORITY               "logpriority"   130 #define PCMK__ENV_MCP                       "mcp"   131 #define PCMK__ENV_NODE_START_STATE          "node_start_state"   132 #define PCMK__ENV_PHYSICAL_HOST             "physical_host"   133 #define PCMK__ENV_QUORUM_TYPE               "quorum_type"   134 #define PCMK__ENV_SHUTDOWN_DELAY            "shutdown_delay"   135 #define PCMK__ENV_STDERR                    "stderr"   138 #define PCMK__OPT_NODE_HEALTH_BASE          "node-health-base"   139 #define PCMK__OPT_NODE_HEALTH_GREEN         "node-health-green"   140 #define PCMK__OPT_NODE_HEALTH_RED           "node-health-red"   141 #define PCMK__OPT_NODE_HEALTH_STRATEGY      "node-health-strategy"   142 #define PCMK__OPT_NODE_HEALTH_YELLOW        "node-health-yellow"   145 #define PCMK__META_ALLOW_UNHEALTHY_NODES    "allow-unhealthy-nodes"   148 #define PCMK__VALUE_CUSTOM                  "custom"   149 #define PCMK__VALUE_FENCING                 "fencing"   150 #define PCMK__VALUE_GREEN                   "green"   151 #define PCMK__VALUE_MIGRATE_ON_RED          "migrate-on-red"   152 #define PCMK__VALUE_NONE                    "none"   153 #define PCMK__VALUE_NOTHING                 "nothing"   154 #define PCMK__VALUE_ONLY_GREEN              "only-green"   155 #define PCMK__VALUE_PROGRESSIVE             "progressive"   156 #define PCMK__VALUE_QUORUM                  "quorum"   157 #define PCMK__VALUE_RED                     "red"   158 #define PCMK__VALUE_UNFENCING               "unfencing"   159 #define PCMK__VALUE_YELLOW                  "yellow"   161 #endif // PCMK__OPTIONS_INTERNAL__H bool pcmk__valid_script(const char *value)
 
bool pcmk__valid_sbd_timeout(const char *value)
 
enum crm_exit_e crm_exit_t
 
bool(* is_valid)(const char *)
 
void pcmk__set_env_option(const char *option, const char *value)
Set or unset a Pacemaker environment variable option. 
 
const char * default_value
 
struct pcmk__cli_option_s pcmk__cli_option_t
 
_Noreturn void pcmk__cli_help(char cmd, crm_exit_t exit_code)
 
const char * pcmk__env_option(const char *option)
 
struct pcmk__cluster_option_s pcmk__cluster_option_t
 
bool pcmk__valid_positive_number(const char *value)
 
bool pcmk__valid_quorum(const char *value)
 
bool pcmk__valid_interval_spec(const char *value)
 
int daemon(int nochdir, int noclose)
 
long pcmk__auto_watchdog_timeout(void)
 
gchar * pcmk__format_option_metadata(const char *name, const char *desc_short, const char *desc_long, pcmk__cluster_option_t *option_list, int len)
 
const char * pcmk__cluster_option(GHashTable *options, const pcmk__cluster_option_t *option_list, int len, const char *name)
 
bool pcmk__valid_boolean(const char *value)
 
bool pcmk__get_sbd_sync_resource_startup(void)
 
void pcmk__cli_option_cleanup(void)
 
int pcmk__next_cli_option(int argc, char **argv, int *index, const char **longname)
 
bool pcmk__valid_number(const char *value)
 
void pcmk__set_cli_options(const char *short_options, const char *usage, const pcmk__cli_option_t *long_options, const char *app_desc)
 
const char * description_short
 
void pcmk__validate_cluster_options(GHashTable *options, pcmk__cluster_option_t *option_list, int len)
 
bool pcmk__valid_percentage(const char *value)
 
long pcmk__get_sbd_timeout(void)
 
bool pcmk__env_option_enabled(const char *daemon, const char *option)
 
const char * description_long