options 109 daemons/based/based_common.c cib_cleanup_query(int options, xmlNode ** data, xmlNode ** output) options 112 daemons/based/based_common.c if ((options & cib_no_children) options 120 daemons/based/based_common.c cib_cleanup_data(int options, xmlNode ** data, xmlNode ** output) options 128 daemons/based/based_common.c cib_cleanup_output(int options, xmlNode ** data, xmlNode ** output) options 135 daemons/based/based_common.c cib_cleanup_none(int options, xmlNode ** data, xmlNode ** output) options 348 daemons/based/based_common.c cib_op_cleanup(int call_type, int options, xmlNode ** input, xmlNode ** output) options 351 daemons/based/based_common.c return cib_server_ops[call_type].cleanup(options, input, output); options 41 daemons/based/based_messages.c cib_process_shutdown_req(const char *op, int options, const char *section, xmlNode * req, options 65 daemons/based/based_messages.c cib_process_default(const char *op, int options, const char *section, xmlNode * req, options 86 daemons/based/based_messages.c cib_process_readwrite(const char *op, int options, const char *section, xmlNode * req, options 142 daemons/based/based_messages.c cib_process_ping(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 184 daemons/based/based_messages.c cib_process_sync(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 191 daemons/based/based_messages.c cib_process_upgrade_server(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 205 daemons/based/based_messages.c op, options, section, req, input, existing_cib, result_cib, answer); options 239 daemons/based/based_messages.c op, options, section, up, input, existing_cib, result_cib, answer); options 283 daemons/based/based_messages.c cib_process_sync_one(const char *op, int options, const char *section, xmlNode * req, options 291 daemons/based/based_messages.c cib_server_process_diff(const char *op, int options, const char *section, xmlNode * req, options 325 daemons/based/based_messages.c rc = cib_process_diff(op, options, section, req, input, existing_cib, result_cib, answer); options 336 daemons/based/based_messages.c if (options & cib_force_diff) { options 355 daemons/based/based_messages.c cib_process_replace_svr(const char *op, int options, const char *section, xmlNode * req, options 361 daemons/based/based_messages.c cib_process_replace(op, options, section, req, input, existing_cib, result_cib, answer); options 369 daemons/based/based_messages.c cib_process_delete_absolute(const char *op, int options, const char *section, xmlNode * req, options 91 daemons/based/pacemaker-based.h int cib_process_shutdown_req(const char *op, int options, const char *section, options 95 daemons/based/pacemaker-based.h int cib_process_default(const char *op, int options, const char *section, options 98 daemons/based/pacemaker-based.h int cib_process_ping(const char *op, int options, const char *section, options 101 daemons/based/pacemaker-based.h int cib_process_readwrite(const char *op, int options, const char *section, options 104 daemons/based/pacemaker-based.h int cib_process_replace_svr(const char *op, int options, const char *section, options 107 daemons/based/pacemaker-based.h int cib_server_process_diff(const char *op, int options, const char *section, options 110 daemons/based/pacemaker-based.h int cib_process_sync(const char *op, int options, const char *section, options 113 daemons/based/pacemaker-based.h int cib_process_sync_one(const char *op, int options, const char *section, options 116 daemons/based/pacemaker-based.h int cib_process_delete_absolute(const char *op, int options, options 120 daemons/based/pacemaker-based.h int cib_process_upgrade_server(const char *op, int options, const char *section, options 133 daemons/based/pacemaker-based.h int cib_op_cleanup(int call_type, int options, xmlNode **input, options 412 daemons/controld/controld_cib.c int options) options 457 daemons/controld/controld_cib.c cib__set_call_options(options, "node state deletion", options 459 daemons/controld/controld_cib.c call_id = cib_conn->cmds->remove(cib_conn, xpath, NULL, options); options 890 daemons/controld/controld_cib.c controld_update_cib(const char *section, xmlNode *data, int options, options 900 daemons/controld/controld_cib.c data, NULL, options, NULL); options 51 daemons/controld/controld_cib.h int controld_update_cib(const char *section, xmlNode *data, int options, options 66 daemons/controld/controld_cib.h enum controld_section_e section, int options); options 45 daemons/controld/controld_election.c controld_configure_election(GHashTable *options) options 49 daemons/controld/controld_election.c value = g_hash_table_lookup(options, XML_CONFIG_ATTR_ELECTION_FAIL); options 632 daemons/controld/controld_execd_state.c const char *agent, char **output, enum lrmd_call_options options) options 658 daemons/controld/controld_execd_state.c class, provider, agent, output, options, params); options 679 daemons/controld/controld_execd_state.c lrm_state_get_rsc_info(lrm_state_t * lrm_state, const char *rsc_id, enum lrmd_call_options options) options 693 daemons/controld/controld_execd_state.c rsc = ((lrmd_t *) lrm_state->conn)->cmds->get_rsc_info(lrm_state->conn, rsc_id, options); options 774 daemons/controld/controld_execd_state.c const char *provider, const char *agent, enum lrmd_call_options options) options 790 daemons/controld/controld_execd_state.c agent, options); options 795 daemons/controld/controld_execd_state.c const char *rsc_id, enum lrmd_call_options options) options 813 daemons/controld/controld_execd_state.c return ((lrmd_t *) lrm_state->conn)->cmds->unregister_rsc(lrm_state->conn, rsc_id, options); options 81 daemons/controld/controld_fencing.c controld_configure_fencing(GHashTable *options) options 85 daemons/controld/controld_fencing.c value = g_hash_table_lookup(options, XML_CONFIG_ATTR_FENCE_REACTION); options 88 daemons/controld/controld_fencing.c value = g_hash_table_lookup(options, "stonith-max-attempts"); options 929 daemons/controld/controld_fencing.c uint32_t options = st_opt_none; // Group of enum stonith_call_options options 934 daemons/controld/controld_fencing.c stonith__set_call_options(options, target, st_opt_allow_suicide); options 936 daemons/controld/controld_fencing.c return stonith_api->cmds->fence_with_delay(stonith_api, options, target, options 16 daemons/controld/controld_fencing.h void controld_configure_fencing(GHashTable *options); options 144 daemons/controld/controld_lrm.h const char *agent, char **output, enum lrmd_call_options options); options 153 daemons/controld/controld_lrm.h const char *rsc_id, enum lrmd_call_options options); options 157 daemons/controld/controld_lrm.h const char *provider, const char *agent, enum lrmd_call_options options); options 159 daemons/controld/controld_lrm.h const char *rsc_id, enum lrmd_call_options options); options 445 daemons/controld/controld_throttle.c controld_configure_throttle(GHashTable *options) options 447 daemons/controld/controld_throttle.c const char *value = g_hash_table_lookup(options, "load-threshold"); options 453 daemons/controld/controld_throttle.c value = g_hash_table_lookup(options, "node-action-limit"); options 12 daemons/controld/controld_throttle.h void controld_configure_throttle(GHashTable *options); options 330 daemons/controld/controld_timers.c controld_configure_fsa_timers(GHashTable *options) options 335 daemons/controld/controld_timers.c value = g_hash_table_lookup(options, XML_CONFIG_ATTR_DC_DEADTIME); options 339 daemons/controld/controld_timers.c value = g_hash_table_lookup(options, "join-integration-timeout"); options 343 daemons/controld/controld_timers.c value = g_hash_table_lookup(options, "join-finalization-timeout"); options 347 daemons/controld/controld_timers.c value = g_hash_table_lookup(options, XML_CONFIG_ATTR_FORCE_QUIT); options 353 daemons/controld/controld_timers.c value = g_hash_table_lookup(options, "transition-delay"); options 357 daemons/controld/controld_timers.c value = g_hash_table_lookup(options, XML_CONFIG_ATTR_RECHECK); options 19 daemons/controld/controld_timers.h void controld_configure_fsa_timers(GHashTable *options); options 34 daemons/controld/pacemaker-controld.h void controld_configure_election(GHashTable *options); options 55 daemons/execd/cts-exec-helper.c } options; options 59 daemons/execd/cts-exec-helper.c options.interval_ms = crm_parse_interval_spec(optarg); options 66 daemons/execd/cts-exec-helper.c options.exec_call_opts = lrmd_opt_notify_orig_only; options 68 daemons/execd/cts-exec-helper.c options.exec_call_opts = lrmd_opt_notify_changes_only; options 83 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, key, val); options 92 daemons/execd/cts-exec-helper.c { "api-call", 'c', 0, G_OPTION_ARG_STRING, &options.api_call, options 96 daemons/execd/cts-exec-helper.c { "is-running", 'R', 0, G_OPTION_ARG_NONE, &options.is_running, options 100 daemons/execd/cts-exec-helper.c { "listen", 'l', 0, G_OPTION_ARG_STRING, &options.listen, options 104 daemons/execd/cts-exec-helper.c { "no-wait", 'w', 0, G_OPTION_ARG_NONE, &options.no_wait, options 116 daemons/execd/cts-exec-helper.c { "tls", 'S', 0, G_OPTION_ARG_NONE, &options.use_tls, options 124 daemons/execd/cts-exec-helper.c { "action", 'a', 0, G_OPTION_ARG_STRING, &options.action, options 127 daemons/execd/cts-exec-helper.c { "cancel-call-id", 'x', 0, G_OPTION_ARG_INT, &options.cancel_call_id, options 130 daemons/execd/cts-exec-helper.c { "class", 'C', 0, G_OPTION_ARG_STRING, &options.class, options 142 daemons/execd/cts-exec-helper.c { "provider", 'P', 0, G_OPTION_ARG_STRING, &options.provider, options 145 daemons/execd/cts-exec-helper.c { "rsc-id", 'r', 0, G_OPTION_ARG_STRING, &options.rsc_id, options 148 daemons/execd/cts-exec-helper.c { "start-delay", 's', 0, G_OPTION_ARG_INT, &options.start_delay, options 151 daemons/execd/cts-exec-helper.c { "timeout", 't', 0, G_OPTION_ARG_INT, &options.timeout, options 154 daemons/execd/cts-exec-helper.c { "type", 'T', 0, G_OPTION_ARG_STRING, &options.type, options 173 daemons/execd/cts-exec-helper.c if (!options.quiet) { \ options 197 daemons/execd/cts-exec-helper.c if (options.listen) { options 198 daemons/execd/cts-exec-helper.c if (pcmk__str_eq(options.listen, event_buf_v0, pcmk__str_casei)) { options 213 daemons/execd/cts-exec-helper.c if (!options.listen) { options 274 daemons/execd/cts-exec-helper.c if (!options.no_connect) { options 283 daemons/execd/cts-exec-helper.c if (options.timeout) { options 284 daemons/execd/cts-exec-helper.c g_timeout_add(options.timeout, timeout_err, NULL); options 287 daemons/execd/cts-exec-helper.c if (!options.api_call) { options 291 daemons/execd/cts-exec-helper.c if (pcmk__str_eq(options.api_call, "exec", pcmk__str_casei)) { options 293 daemons/execd/cts-exec-helper.c options.rsc_id, options 294 daemons/execd/cts-exec-helper.c options.action, options 296 daemons/execd/cts-exec-helper.c options.interval_ms, options 297 daemons/execd/cts-exec-helper.c options.timeout, options 298 daemons/execd/cts-exec-helper.c options.start_delay, options 299 daemons/execd/cts-exec-helper.c options.exec_call_opts, options 300 daemons/execd/cts-exec-helper.c options.params); options 307 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "register_rsc", pcmk__str_casei)) { options 309 daemons/execd/cts-exec-helper.c options.rsc_id, options 310 daemons/execd/cts-exec-helper.c options.class, options.provider, options.type, 0); options 311 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "get_rsc_info", pcmk__str_casei)) { options 314 daemons/execd/cts-exec-helper.c rsc_info = lrmd_conn->cmds->get_rsc_info(lrmd_conn, options.rsc_id, 0); options 326 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "unregister_rsc", pcmk__str_casei)) { options 327 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->unregister_rsc(lrmd_conn, options.rsc_id, 0); options 328 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "cancel", pcmk__str_casei)) { options 329 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->cancel(lrmd_conn, options.rsc_id, options.action, options 330 daemons/execd/cts-exec-helper.c options.interval_ms); options 331 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "metadata", pcmk__str_casei)) { options 335 daemons/execd/cts-exec-helper.c options.class, options 336 daemons/execd/cts-exec-helper.c options.provider, options.type, &output, 0); options 341 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "list_agents", pcmk__str_casei)) { options 345 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_agents(lrmd_conn, &list, options.class, options.provider); options 358 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "list_ocf_providers", pcmk__str_casei)) { options 362 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, options.type, &list); options 376 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "list_standards", pcmk__str_casei)) { options 394 daemons/execd/cts-exec-helper.c } else if (pcmk__str_eq(options.api_call, "get_recurring_ops", pcmk__str_casei)) { options 397 daemons/execd/cts-exec-helper.c rc = lrmd_conn->cmds->get_recurring_ops(lrmd_conn, options.rsc_id, 0, 0, options 410 daemons/execd/cts-exec-helper.c } else if (options.api_call) { options 411 daemons/execd/cts-exec-helper.c print_result("API-CALL FAILURE unknown action '%s'", options.action); options 417 daemons/execd/cts-exec-helper.c options.api_call, rc); options 421 daemons/execd/cts-exec-helper.c if (options.api_call && rc == pcmk_ok) { options 422 daemons/execd/cts-exec-helper.c print_result("API-CALL SUCCESSFUL for '%s'", options.api_call); options 423 daemons/execd/cts-exec-helper.c if (!options.listen) { options 428 daemons/execd/cts-exec-helper.c if (options.no_wait) { options 455 daemons/execd/cts-exec-helper.c if (options.params != NULL) { options 481 daemons/execd/cts-exec-helper.c rsc = pe_find_resource_with_flags(data_set->resources, options.rsc_id, options 495 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, key, value); options 507 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, crm_name, value); options 561 daemons/execd/cts-exec-helper.c if (!options.listen && pcmk__strcase_any_of(options.api_call, "metadata", "list_agents", options 563 daemons/execd/cts-exec-helper.c options.no_connect = TRUE; options 566 daemons/execd/cts-exec-helper.c if (options.is_running) { options 569 daemons/execd/cts-exec-helper.c if (options.rsc_id == NULL) { options 576 daemons/execd/cts-exec-helper.c options.interval_ms = 0; options 577 daemons/execd/cts-exec-helper.c if (options.timeout == 0) { options 578 daemons/execd/cts-exec-helper.c options.timeout = 30000; options 589 daemons/execd/cts-exec-helper.c options.api_call = "exec"; options 590 daemons/execd/cts-exec-helper.c options.action = "monitor"; options 591 daemons/execd/cts-exec-helper.c options.exec_call_opts = lrmd_opt_notify_orig_only; options 594 daemons/execd/cts-exec-helper.c if (!options.api_call && !options.listen) { options 602 daemons/execd/cts-exec-helper.c if (options.use_tls) { options 50 daemons/execd/pacemaker-execd.c } options; options 405 daemons/execd/pacemaker-execd.c &options.log_files, "Send logs to the additional named logfile", NULL }, options 409 daemons/execd/pacemaker-execd.c { "port", 'p', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.port, options 482 daemons/execd/pacemaker-execd.c if (options.log_files != NULL) { options 483 daemons/execd/pacemaker-execd.c for (gchar **fname = options.log_files; *fname != NULL; fname++) { options 514 daemons/execd/pacemaker-execd.c if (options.port != NULL) { options 515 daemons/execd/pacemaker-execd.c setenv("PCMK_remote_port", options.port, 1); options 566 daemons/execd/pacemaker-execd.c g_strfreev(options.log_files); options 568 daemons/execd/pacemaker-execd.c g_free(options.port); options 55 daemons/fenced/cts-fence-helper.c } options = { options 62 daemons/fenced/cts-fence-helper.c options.mode = test_api_mainloop; options 64 daemons/fenced/cts-fence-helper.c options.mode = test_api_sanity; options 66 daemons/fenced/cts-fence-helper.c options.mode = test_passive; options 658 daemons/fenced/cts-fence-helper.c switch (options.mode) { options 86 daemons/fenced/fenced_commands.c int options; options 368 daemons/fenced/fenced_commands.c crm_element_value_int(msg, F_STONITH_CALLOPTS, &(cmd->options)); options 2627 daemons/fenced/fenced_commands.c stonith_send_reply(reply, cmd->options, cmd->origin, client); options 2890 daemons/fenced/fenced_commands.c if (pcmk_is_set(cmd->options, st_opt_cs_nodeid)) { options 2997 daemons/fenced/fenced_commands.c crm_xml_add_int(reply, F_STONITH_CALLOPTS, cmd->options); options 459 daemons/fenced/fenced_history.c const char *remote_peer, int options) options 467 daemons/fenced/fenced_history.c if (target && (options & st_opt_cs_nodeid)) { options 479 daemons/fenced/fenced_history.c if (options & st_opt_cleanup) { options 485 daemons/fenced/fenced_history.c } else if (options & st_opt_broadcast) { options 1352 daemons/fenced/fenced_remote.c find_best_peer(const char *device, remote_fencing_op_t * op, enum find_best_peer_options options) options 1355 daemons/fenced/fenced_remote.c gboolean verified_devices_only = (options & FIND_PEER_VERIFIED_ONLY) ? TRUE : FALSE; options 1366 daemons/fenced/fenced_remote.c pcmk__plural_s(peer->ndevices), peer->tried, options); options 1367 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { options 1370 daemons/fenced/fenced_remote.c if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) { options 78 daemons/fenced/pacemaker-fenced.c } options; options 1297 daemons/fenced/pacemaker-fenced.c options.no_cib_connect = true; options 1577 daemons/fenced/pacemaker-fenced.c &options.log_files, "Send logs to the additional named logfile", NULL }, options 1636 daemons/fenced/pacemaker-fenced.c pcmk__add_logfiles(options.log_files, out); options 1707 daemons/fenced/pacemaker-fenced.c if (!options.no_cib_connect) { options 1731 daemons/fenced/pacemaker-fenced.c g_strfreev(options.log_files); options 264 daemons/fenced/pacemaker-fenced.h const char *remote_peer, int options); options 39 daemons/pacemakerd/pacemakerd.c } options; options 94 daemons/pacemakerd/pacemakerd.c options.standby = TRUE; options 100 daemons/pacemakerd/pacemakerd.c { "features", 'F', 0, G_OPTION_ARG_NONE, &options.features, options 103 daemons/pacemakerd/pacemakerd.c { "foreground", 'f', 0, G_OPTION_ARG_NONE, &options.foreground, options 109 daemons/pacemakerd/pacemakerd.c { "shutdown", 'S', 0, G_OPTION_ARG_NONE, &options.shutdown, options 304 daemons/pacemakerd/pacemakerd.c if (options.features) { options 317 daemons/pacemakerd/pacemakerd.c if (options.shutdown) { options 336 daemons/pacemakerd/pacemakerd.c if (options.shutdown) { options 31 daemons/schedulerd/pacemaker-schedulerd.c } options; options 54 daemons/schedulerd/pacemaker-schedulerd.c { G_OPTION_REMAINING, 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING_ARRAY, &options.remainder, options 98 daemons/schedulerd/pacemaker-schedulerd.c if (options.remainder) { options 99 daemons/schedulerd/pacemaker-schedulerd.c if (g_strv_length(options.remainder) == 1 && options 100 daemons/schedulerd/pacemaker-schedulerd.c pcmk__str_eq("metadata", options.remainder[0], pcmk__str_casei)) { options 150 daemons/schedulerd/pacemaker-schedulerd.c g_strfreev(options.remainder); options 89 include/crm/cib/internal.h gboolean cib_read_config(GHashTable * options, xmlNode * current_cib); options 145 include/crm/cib/internal.h int cib_process_query(const char *op, int options, const char *section, xmlNode * req, options 149 include/crm/cib/internal.h int cib_process_erase(const char *op, int options, const char *section, xmlNode * req, options 153 include/crm/cib/internal.h int cib_process_bump(const char *op, int options, const char *section, xmlNode * req, options 157 include/crm/cib/internal.h int cib_process_replace(const char *op, int options, const char *section, xmlNode * req, options 161 include/crm/cib/internal.h int cib_process_create(const char *op, int options, const char *section, xmlNode * req, options 165 include/crm/cib/internal.h int cib_process_modify(const char *op, int options, const char *section, xmlNode * req, options 169 include/crm/cib/internal.h int cib_process_delete(const char *op, int options, const char *section, xmlNode * req, options 173 include/crm/cib/internal.h int cib_process_diff(const char *op, int options, const char *section, xmlNode * req, options 177 include/crm/cib/internal.h int cib_process_upgrade(const char *op, int options, const char *section, xmlNode * req, options 203 include/crm/cib/internal.h int cib_process_xpath(const char *op, int options, const char *section, options 259 include/crm/cib/internal.h int cib__delete_node_attr(pcmk__output_t *out, cib_t *cib, int options, options 45 include/crm/cib/util.h int delete_attr_delegate(cib_t * the_cib, int options, options 60 include/crm/cib/util.h const char *cib_pref(GHashTable * options, const char *name); options 72 include/crm/common/ipc_attrd_internal.h uint32_t options); options 88 include/crm/common/ipc_attrd_internal.h uint32_t options); options 123 include/crm/common/ipc_attrd_internal.h uint32_t options); options 165 include/crm/common/ipc_attrd_internal.h const char *user_name, uint32_t options); options 192 include/crm/common/ipc_attrd_internal.h const char *user_name, uint32_t options); options 51 include/crm/common/options_internal.h const char *pcmk__cluster_option(GHashTable *options, options 60 include/crm/common/options_internal.h void pcmk__validate_cluster_options(GHashTable *options, options 138 include/crm/common/output_internal.h GOptionEntry *options; options 604 include/crm/common/output_internal.h const GOptionEntry *options); options 168 include/crm/common/xml_internal.h int depth, uint32_t options); options 378 include/crm/lrmd.h enum lrmd_call_options options); options 390 include/crm/lrmd.h enum lrmd_call_options options); options 404 include/crm/lrmd.h enum lrmd_call_options options, GList **output); options 421 include/crm/lrmd.h enum lrmd_call_options options); options 458 include/crm/lrmd.h int start_delay, enum lrmd_call_options options, options 505 include/crm/lrmd.h char **output, enum lrmd_call_options options); options 592 include/crm/lrmd.h char **output, enum lrmd_call_options options, options 144 include/crm/pengine/common.h const char *pe_pref(GHashTable * options, const char *name); options 243 include/crm/pengine/internal.h void verify_pe_options(GHashTable * options); options 261 include/crm/pengine/internal.h void native_print(pe_resource_t *rsc, const char *pre_text, long options, options 265 include/crm/pengine/internal.h void group_print(pe_resource_t *rsc, const char *pre_text, long options, options 269 include/crm/pengine/internal.h void clone_print(pe_resource_t *rsc, const char *pre_text, long options, options 273 include/crm/pengine/internal.h void pe__print_bundle(pe_resource_t *rsc, const char *pre_text, long options, options 550 include/crm/pengine/internal.h void print_rscs_brief(GList *rsc_list, const char * pre_text, long options, options 552 include/crm/pengine/internal.h int pe__rscs_brief_output(pcmk__output_t *out, GList *rsc_list, unsigned int options); options 560 include/crm/pengine/internal.h const pe_node_t *node, long options, void *print_data); options 563 include/crm/pengine/internal.h unsigned int options); options 566 include/crm/pengine/internal.h unsigned int options); options 190 include/crm/stonith-ng.h int (*remove_device)(stonith_t *st, int options, const char *name); options 208 include/crm/stonith-ng.h int (*register_device)(stonith_t *st, int options, const char *id, options 223 include/crm/stonith-ng.h int (*remove_level)(stonith_t *st, int options, const char *node, options 238 include/crm/stonith-ng.h int (*register_level)(stonith_t *st, int options, const char *node, options 429 include/crm/stonith-ng.h int options, void *user_data, options 467 include/crm/stonith-ng.h int (*remove_level_full)(stonith_t *st, int options, options 494 include/crm/stonith-ng.h int (*register_level_full)(stonith_t *st, int options, options 370 lib/cib/cib_attrs.c cib__delete_node_attr(pcmk__output_t *out, cib_t *cib, int options, const char *section, options 400 lib/cib/cib_attrs.c NULL, options, user_name); options 504 lib/cib/cib_attrs.c delete_attr_delegate(cib_t *cib, int options, const char *section, const char *node_uuid, options 517 lib/cib/cib_attrs.c rc = cib__delete_node_attr(out, cib, options, section, node_uuid, set_type, options 30 lib/cib/cib_ops.c cib_process_query(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 39 lib/cib/cib_ops.c if (options & cib_xpath) { options 40 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, options 56 lib/cib/cib_ops.c } else if (options & cib_no_children) { options 104 lib/cib/cib_ops.c cib_process_erase(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 121 lib/cib/cib_ops.c cib_process_upgrade(const char *op, int options, const char *section, xmlNode * req, options 144 lib/cib/cib_ops.c !(options & cib_verbose)); options 156 lib/cib/cib_ops.c cib_process_bump(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 171 lib/cib/cib_ops.c cib_process_replace(const char *op, int options, const char *section, xmlNode * req, options 181 lib/cib/cib_ops.c if (options & cib_xpath) { options 182 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, options 284 lib/cib/cib_ops.c cib_process_delete(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 291 lib/cib/cib_ops.c if (options & cib_xpath) { options 292 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, options 319 lib/cib/cib_ops.c cib_process_modify(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 326 lib/cib/cib_ops.c if (options & cib_xpath) { options 327 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, options 356 lib/cib/cib_ops.c if (options & cib_can_create) { options 363 lib/cib/cib_ops.c if(options & cib_mixed_update) { options 570 lib/cib/cib_ops.c cib_process_create(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 597 lib/cib/cib_ops.c return cib_process_modify(op, options, section, req, input, existing_cib, result_cib, options 636 lib/cib/cib_ops.c cib_process_diff(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 647 lib/cib/cib_ops.c (pcmk_is_set(options, cib_force_diff)? " (global update)" : "")); options 727 lib/cib/cib_ops.c cib_process_xpath(const char *op, int options, const char *section, options 762 lib/cib/cib_ops.c if (pcmk_is_set(options, cib_multiple) options 788 lib/cib/cib_ops.c if ((options & cib_multiple) == 0) { options 795 lib/cib/cib_ops.c } else if ((options & cib_multiple) == 0) { options 805 lib/cib/cib_ops.c if (options & cib_no_children) { options 815 lib/cib/cib_ops.c } else if (options & cib_xpath_address) { options 861 lib/cib/cib_ops.c if ((options & cib_multiple) == 0) { options 132 lib/cib/cib_utils.c GHashTable *options = pcmk__strkey_table(free, free); options 134 lib/cib/cib_utils.c cib_read_config(options, xml); options 135 lib/cib/cib_utils.c value = cib_pref(options, "enable-acl"); options 137 lib/cib/cib_utils.c g_hash_table_destroy(options); options 617 lib/cib/cib_utils.c verify_cib_options(GHashTable *options) options 619 lib/cib/cib_utils.c pcmk__validate_cluster_options(options, cib_opts, PCMK__NELEM(cib_opts)); options 623 lib/cib/cib_utils.c cib_pref(GHashTable * options, const char *name) options 625 lib/cib/cib_utils.c return pcmk__cluster_option(options, cib_opts, PCMK__NELEM(cib_opts), options 630 lib/cib/cib_utils.c cib_read_config(GHashTable * options, xmlNode * current_cib) options 635 lib/cib/cib_utils.c if (options == NULL || current_cib == NULL) { options 641 lib/cib/cib_utils.c g_hash_table_remove_all(options); options 646 lib/cib/cib_utils.c options, CIB_OPTIONS_FIRST, TRUE, now, NULL); options 649 lib/cib/cib_utils.c verify_cib_options(options); options 66 lib/common/crmcommon_private.h void pcmk__xml2text(xmlNodePtr data, uint32_t options, GString *buffer, options 206 lib/common/ipc_attrd.c uint32_t options) options 224 lib/common/ipc_attrd.c pcmk_is_set(options, pcmk__node_attr_remote)); options 261 lib/common/ipc_attrd.c uint32_t options) options 276 lib/common/ipc_attrd.c options &= ~pcmk__node_attr_delay; options 277 lib/common/ipc_attrd.c options |= pcmk__node_attr_value; options 279 lib/common/ipc_attrd.c return pcmk__attrd_api_update(api, node, name, NULL, NULL, NULL, NULL, options); options 325 lib/common/ipc_attrd.c uint32_t options) options 335 lib/common/ipc_attrd.c if (pcmk_is_set(options, pcmk__node_attr_query_all)) { options 407 lib/common/ipc_attrd.c add_op_attr(xmlNode *op, uint32_t options) options 409 lib/common/ipc_attrd.c if (pcmk_all_flags_set(options, pcmk__node_attr_value | pcmk__node_attr_delay)) { options 411 lib/common/ipc_attrd.c } else if (pcmk_is_set(options, pcmk__node_attr_value)) { options 413 lib/common/ipc_attrd.c } else if (pcmk_is_set(options, pcmk__node_attr_delay)) { options 420 lib/common/ipc_attrd.c const char *dampen, const char *set, uint32_t options) options 422 lib/common/ipc_attrd.c if (pcmk_is_set(options, pcmk__node_attr_pattern)) { options 428 lib/common/ipc_attrd.c if (pcmk_is_set(options, pcmk__node_attr_utilization)) { options 434 lib/common/ipc_attrd.c add_op_attr(op, options); options 441 lib/common/ipc_attrd.c pcmk_is_set(options, pcmk__node_attr_remote)); options 443 lib/common/ipc_attrd.c pcmk_is_set(options, pcmk__node_attr_private)); options 445 lib/common/ipc_attrd.c if (pcmk_is_set(options, pcmk__node_attr_sync_local)) { options 447 lib/common/ipc_attrd.c } else if (pcmk_is_set(options, pcmk__node_attr_sync_cluster)) { options 455 lib/common/ipc_attrd.c const char *user_name, uint32_t options) options 473 lib/common/ipc_attrd.c populate_update_op(request, node, name, value, dampen, set, options); options 502 lib/common/ipc_attrd.c uint32_t options) options 543 lib/common/ipc_attrd.c add_op_attr(request, options); options 559 lib/common/ipc_attrd.c set, options); options 562 lib/common/ipc_attrd.c dampen, set, user_name, options); options 262 lib/common/options.c cluster_option_value(GHashTable *options, bool (*validate)(const char *), options 271 lib/common/options.c if (options) { options 272 lib/common/options.c value = g_hash_table_lookup(options, name); options 275 lib/common/options.c value = g_hash_table_lookup(options, old_name); options 284 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); options 317 lib/common/options.c if (options) { options 319 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); options 337 lib/common/options.c pcmk__cluster_option(GHashTable *options, options 345 lib/common/options.c value = cluster_option_value(options, option_list[lpc].is_valid, options 488 lib/common/options.c pcmk__validate_cluster_options(GHashTable *options, options 492 lib/common/options.c cluster_option_value(options, option_list[lpc].is_valid, options 128 lib/common/output.c const GOptionEntry *options) options 136 lib/common/output.c if (options != NULL && group != NULL) { options 137 lib/common/output.c g_option_group_add_entries(group, options); options 153 lib/common/output.c pcmk__register_format(group, entry->name, entry->create, entry->options); options 81 lib/common/patchset_display.c const xmlNode *data, int depth, uint32_t options) options 87 lib/common/patchset_display.c options &= ~pcmk__xml_fmt_diff_short; options 89 lib/common/patchset_display.c if (pcmk_is_set(options, pcmk__xml_fmt_diff_plus)) { options 96 lib/common/patchset_display.c if (pcmk_is_set(options, pcmk__xml_fmt_diff_short)) { options 103 lib/common/patchset_display.c depth + 1, options); options 110 lib/common/patchset_display.c options options 133 lib/common/patchset_display.c uint32_t options) options 150 lib/common/patchset_display.c options options 166 lib/common/patchset_display.c options options 1424 lib/common/xml.c dump_xml_element(const xmlNode *data, uint32_t options, GString *buffer, options 1428 lib/common/xml.c bool pretty = pcmk_is_set(options, pcmk__xml_fmt_pretty); options 1429 lib/common/xml.c bool filtered = pcmk_is_set(options, pcmk__xml_fmt_filtered); options 1462 lib/common/xml.c pcmk__xml2text(xChild, options, buffer, depth + 1); options 1487 lib/common/xml.c dump_xml_text(const xmlNode *data, uint32_t options, GString *buffer, options 1493 lib/common/xml.c bool pretty = pcmk_is_set(options, pcmk__xml_fmt_pretty); options 1517 lib/common/xml.c dump_xml_cdata(const xmlNode *data, uint32_t options, GString *buffer, options 1520 lib/common/xml.c bool pretty = pcmk_is_set(options, pcmk__xml_fmt_pretty); options 1545 lib/common/xml.c dump_xml_comment(const xmlNode *data, uint32_t options, GString *buffer, options 1548 lib/common/xml.c bool pretty = pcmk_is_set(options, pcmk__xml_fmt_pretty); options 1574 lib/common/xml.c pcmk__xml2text(xmlNodePtr data, uint32_t options, GString *buffer, int depth) options 1584 lib/common/xml.c if (pcmk_is_set(options, pcmk__xml_fmt_full)) { options 1616 lib/common/xml.c pcmk_is_set(options, pcmk__xml_fmt_pretty), NULL); options 1641 lib/common/xml.c dump_xml_element(data, options, buffer, depth); options 1644 lib/common/xml.c if (pcmk_is_set(options, pcmk__xml_fmt_text)) { options 1650 lib/common/xml.c dump_xml_text(data, options, buffer, depth); options 1654 lib/common/xml.c dump_xml_comment(data, options, buffer, depth); options 1657 lib/common/xml.c dump_xml_cdata(data, options, buffer, depth); options 22 lib/common/xml_display.c uint32_t options); options 61 lib/common/xml_display.c uint32_t options) options 63 lib/common/xml_display.c if (pcmk_is_set(options, pcmk__xml_fmt_open)) { options 64 lib/common/xml_display.c int width = pcmk_is_set(options, pcmk__xml_fmt_pretty)? (2 * depth) : 0; options 93 lib/common/xml_display.c const xmlNode *data, int depth, uint32_t options) options 96 lib/common/xml_display.c int spaces = pcmk_is_set(options, pcmk__xml_fmt_pretty)? (2 * depth) : 0; options 99 lib/common/xml_display.c if (pcmk_is_set(options, pcmk__xml_fmt_open)) { options 121 lib/common/xml_display.c if (pcmk_any_flags_set(options, options 142 lib/common/xml_display.c && pcmk_is_set(options, pcmk__xml_fmt_children)) { options 158 lib/common/xml_display.c if (pcmk_is_set(options, pcmk__xml_fmt_children)) { options 163 lib/common/xml_display.c options options 170 lib/common/xml_display.c if (pcmk_is_set(options, pcmk__xml_fmt_close)) { options 202 lib/common/xml_display.c const xmlNode *data, int depth, uint32_t options) options 206 lib/common/xml_display.c return show_xml_comment(out, data, depth, options); options 208 lib/common/xml_display.c return show_xml_element(out, buffer, prefix, data, depth, options); options 230 lib/common/xml_display.c int depth, uint32_t options) options 246 lib/common/xml_display.c rc = show_xml_node(out, buffer, prefix, data, depth, options); options 267 lib/common/xml_display.c uint32_t options) options 279 lib/common/xml_display.c options options 287 lib/common/xml_display.c bool pretty = pcmk_is_set(options, pcmk__xml_fmt_pretty); options 297 lib/common/xml_display.c options|pcmk__xml_fmt_open); options 339 lib/common/xml_display.c options); options 345 lib/common/xml_display.c options|pcmk__xml_fmt_close); options 352 lib/common/xml_display.c temp_rc = show_xml_changes_recursive(out, child, depth + 1, options); options 414 lib/common/xml_display.c uint32_t options = 0; options 445 lib/common/xml_display.c options |= pcmk__xml_fmt_filtered; options 448 lib/common/xml_display.c options |= pcmk__xml_fmt_pretty; options 451 lib/common/xml_display.c options |= pcmk__xml_fmt_full; options 454 lib/common/xml_display.c options |= pcmk__xml_fmt_open; options 457 lib/common/xml_display.c options |= pcmk__xml_fmt_children; options 460 lib/common/xml_display.c options |= pcmk__xml_fmt_close; options 463 lib/common/xml_display.c options |= pcmk__xml_fmt_text; options 466 lib/common/xml_display.c options |= pcmk__xml_fmt_diff_plus; options 469 lib/common/xml_display.c options |= pcmk__xml_fmt_diff_minus; options 472 lib/common/xml_display.c options |= pcmk__xml_fmt_diff_short; options 478 lib/common/xml_display.c show_xml_changes_recursive(out, data, depth, options); options 482 lib/common/xml_display.c if (pcmk_is_set(options, pcmk__xml_fmt_pretty) options 486 lib/common/xml_display.c if (pcmk_is_set(options, pcmk__xml_fmt_diff_plus)) { options 490 lib/common/xml_display.c } else if (pcmk_is_set(options, pcmk__xml_fmt_diff_minus)) { options 496 lib/common/xml_display.c if (pcmk_is_set(options, pcmk__xml_fmt_diff_short) options 499 lib/common/xml_display.c if (!pcmk_any_flags_set(options, options 510 lib/common/xml_display.c depth + 1, options); options 515 lib/common/xml_display.c options options 362 lib/fencing/st_client.c stonith_api_remove_level_full(stonith_t *st, int options, options 386 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_DEL, data, NULL, options, 0); options 393 lib/fencing/st_client.c stonith_api_remove_level(stonith_t * st, int options, const char *node, int level) options 395 lib/fencing/st_client.c return stonith_api_remove_level_full(st, options, node, options 454 lib/fencing/st_client.c stonith_api_register_level_full(stonith_t *st, int options, const char *node, options 464 lib/fencing/st_client.c rc = stonith_send_command(st, STONITH_OP_LEVEL_ADD, data, NULL, options, 0); options 471 lib/fencing/st_client.c stonith_api_register_level(stonith_t * st, int options, const char *node, int level, options 474 lib/fencing/st_client.c return stonith_api_register_level_full(st, options, node, NULL, NULL, NULL, options 1296 lib/fencing/st_client.c stonith_api_add_callback(stonith_t * stonith, int call_id, int timeout, int options, options 1311 lib/fencing/st_client.c if (!(options & st_opt_report_only_success)) { options 1327 lib/fencing/st_client.c blob->only_success = (options & st_opt_report_only_success) ? TRUE : FALSE; options 1330 lib/fencing/st_client.c blob->allow_timeout_updates = (options & st_opt_timeout_updates) ? TRUE : FALSE; options 518 lib/lrmd/lrmd_client.c enum lrmd_call_options options) options 530 lib/lrmd/lrmd_client.c crm_xml_add_int(op_msg, F_LRMD_CALLOPTS, options); options 537 lib/lrmd/lrmd_client.c op, (long)options, options); options 849 lib/lrmd/lrmd_client.c enum lrmd_call_options options, gboolean expect_reply) options 869 lib/lrmd/lrmd_client.c op_msg = lrmd_create_op(native->token, op, data, timeout, options); options 1690 lib/lrmd/lrmd_client.c const char *provider, const char *type, enum lrmd_call_options options) options 1710 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_REG, data, NULL, 0, options, TRUE); options 1717 lib/lrmd/lrmd_client.c lrmd_api_unregister_rsc(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options) options 1724 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_UNREG, data, NULL, 0, options, TRUE); options 1765 lib/lrmd/lrmd_client.c lrmd_api_get_rsc_info(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options) options 1776 lib/lrmd/lrmd_client.c lrmd_send_command(lrmd, LRMD_OP_RSC_INFO, data, &output, 0, options, TRUE); options 1815 lib/lrmd/lrmd_client.c enum lrmd_call_options options, GList **output) options 1833 lib/lrmd/lrmd_client.c timeout_ms, options, TRUE); options 1937 lib/lrmd/lrmd_client.c enum lrmd_call_options options) options 1940 lib/lrmd/lrmd_client.c output, options, NULL); options 1946 lib/lrmd/lrmd_client.c char **output, enum lrmd_call_options options, options 2005 lib/lrmd/lrmd_client.c enum lrmd_call_options options, lrmd_key_value_t * params) options 2024 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_EXEC, data, NULL, timeout, options, TRUE); options 322 lib/pengine/bundle.c if (mount->options != NULL) { options 323 lib/pengine/bundle.c pcmk__g_strcat(buffer, ":", mount->options, NULL); options 332 lib/pengine/bundle.c (mount->options != NULL)? "," : "", options 333 lib/pengine/bundle.c pcmk__s(mount->options, ""), options 668 lib/pengine/bundle.c const char *target, const char *options, uint32_t flags) options 675 lib/pengine/bundle.c pcmk__str_update(&mount->options, options); options 685 lib/pengine/bundle.c free(mount->options); options 896 lib/pengine/bundle.c const char *options = crm_element_value(xml_child, "options"); options 906 lib/pengine/bundle.c mount_add(bundle_data, source, target, options, flags); options 1198 lib/pengine/bundle.c print_rsc_in_list(pe_resource_t *rsc, const char *pre_text, long options, options 1202 lib/pengine/bundle.c if (options & pe_print_html) { options 1205 lib/pengine/bundle.c rsc->fns->print(rsc, pre_text, options, print_data); options 1206 lib/pengine/bundle.c if (options & pe_print_html) { options 1217 lib/pengine/bundle.c bundle_print_xml(pe_resource_t *rsc, const char *pre_text, long options, options 1247 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); options 1248 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); options 1249 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); options 1250 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); options 1652 lib/pengine/bundle.c long options, void *print_data) options 1677 lib/pengine/bundle.c common_print(rsc, pre_text, buffer, node, options, print_data); options 1685 lib/pengine/bundle.c pe__print_bundle(pe_resource_t *rsc, const char *pre_text, long options, options 1692 lib/pengine/bundle.c if (options & pe_print_xml) { options 1693 lib/pengine/bundle.c bundle_print_xml(rsc, pre_text, options, print_data); options 1708 lib/pengine/bundle.c if (options & pe_print_html) { options 1718 lib/pengine/bundle.c if (options & pe_print_html) { options 1722 lib/pengine/bundle.c if (pcmk_is_set(options, pe_print_implicit)) { options 1727 lib/pengine/bundle.c if (options & pe_print_html) { options 1730 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); options 1731 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); options 1732 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); options 1733 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); options 1734 lib/pengine/bundle.c if (options & pe_print_html) { options 1739 lib/pengine/bundle.c print_bundle_replica(replica, child_text, options, print_data); options 1743 lib/pengine/bundle.c if (options & pe_print_html) { options 1747 lib/pengine/bundle.c if (options & pe_print_html) { options 470 lib/pengine/clone.c const char *suffix, long options, void *print_data) options 477 lib/pengine/clone.c if (options & pe_print_html) { options 482 lib/pengine/clone.c if (options & pe_print_html) { options 485 lib/pengine/clone.c } else if (options & pe_print_suppres_nl) { options 487 lib/pengine/clone.c } else if ((options & pe_print_printf) || (options & pe_print_ncurses)) { options 523 lib/pengine/clone.c clone_print_xml(pe_resource_t *rsc, const char *pre_text, long options, options 547 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 590 lib/pengine/clone.c clone_print(pe_resource_t *rsc, const char *pre_text, long options, options 608 lib/pengine/clone.c if (options & pe_print_xml) { options 609 lib/pengine/clone.c clone_print_xml(rsc, pre_text, options, print_data); options 623 lib/pengine/clone.c if (options & pe_print_html) { options 626 lib/pengine/clone.c } else if ((options & pe_print_log) == 0) { options 635 lib/pengine/clone.c if (options & pe_print_clone_details) { options 647 lib/pengine/clone.c } else if (pcmk_is_set(options, pe_print_pending) options 656 lib/pengine/clone.c && !pcmk_is_set(options, pe_print_clone_active)) { options 699 lib/pengine/clone.c if (options & pe_print_html) { options 702 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 703 lib/pengine/clone.c if (options & pe_print_html) { options 720 lib/pengine/clone.c PROMOTED_INSTANCES, NULL, options, print_data); options 741 lib/pengine/clone.c options, print_data); options 744 lib/pengine/clone.c UNPROMOTED_INSTANCES, NULL, options, print_data); options 749 lib/pengine/clone.c NULL, options, print_data); options 755 lib/pengine/clone.c if (!pcmk_is_set(options, pe_print_clone_active)) { options 794 lib/pengine/clone.c NULL, options, print_data); options 798 lib/pengine/clone.c if (options & pe_print_html) { options 297 lib/pengine/common.c verify_pe_options(GHashTable * options) options 299 lib/pengine/common.c pcmk__validate_cluster_options(options, pe_opts, PCMK__NELEM(pe_opts)); options 303 lib/pengine/common.c pe_pref(GHashTable * options, const char *name) options 305 lib/pengine/common.c return pcmk__cluster_option(options, pe_opts, PCMK__NELEM(pe_opts), name); options 264 lib/pengine/group.c group_print_xml(pe_resource_t *rsc, const char *pre_text, long options, options 277 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 289 lib/pengine/group.c group_print(pe_resource_t *rsc, const char *pre_text, long options, options 299 lib/pengine/group.c if (options & pe_print_xml) { options 300 lib/pengine/group.c group_print_xml(rsc, pre_text, options, print_data); options 308 lib/pengine/group.c if (options & pe_print_html) { options 311 lib/pengine/group.c } else if ((options & pe_print_log) == 0) { options 315 lib/pengine/group.c if (options & pe_print_brief) { options 316 lib/pengine/group.c print_rscs_brief(rsc->children, child_text, options, print_data, TRUE); options 322 lib/pengine/group.c if (options & pe_print_html) { options 325 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 326 lib/pengine/group.c if (options & pe_print_html) { options 332 lib/pengine/group.c if (options & pe_print_html) { options 363 lib/pengine/native.c long options; options 450 lib/pengine/native.c native_print_xml(pe_resource_t *rsc, const char *pre_text, long options, options 455 lib/pengine/native.c const char *rsc_state = native_displayable_state(rsc, pcmk_is_set(options, pe_print_pending)); options 482 lib/pengine/native.c if (options & pe_print_pending) { options 491 lib/pengine/native.c if (options & pe_print_rsconly) { options 792 lib/pengine/native.c const pe_node_t *node, long options, void *print_data) options 803 lib/pengine/native.c && !pcmk_is_set(options, pe_print_implicit)) { options 811 lib/pengine/native.c if (options & pe_print_xml) { options 812 lib/pengine/native.c native_print_xml(rsc, pre_text, options, print_data); options 816 lib/pengine/native.c if ((pre_text == NULL) && (options & pe_print_printf)) { options 820 lib/pengine/native.c if (options & pe_print_html) { options 842 lib/pengine/native.c gchar *resource_s = pcmk__native_output_string(rsc, name, node, options, options 848 lib/pengine/native.c if (pcmk_is_set(options, pe_print_html)) { options 852 lib/pengine/native.c if (!pcmk_is_set(options, pe_print_rsconly) options 858 lib/pengine/native.c if (options & pe_print_html) { options 860 lib/pengine/native.c } else if ((options & pe_print_printf) options 861 lib/pengine/native.c || (options & pe_print_ncurses)) { options 870 lib/pengine/native.c if (options & pe_print_html) { options 873 lib/pengine/native.c } else if ((options & pe_print_printf) options 874 lib/pengine/native.c || (options & pe_print_ncurses)) { options 877 lib/pengine/native.c } else if ((options & pe_print_log)) { options 883 lib/pengine/native.c if (options & pe_print_html) { options 889 lib/pengine/native.c if (options & pe_print_html) { options 891 lib/pengine/native.c } else if ((options & pe_print_printf) options 892 lib/pengine/native.c || (options & pe_print_ncurses)) { options 897 lib/pengine/native.c if (options & pe_print_html) { options 899 lib/pengine/native.c } else if (options & pe_print_suppres_nl) { options 901 lib/pengine/native.c } else if ((options & pe_print_printf) || (options & pe_print_ncurses)) { options 911 lib/pengine/native.c native_print(pe_resource_t *rsc, const char *pre_text, long options, options 917 lib/pengine/native.c if (options & pe_print_xml) { options 918 lib/pengine/native.c native_print_xml(rsc, pre_text, options, print_data); options 929 lib/pengine/native.c common_print(rsc, pre_text, rsc_printable_id(rsc), node, options, print_data); options 1229 lib/pengine/native.c print_rscs_brief(GList *rsc_list, const char *pre_text, long options, options 1258 lib/pengine/native.c if (options & pe_print_rsconly) { options 1262 lib/pengine/native.c if (options & pe_print_html) { options 1277 lib/pengine/native.c if (options & pe_print_html) { options 1283 lib/pengine/native.c if (options & pe_print_html) { options 1291 lib/pengine/native.c if (options & pe_print_html) { options 27 lib/pengine/pe_status_private.h if(options & pe_print_html) { \ options 30 lib/pengine/pe_status_private.h } else if(options & pe_print_printf || options & pe_print_ncurses) { \ options 33 lib/pengine/pe_status_private.h } else if(options & pe_print_xml) { \ options 36 lib/pengine/pe_status_private.h } else if(options & pe_print_log) { \ options 35 lib/pengine/variant.h char *options; options 174 libltdl/loaders/dyld.c unsigned long options) = 0; options 177 libltdl/loaders/dyld.c unsigned long options) = 0; options 445 maint/gnulib/lib/argp-help.c const struct argp_option *opts = argp->options; options 295 maint/gnulib/lib/argp-parse.c const struct argp_option *real = argp->options; options 434 maint/gnulib/lib/argp-parse.c const struct argp_option *opt = argp->options; options 220 maint/gnulib/lib/argp.h const struct argp_option *options; options 78 maint/gnulib/lib/exclude.c int options; options 105 maint/gnulib/lib/exclude.c int options; /* common options for this segment */ options 143 maint/gnulib/lib/exclude.c fnmatch_pattern_has_wildcards (const char *str, int options) options 154 maint/gnulib/lib/exclude.c if (options & EXCLUDE_REGEX) options 159 maint/gnulib/lib/exclude.c if (options & EXCLUDE_REGEX) options 162 maint/gnulib/lib/exclude.c str += ! (options & FNM_NOESCAPE) && *str; options 166 maint/gnulib/lib/exclude.c if (options & FNM_EXTMATCH && *str == '(') options 255 maint/gnulib/lib/exclude.c new_exclude_segment (struct exclude *ex, enum exclude_type type, int options) options 259 maint/gnulib/lib/exclude.c sp->options = options; options 267 maint/gnulib/lib/exclude.c (options & FNM_CASEFOLD) ? options 270 maint/gnulib/lib/exclude.c (options & FNM_CASEFOLD) ? options 289 maint/gnulib/lib/exclude.c if (seg->v.pat.exclude[i].options & EXCLUDE_REGEX) options 331 maint/gnulib/lib/exclude.c fnmatch_no_wildcards (char const *pattern, char const *f, int options) options 333 maint/gnulib/lib/exclude.c if (! (options & FNM_LEADING_DIR)) options 334 maint/gnulib/lib/exclude.c return ((options & FNM_CASEFOLD) options 337 maint/gnulib/lib/exclude.c else if (! (options & FNM_CASEFOLD)) options 376 maint/gnulib/lib/exclude.c exclude_fnmatch (char const *pattern, char const *f, int options) options 379 maint/gnulib/lib/exclude.c (options & EXCLUDE_WILDCARDS options 382 maint/gnulib/lib/exclude.c bool matched = ((*matcher) (pattern, f, options) == 0); options 385 maint/gnulib/lib/exclude.c if (! (options & EXCLUDE_ANCHORED)) options 388 maint/gnulib/lib/exclude.c matched = ((*matcher) (pattern, p + 1, options) == 0); options 396 maint/gnulib/lib/exclude.c int options = opts->options; options 398 maint/gnulib/lib/exclude.c return (options & EXCLUDE_REGEX) options 400 maint/gnulib/lib/exclude.c : exclude_fnmatch (opts->v.pattern, f, options); options 426 maint/gnulib/lib/exclude.c int options = seg->options; options 438 maint/gnulib/lib/exclude.c if (options & FNM_LEADING_DIR) options 450 maint/gnulib/lib/exclude.c if (!(options & EXCLUDE_ANCHORED)) options 509 maint/gnulib/lib/exclude.c return invert ^ ! (seg->options & EXCLUDE_INCLUDE); options 515 maint/gnulib/lib/exclude.c add_exclude (struct exclude *ex, char const *pattern, int options) options 521 maint/gnulib/lib/exclude.c if ((options & (EXCLUDE_REGEX|EXCLUDE_WILDCARDS)) options 522 maint/gnulib/lib/exclude.c && fnmatch_pattern_has_wildcards (pattern, options)) options 525 maint/gnulib/lib/exclude.c && ((ex->head->options & EXCLUDE_INCLUDE) options 526 maint/gnulib/lib/exclude.c == (options & EXCLUDE_INCLUDE)))) options 527 maint/gnulib/lib/exclude.c new_exclude_segment (ex, exclude_pattern, options); options 537 maint/gnulib/lib/exclude.c patopts->options = options; options 538 maint/gnulib/lib/exclude.c if (options & EXCLUDE_REGEX) options 542 maint/gnulib/lib/exclude.c ((options & FNM_CASEFOLD) ? REG_ICASE : 0); options 544 maint/gnulib/lib/exclude.c if (options & FNM_LEADING_DIR) options 574 maint/gnulib/lib/exclude.c if (options & EXCLUDE_ALLOC) options 588 maint/gnulib/lib/exclude.c && ((ex->head->options & exclude_hash_flags) options 589 maint/gnulib/lib/exclude.c == (options & exclude_hash_flags)))) options 590 maint/gnulib/lib/exclude.c new_exclude_segment (ex, exclude_hash, options); options 594 maint/gnulib/lib/exclude.c if ((options & (EXCLUDE_WILDCARDS | FNM_NOESCAPE)) == EXCLUDE_WILDCARDS) options 609 maint/gnulib/lib/exclude.c struct exclude *ex, FILE *fp, int options, options 655 maint/gnulib/lib/exclude.c (*add_func) (ex, pattern, options, data); options 666 maint/gnulib/lib/exclude.c call_addfn (struct exclude *ex, char const *pattern, int options, void *data) options 669 maint/gnulib/lib/exclude.c (*addfnptr) (ex, pattern, options); options 674 maint/gnulib/lib/exclude.c struct exclude *ex, char const *file_name, int options, options 678 maint/gnulib/lib/exclude.c return add_exclude_fp (call_addfn, ex, stdin, options, line_end, &add_func); options 683 maint/gnulib/lib/exclude.c int rc = add_exclude_fp (call_addfn, ex, in, options, line_end, &add_func); options 360 maint/gnulib/lib/fts.c register int options, options 371 maint/gnulib/lib/fts.c if (options & ~FTS_OPTIONMASK) { options 375 maint/gnulib/lib/fts.c if ((options & FTS_NOCHDIR) && (options & FTS_CWDFD)) { options 379 maint/gnulib/lib/fts.c if ( ! (options & (FTS_LOGICAL | FTS_PHYSICAL))) { options 389 maint/gnulib/lib/fts.c sp->fts_options = options; options 469 maint/gnulib/lib/fts.c if ( ! (options & FTS_VERBATIM)) options 28 maint/gnulib/lib/getopt1.c getopt_long (int argc, char *__getopt_argv_const *argv, const char *options, options 31 maint/gnulib/lib/getopt1.c return _getopt_internal (argc, (char **) argv, options, long_options, options 36 maint/gnulib/lib/getopt1.c _getopt_long_r (int argc, char **argv, const char *options, options 40 maint/gnulib/lib/getopt1.c return _getopt_internal_r (argc, argv, options, long_options, opt_index, options 51 maint/gnulib/lib/getopt1.c const char *options, options 54 maint/gnulib/lib/getopt1.c return _getopt_internal (argc, (char **) argv, options, long_options, options 59 maint/gnulib/lib/getopt1.c _getopt_long_only_r (int argc, char **argv, const char *options, options 63 maint/gnulib/lib/getopt1.c return _getopt_internal_r (argc, argv, options, long_options, opt_index, options 412 maint/gnulib/lib/human.c humblock (char const *spec, uintmax_t *block_size, int *options) options 441 maint/gnulib/lib/human.c *options = 0; options 457 maint/gnulib/lib/human.c *options = opts; options 88 maint/gnulib/lib/mkdir-p.c void *options, options 105 maint/gnulib/lib/mkdir-p.c prefix_len = mkancesdirs (dir, wd, make_ancestor, options); options 136 maint/gnulib/lib/mkdir-p.c announce (dir, options); options 29 maint/gnulib/lib/mkdir-p.h void *options, options 1002 maint/gnulib/lib/mountlist.c char *options, *ignore; options 1029 maint/gnulib/lib/mountlist.c options = thisent + vmp->vmt_data[VMT_ARGS].vmt_off; options 1030 maint/gnulib/lib/mountlist.c ignore = strstr (options, "ignore"); options 1032 maint/gnulib/lib/mountlist.c && (ignore == options || ignore[-1] == ',') options 871 maint/gnulib/lib/quotearg.c struct quoting_options const *options) options 898 maint/gnulib/lib/quotearg.c int flags = options->flags | QA_ELIDE_NULL_BYTES; options 900 maint/gnulib/lib/quotearg.c options->style, flags, options 901 maint/gnulib/lib/quotearg.c options->quote_these_too, options 902 maint/gnulib/lib/quotearg.c options->left_quote, options 903 maint/gnulib/lib/quotearg.c options->right_quote); options 911 maint/gnulib/lib/quotearg.c quotearg_buffer_restyled (val, size, arg, argsize, options->style, options 912 maint/gnulib/lib/quotearg.c flags, options->quote_these_too, options 913 maint/gnulib/lib/quotearg.c options->left_quote, options 914 maint/gnulib/lib/quotearg.c options->right_quote); options 976 maint/gnulib/lib/quotearg.c struct quoting_options options; options 977 maint/gnulib/lib/quotearg.c options = default_quoting_options; options 978 maint/gnulib/lib/quotearg.c set_char_quoting (&options, ch, 1); options 979 maint/gnulib/lib/quotearg.c return quotearg_n_options (0, arg, argsize, &options); options 1003 maint/gnulib/lib/quotearg.c struct quoting_options options; options 1004 maint/gnulib/lib/quotearg.c options = quoting_options_from_style (s); options 1005 maint/gnulib/lib/quotearg.c set_char_quoting (&options, ':', 1); options 1006 maint/gnulib/lib/quotearg.c return quotearg_n_options (n, arg, SIZE_MAX, &options); options 68 maint/gnulib/lib/readutmp.c desirable_utmp_entry (STRUCT_UTMP const *u, int options) options 71 maint/gnulib/lib/readutmp.c if ((options & READ_UTMP_USER_PROCESS) && !user_proc) options 73 maint/gnulib/lib/readutmp.c if ((options & READ_UTMP_CHECK_PIDS) options 92 maint/gnulib/lib/readutmp.c int options) options 108 maint/gnulib/lib/readutmp.c if (desirable_utmp_entry (u, options)) options 128 maint/gnulib/lib/readutmp.c int options) options 145 maint/gnulib/lib/readutmp.c n_read += desirable_utmp_entry (&utmp[n_read], options); options 221 maint/gnulib/lib/readutmp.h int options); options 101 maint/gnulib/lib/regex-quote.c regex_quote_spec_pcre (int options, bool anchored) options 109 maint/gnulib/lib/regex-quote.c if (options & PCRE_EXTENDED) options 125 maint/gnulib/lib/regex-quote.c result.anchored = (options & PCRE_ANCHORED ? 0 : anchored); options 70 maint/gnulib/lib/regex-quote.h regex_quote_spec_pcre (int options, bool anchored); options 99 maint/gnulib/lib/savewd.c savewd_chdir (struct savewd *wd, char const *dir, int options, options 108 maint/gnulib/lib/savewd.c || (options & (HAVE_WORKING_O_NOFOLLOW ? SAVEWD_CHDIR_NOFOLLOW : 0))) options 112 maint/gnulib/lib/savewd.c | (options & SAVEWD_CHDIR_NOFOLLOW ? O_NOFOLLOW : 0))); options 124 maint/gnulib/lib/savewd.c if (result == 0 && ! (0 <= fd && options & SAVEWD_CHDIR_SKIP_READABLE)) options 269 maint/gnulib/lib/savewd.c void *options) options 285 maint/gnulib/lib/savewd.c int s = act (file[i], &wd, options); options 302 maint/gnulib/lib/savewd.c int s = act (file[i], &wd, options); options 111 maint/gnulib/lib/savewd.h int savewd_chdir (struct savewd *wd, char const *dir, int options, options 149 maint/gnulib/lib/savewd.h void *options); options 60 maint/gnulib/lib/se-label.in.h _GL_ATTRIBUTE_MAYBE_UNUSED struct selinux_opt *options, options 115 maint/gnulib/lib/sys_wait.in.h _GL_FUNCDECL_SYS (waitpid, pid_t, (pid_t pid, int *statusp, int options)); options 119 maint/gnulib/lib/sys_wait.in.h _GL_CXXALIAS_SYS_CAST (waitpid, pid_t, (pid_t pid, int *statusp, int options)); options 126 maint/gnulib/lib/utimecmp.c int options) options 128 maint/gnulib/lib/utimecmp.c return utimecmpat (AT_FDCWD, dst_name, dst_stat, src_stat, options); options 135 maint/gnulib/lib/utimecmp.c int options) options 158 maint/gnulib/lib/utimecmp.c if (options & UTIMECMP_TRUNCATE_SOURCE) options 27 maint/gnulib/lib/waitpid.c waitpid (pid_t pid, int *statusp, int options) options 25 maint/gnulib/tests/test-fnmatch-h.c int options[] = { FNM_PATHNAME, FNM_PERIOD, FNM_NOESCAPE }; options 34 maint/gnulib/tests/test-getopt.h const char *options, options 43 maint/gnulib/tests/test-getopt.h while ((c = getopt (argc, (char **) argv, options)) != -1) options 61 maint/gnulib/tests/test-getopt.h ASSERT (options[0] == '-'); options 66 maint/gnulib/tests/test-getopt.h ASSERT (options[0] == ':' options 67 maint/gnulib/tests/test-getopt.h || ((options[0] == '-' || options[0] == '+') options 68 maint/gnulib/tests/test-getopt.h && options[1] == ':')); options 47 maint/gnulib/tests/test-getopt_long.h const char *options, const struct option *long_options, options 57 maint/gnulib/tests/test-getopt_long.h while ((c = getopt_long (argc, (char **) argv, options, long_options, options 82 maint/gnulib/tests/test-getopt_long.h ASSERT (options[0] == '-'); options 87 maint/gnulib/tests/test-getopt_long.h ASSERT (options[0] == ':' options 88 maint/gnulib/tests/test-getopt_long.h || ((options[0] == '-' || options[0] == '+') options 89 maint/gnulib/tests/test-getopt_long.h && options[1] == ':')); options 54 tools/attrd_updater.c } options = { options 61 tools/attrd_updater.c pcmk__str_update(&options.attr_value, optarg); options 64 tools/attrd_updater.c options.command = 'B'; options 66 tools/attrd_updater.c options.command = 'D'; options 68 tools/attrd_updater.c options.command = 'Q'; options 70 tools/attrd_updater.c options.command = 'R'; options 72 tools/attrd_updater.c options.command = 'U'; options 74 tools/attrd_updater.c options.command = 'Y'; options 82 tools/attrd_updater.c pcmk__set_node_attr_flags(options.attr_options, pcmk__node_attr_private); options 89 tools/attrd_updater.c pcmk__set_node_attr_flags(options.attr_options, pcmk__node_attr_perm); options 91 tools/attrd_updater.c pcmk__clear_node_attr_flags(options.attr_options, pcmk__node_attr_perm); options 104 tools/attrd_updater.c pcmk__set_node_attr_flags(options.attr_options, pcmk__node_attr_utilization); options 113 tools/attrd_updater.c pcmk__clear_node_attr_flags(options.attr_options, pcmk__node_attr_sync_local | pcmk__node_attr_sync_cluster); options 116 tools/attrd_updater.c pcmk__clear_node_attr_flags(options.attr_options, pcmk__node_attr_sync_local | pcmk__node_attr_sync_cluster); options 117 tools/attrd_updater.c pcmk__set_node_attr_flags(options.attr_options, pcmk__node_attr_sync_local); options 120 tools/attrd_updater.c pcmk__clear_node_attr_flags(options.attr_options, pcmk__node_attr_sync_local | pcmk__node_attr_sync_cluster); options 121 tools/attrd_updater.c pcmk__set_node_attr_flags(options.attr_options, pcmk__node_attr_sync_cluster); options 133 tools/attrd_updater.c { "name", 'n', 0, G_OPTION_ARG_STRING, &options.attr_name, options 137 tools/attrd_updater.c { "pattern", 'P', 0, G_OPTION_ARG_STRING, &options.attr_pattern, options 188 tools/attrd_updater.c { "delay", 'd', 0, G_OPTION_ARG_STRING, &options.attr_dampen, options 193 tools/attrd_updater.c { "set", 's', 0, G_OPTION_ARG_STRING, &options.attr_set, options 197 tools/attrd_updater.c { "node", 'N', 0, G_OPTION_ARG_STRING, &options.attr_node, options 201 tools/attrd_updater.c { "all", 'A', 0, G_OPTION_ARG_NONE, &options.query_all, options 235 tools/attrd_updater.c { "quiet", 'q', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.quiet, options 262 tools/attrd_updater.c return options.command == 'B' || options.command == 'D' || options.command == 'U' || options.command == 'Y'; options 317 tools/attrd_updater.c if (options.attr_pattern) { options 318 tools/attrd_updater.c if (options.attr_name) { options 332 tools/attrd_updater.c g_free(options.attr_name); options 333 tools/attrd_updater.c options.attr_name = options.attr_pattern; options 334 tools/attrd_updater.c options.attr_options |= pcmk__node_attr_pattern; options 337 tools/attrd_updater.c if (options.command != 'R' && options.attr_name == NULL) { options 341 tools/attrd_updater.c } else if ((options.command == 'B'|| options.command == 'Y') && options.attr_dampen == NULL) { options 342 tools/attrd_updater.c out->info(out, "Warning: '%c' command given without required --delay", options.command); options 347 tools/attrd_updater.c if (options.command == 'Q') { options 348 tools/attrd_updater.c int rc = send_attrd_query(out, options.attr_name, options.attr_node, options.query_all); options 356 tools/attrd_updater.c int rc = send_attrd_update(options.command, options.attr_node, options 357 tools/attrd_updater.c options.attr_name, options.attr_value, options 358 tools/attrd_updater.c options.attr_set, options.attr_dampen, options 359 tools/attrd_updater.c options.attr_options); options 366 tools/attrd_updater.c g_free(options.attr_dampen); options 367 tools/attrd_updater.c g_free(options.attr_name); options 368 tools/attrd_updater.c g_free(options.attr_node); options 369 tools/attrd_updater.c g_free(options.attr_set); options 370 tools/attrd_updater.c free(options.attr_value); options 434 tools/attrd_updater.c uint32_t options = pcmk__node_attr_none; options 459 tools/attrd_updater.c options |= pcmk__node_attr_query_all; options 462 tools/attrd_updater.c rc = pcmk__attrd_api_query(attrd_api, attr_node, attr_name, options); options 65 tools/cibadmin.c } options; options 83 tools/cibadmin.c if (pcmk_is_set(options.cmd_options, cib_xpath_address)) { options 123 tools/cibadmin.c return options.no_bcast || options.delete_all options 124 tools/cibadmin.c || pcmk__str_any_of(options.cib_action, options 162 tools/cibadmin.c options.delete_all = false; options 165 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_UPGRADE; options 168 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_QUERY; options 171 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_ERASE; options 174 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_BUMP; options 177 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_CREATE; options 180 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_MODIFY; options 183 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_APPLY_PATCH; options 186 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_REPLACE; options 189 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_DELETE; options 192 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_DELETE; options 193 tools/cibadmin.c options.delete_all = true; options 196 tools/cibadmin.c options.cib_action = "empty"; options 197 tools/cibadmin.c pcmk__str_update(&options.validate_with, optarg); options 200 tools/cibadmin.c options.cib_action = "md5-sum"; options 204 tools/cibadmin.c options.cib_action = "md5-sum-versioned"; options 219 tools/cibadmin.c options.acl_render_mode = pcmk__acl_render_default; options 222 tools/cibadmin.c options.acl_render_mode = pcmk__acl_render_namespace; options 225 tools/cibadmin.c options.acl_render_mode = pcmk__acl_render_text; options 228 tools/cibadmin.c options.acl_render_mode = pcmk__acl_render_color; options 244 tools/cibadmin.c options.section_type = cibadmin_section_scope; options 247 tools/cibadmin.c options.section_type = cibadmin_section_xpath; options 254 tools/cibadmin.c pcmk__str_update(&options.cib_section, optarg); options 323 tools/cibadmin.c &options.input_xml, "Retrieve XML from the supplied string", "value" }, options 326 tools/cibadmin.c &options.input_file, "Retrieve XML from the named file", "value" }, options 329 tools/cibadmin.c &options.input_stdin, "Retrieve XML from stdin", NULL }, options 335 tools/cibadmin.c { "force", 'f', G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.force, options 339 tools/cibadmin.c &options.message_timeout_sec, options 343 tools/cibadmin.c { "user", 'U', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.cib_user, options 348 tools/cibadmin.c &options.sync_call, "Wait for call to complete before returning", NULL }, options 350 tools/cibadmin.c { "local", 'l', G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.local, options 372 tools/cibadmin.c &options.get_node_path, options 392 tools/cibadmin.c &options.allow_create, options 398 tools/cibadmin.c &options.no_children, options 403 tools/cibadmin.c { "node", 'N', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.dest_node, options 408 tools/cibadmin.c &options.no_bcast, "deprecated", NULL }, options 412 tools/cibadmin.c &options.dest_node, "deprecated", NULL }, options 426 tools/cibadmin.c &options.extended_version, "deprecated", NULL }, options 527 tools/cibadmin.c if (args->version || options.extended_version) { options 537 tools/cibadmin.c pcmk__cli_help(options.extended_version? '!' : 'v'); options 551 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 559 tools/cibadmin.c if (options.cib_action == NULL) { options 570 tools/cibadmin.c if (strcmp(options.cib_action, "empty") == 0) { options 575 tools/cibadmin.c crm_xml_add(output, XML_ATTR_VALIDATION, options.validate_with); options 582 tools/cibadmin.c if (cib_action_is_dangerous() && !options.force) { options 591 tools/cibadmin.c if (options.message_timeout_sec < 1) { options 593 tools/cibadmin.c options.message_timeout_sec = 30; options 596 tools/cibadmin.c if (options.section_type == cibadmin_section_xpath) { options 598 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 601 tools/cibadmin.c } else if (options.section_type == cibadmin_section_scope) { options 602 tools/cibadmin.c if (!scope_is_valid(options.cib_section)) { options 606 tools/cibadmin.c "to the entire CIB.\n", options.cib_section); options 610 tools/cibadmin.c if (options.allow_create) { options 612 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 616 tools/cibadmin.c if (options.delete_all) { options 618 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 622 tools/cibadmin.c if (options.get_node_path) { options 626 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 630 tools/cibadmin.c if (options.local) { options 632 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 637 tools/cibadmin.c if (options.no_bcast) { options 639 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 643 tools/cibadmin.c if (options.no_children) { options 645 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 649 tools/cibadmin.c if (options.sync_call options 650 tools/cibadmin.c || (options.acl_render_mode != pcmk__acl_render_none)) { options 658 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 662 tools/cibadmin.c if (options.input_file != NULL) { options 663 tools/cibadmin.c input = filename2xml(options.input_file); options 664 tools/cibadmin.c source = options.input_file; options 666 tools/cibadmin.c } else if (options.input_xml != NULL) { options 667 tools/cibadmin.c input = string2xml(options.input_xml); options 670 tools/cibadmin.c } else if (options.input_stdin) { options 674 tools/cibadmin.c } else if (options.acl_render_mode != pcmk__acl_render_none) { options 681 tools/cibadmin.c if (options.force) { options 700 tools/cibadmin.c if (options.cib_user == NULL) { options 715 tools/cibadmin.c acl_cred = options.cib_user; options 716 tools/cibadmin.c options.cib_user = NULL; options 729 tools/cibadmin.c if (strcmp(options.cib_action, "md5-sum") == 0) { options 745 tools/cibadmin.c } else if (strcmp(options.cib_action, "md5-sum-versioned") == 0) { options 785 tools/cibadmin.c options.message_timeout_sec, FALSE, options 797 tools/cibadmin.c && (strcmp(options.cib_action, options 807 tools/cibadmin.c if (strcmp(options.cib_action, PCMK__CIB_REQUEST_UPGRADE) == 0) { options 812 tools/cibadmin.c options.cmd_options) == pcmk_ok) { options 825 tools/cibadmin.c && (options.acl_render_mode != pcmk__acl_render_none)) { options 833 tools/cibadmin.c options.acl_render_mode, &rendered); options 862 tools/cibadmin.c g_free(options.cib_user); options 863 tools/cibadmin.c g_free(options.dest_node); options 864 tools/cibadmin.c g_free(options.input_file); options 865 tools/cibadmin.c g_free(options.input_xml); options 866 tools/cibadmin.c free(options.cib_section); options 867 tools/cibadmin.c free(options.validate_with); options 886 tools/cibadmin.c the_cib->call_timeout = options.message_timeout_sec; options 887 tools/cibadmin.c if ((strcmp(options.cib_action, PCMK__CIB_REQUEST_REPLACE) == 0) options 896 tools/cibadmin.c crm_trace("Passing \"%s\" to variant_op...", options.cib_action); options 897 tools/cibadmin.c return cib_internal_op(the_cib, options.cib_action, options.dest_node, options 898 tools/cibadmin.c options.cib_section, input, output, options 899 tools/cibadmin.c options.cmd_options, options.cib_user); options 929 tools/cibadmin.c options.cib_action, pcmk_rc_str(rc), rc); options 931 tools/cibadmin.c options.cib_action, pcmk_rc_str(rc)); options 934 tools/cibadmin.c } else if ((strcmp(options.cib_action, PCMK__CIB_REQUEST_QUERY) == 0) options 102 tools/crm_attribute.c } options = { options 111 tools/crm_attribute.c options.command = 'D'; options 112 tools/crm_attribute.c pcmk__str_update(&options.attr_value, NULL); options 120 tools/crm_attribute.c options.promotion_score = TRUE; options 122 tools/crm_attribute.c if (options.attr_name) { options 123 tools/crm_attribute.c g_free(options.attr_name); options 128 tools/crm_attribute.c options.attr_name = g_strdup(score_name); options 131 tools/crm_attribute.c options.attr_name = NULL; options 139 tools/crm_attribute.c options.command = 'u'; options 140 tools/crm_attribute.c pcmk__str_update(&options.attr_value, optarg); options 146 tools/crm_attribute.c if (options.type) { options 147 tools/crm_attribute.c g_free(options.type); options 150 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_NODES); options 151 tools/crm_attribute.c pcmk__str_update(&options.set_type, XML_TAG_UTILIZATION); options 157 tools/crm_attribute.c options.command = 'G'; options 158 tools/crm_attribute.c pcmk__str_update(&options.attr_value, NULL); options 165 tools/crm_attribute.c pcmk__clear_node_attr_flags(options.attr_options, pcmk__node_attr_sync_local | pcmk__node_attr_sync_cluster); options 168 tools/crm_attribute.c pcmk__clear_node_attr_flags(options.attr_options, pcmk__node_attr_sync_local | pcmk__node_attr_sync_cluster); options 169 tools/crm_attribute.c pcmk__set_node_attr_flags(options.attr_options, pcmk__node_attr_sync_local); options 172 tools/crm_attribute.c pcmk__clear_node_attr_flags(options.attr_options, pcmk__node_attr_sync_local | pcmk__node_attr_sync_cluster); options 173 tools/crm_attribute.c pcmk__set_node_attr_flags(options.attr_options, pcmk__node_attr_sync_cluster); options 183 tools/crm_attribute.c { "id", 'i', 0, G_OPTION_ARG_STRING, &options.attr_id, options 189 tools/crm_attribute.c { "name", 'n', 0, G_OPTION_ARG_STRING, &options.attr_name, options 196 tools/crm_attribute.c { "pattern", 'P', 0, G_OPTION_ARG_STRING, &options.attr_pattern, options 210 tools/crm_attribute.c { "set-name", 's', 0, G_OPTION_ARG_STRING, &options.set_name, options 240 tools/crm_attribute.c { "default", 'd', 0, G_OPTION_ARG_STRING, &options.attr_default, options 245 tools/crm_attribute.c { "lifetime", 'l', 0, G_OPTION_ARG_STRING, &options.type, options 251 tools/crm_attribute.c { "node", 'N', 0, G_OPTION_ARG_STRING, &options.dest_uname, options 257 tools/crm_attribute.c { "type", 't', 0, G_OPTION_ARG_STRING, &options.type, options 279 tools/crm_attribute.c { "inhibit-policy-engine", '!', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.inhibit, options 287 tools/crm_attribute.c { "attr-id", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.attr_id, options 291 tools/crm_attribute.c { "attr-name", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.attr_name, options 307 tools/crm_attribute.c { "node-uname", 'U', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.dest_uname, options 319 tools/crm_attribute.c g_free(options.dest_uname); options 325 tools/crm_attribute.c options.dest_uname = g_strdup(hostname); options 370 tools/crm_attribute.c if (!pcmk__str_eq(attr_name, options.attr_pattern, pcmk__str_regex)) { options 374 tools/crm_attribute.c rc = cib__delete_node_attr(dd->out, dd->cib, cib_opts, options.type, options 375 tools/crm_attribute.c options.dest_node, options.set_type, options 376 tools/crm_attribute.c options.set_name, options.attr_id, options 377 tools/crm_attribute.c attr_name, options.attr_value, NULL); options 392 tools/crm_attribute.c bool use_pattern = options.attr_pattern != NULL; options 398 tools/crm_attribute.c rc = cib__get_node_attrs(out, cib, options.type, options.dest_node, options 399 tools/crm_attribute.c options.set_type, options.set_name, NULL, NULL, options 413 tools/crm_attribute.c rc = cib__delete_node_attr(out, cib, cib_opts, options.type, options.dest_node, options 414 tools/crm_attribute.c options.set_type, options.set_name, options.attr_id, options 415 tools/crm_attribute.c options.attr_name, options.attr_value, NULL); options 445 tools/crm_attribute.c if (!pcmk__str_eq(attr_name, options.attr_pattern, pcmk__str_regex)) { options 449 tools/crm_attribute.c return cib__update_node_attr(ud->out, ud->cib, cib_opts, options.type, options 450 tools/crm_attribute.c options.dest_node, options.set_type, options 451 tools/crm_attribute.c options.set_name, options.attr_id, options 452 tools/crm_attribute.c attr_name, options.attr_value, NULL, options 462 tools/crm_attribute.c bool use_pattern = options.attr_pattern != NULL; options 464 tools/crm_attribute.c CRM_LOG_ASSERT(options.type != NULL); options 465 tools/crm_attribute.c CRM_LOG_ASSERT(options.attr_name != NULL); options 466 tools/crm_attribute.c CRM_LOG_ASSERT(options.attr_value != NULL); options 472 tools/crm_attribute.c rc = cib__get_node_attrs(out, cib, options.type, options.dest_node, options 473 tools/crm_attribute.c options.set_type, options.set_name, NULL, NULL, options 487 tools/crm_attribute.c rc = cib__update_node_attr(out, cib, cib_opts, options.type, options 488 tools/crm_attribute.c options.dest_node, options.set_type, options 489 tools/crm_attribute.c options.set_name, options.attr_id, options 490 tools/crm_attribute.c options.attr_name, options.attr_value, options 514 tools/crm_attribute.c const char *type = options.type; options 515 tools/crm_attribute.c const char *attr_id = options.attr_id; options 517 tools/crm_attribute.c if (od->use_pattern && !pcmk__str_eq(name, options.attr_pattern, pcmk__str_regex)) { options 525 tools/crm_attribute.c options.set_name ? "in " : "", options.set_name ? options.set_name : ""); options 536 tools/crm_attribute.c bool use_pattern = options.attr_pattern != NULL; options 544 tools/crm_attribute.c rc = cib__get_node_attrs(out, cib, options.type, options.dest_node, options 545 tools/crm_attribute.c options.set_type, options.set_name, NULL, options 548 tools/crm_attribute.c rc = cib__get_node_attrs(out, cib, options.type, options.dest_node, options 549 tools/crm_attribute.c options.set_type, options.set_name, options.attr_id, options 550 tools/crm_attribute.c options.attr_name, NULL, &result); options 553 tools/crm_attribute.c if (rc == ENXIO && options.attr_default) { options 555 tools/crm_attribute.c const char *type = options.type; options 556 tools/crm_attribute.c const char *attr_id = options.attr_id; options 557 tools/crm_attribute.c const char *attr_name = options.attr_name; options 558 tools/crm_attribute.c const char *attr_default = options.attr_default; options 559 tools/crm_attribute.c const char *dest_uname = options.dest_uname; options 589 tools/crm_attribute.c if (options.type == NULL) { options 590 tools/crm_attribute.c if (options.promotion_score) { options 592 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_STATUS); options 594 tools/crm_attribute.c } else if (options.dest_uname != NULL) { options 596 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_NODES); options 600 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_CRMCONFIG); options 603 tools/crm_attribute.c } else if (pcmk__str_eq(options.type, "reboot", pcmk__str_casei)) { options 604 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_STATUS); options 606 tools/crm_attribute.c } else if (pcmk__str_eq(options.type, "forever", pcmk__str_casei)) { options 607 tools/crm_attribute.c options.type = g_strdup(XML_CIB_TAG_NODES); options 617 tools/crm_attribute.c return pcmk__str_eq(options.type, XML_CIB_TAG_STATUS, pcmk__str_casei) && options 624 tools/crm_attribute.c return use_attrd() && (options.command == 'D' || options.command == 'u'); options 633 tools/crm_attribute.c return options.command == 'G' || options.command == 'u' || options.command == 'D'; options 639 tools/crm_attribute.c return options.command != 'D' || options.attr_name != NULL || options.attr_pattern != NULL; options 729 tools/crm_attribute.c if (options.promotion_score && options.attr_name == NULL) { options 737 tools/crm_attribute.c if (options.inhibit) { options 756 tools/crm_attribute.c if (!pcmk__strcase_any_of(options.type, XML_CIB_TAG_CRMCONFIG, XML_CIB_TAG_TICKETS, options 762 tools/crm_attribute.c const char *target = pcmk__node_attr_target(options.dest_uname); options 765 tools/crm_attribute.c g_free(options.dest_uname); options 766 tools/crm_attribute.c options.dest_uname = g_strdup(target); options 767 tools/crm_attribute.c } else if (getenv("CIB_file") != NULL && options.dest_uname == NULL) { options 771 tools/crm_attribute.c if (options.dest_uname == NULL) { options 781 tools/crm_attribute.c options.dest_uname = g_strdup(node_name); options 785 tools/crm_attribute.c rc = query_node_uuid(the_cib, options.dest_uname, &options.dest_node, &is_remote_node); options 791 tools/crm_attribute.c "Could not map name=%s to a UUID", options.dest_uname); options 803 tools/crm_attribute.c if (options.attr_pattern) { options 804 tools/crm_attribute.c if (options.attr_name) { options 818 tools/crm_attribute.c g_free(options.attr_name); options 819 tools/crm_attribute.c options.attr_name = options.attr_pattern; options 820 tools/crm_attribute.c options.attr_options |= pcmk__node_attr_pattern; options 824 tools/crm_attribute.c options.attr_options |= pcmk__node_attr_remote; options 827 tools/crm_attribute.c if (pcmk__str_eq(options.set_type, XML_TAG_UTILIZATION, pcmk__str_none)) { options 828 tools/crm_attribute.c options.attr_options |= pcmk__node_attr_utilization; options 832 tools/crm_attribute.c (send_attrd_update(options.command, options.dest_uname, options.attr_name, options 833 tools/crm_attribute.c options.attr_value, options.set_name, NULL, options.attr_options) == pcmk_rc_ok)) { options 835 tools/crm_attribute.c options.attr_name, ((options.command == 'D')? "<none>" : options.attr_value)); options 837 tools/crm_attribute.c } else if (options.command == 'D') { options 840 tools/crm_attribute.c } else if (options.command == 'u') { options 862 tools/crm_attribute.c free(options.attr_default); options 863 tools/crm_attribute.c g_free(options.attr_id); options 864 tools/crm_attribute.c g_free(options.attr_name); options 865 tools/crm_attribute.c free(options.attr_value); options 866 tools/crm_attribute.c free(options.dest_node); options 867 tools/crm_attribute.c g_free(options.dest_uname); options 868 tools/crm_attribute.c g_free(options.set_name); options 869 tools/crm_attribute.c free(options.set_type); options 870 tools/crm_attribute.c g_free(options.type); options 40 tools/crm_diff.c } options; options 47 tools/crm_diff.c { "original", 'o', 0, G_OPTION_ARG_STRING, &options.xml_file_1, options 58 tools/crm_diff.c { "new", 'n', 0, G_OPTION_ARG_STRING, &options.xml_file_2, options 72 tools/crm_diff.c { "cib", 'c', 0, G_OPTION_ARG_NONE, &options.as_cib, options 75 tools/crm_diff.c { "stdin", 's', 0, G_OPTION_ARG_NONE, &options.use_stdin, options 78 tools/crm_diff.c { "no-version", 'u', 0, G_OPTION_ARG_NONE, &options.no_version, options 87 tools/crm_diff.c options.raw_2 = TRUE; options 88 tools/crm_diff.c pcmk__str_update(&options.xml_file_2, optarg); options 94 tools/crm_diff.c options.raw_1 = TRUE; options 95 tools/crm_diff.c pcmk__str_update(&options.xml_file_1, optarg); options 101 tools/crm_diff.c options.apply = TRUE; options 102 tools/crm_diff.c pcmk__str_update(&options.xml_file_2, optarg); options 341 tools/crm_diff.c if (options.apply && options.no_version) { options 343 tools/crm_diff.c } else if (options.as_cib && options.no_version) { options 349 tools/crm_diff.c if (options.raw_1) { options 350 tools/crm_diff.c object_1 = string2xml(options.xml_file_1); options 352 tools/crm_diff.c } else if (options.use_stdin) { options 356 tools/crm_diff.c } else if (options.xml_file_1 != NULL) { options 357 tools/crm_diff.c object_1 = filename2xml(options.xml_file_1); options 360 tools/crm_diff.c if (options.raw_2) { options 361 tools/crm_diff.c object_2 = string2xml(options.xml_file_2); options 363 tools/crm_diff.c } else if (options.use_stdin) { options 367 tools/crm_diff.c } else if (options.xml_file_2 != NULL) { options 368 tools/crm_diff.c object_2 = filename2xml(options.xml_file_2); options 382 tools/crm_diff.c if (options.apply) { options 383 tools/crm_diff.c rc = apply_patch(object_1, object_2, options.as_cib); options 385 tools/crm_diff.c rc = generate_patch(object_1, object_2, options.xml_file_2, options.as_cib, options.no_version); options 392 tools/crm_diff.c free(options.xml_file_1); options 393 tools/crm_diff.c free(options.xml_file_2); options 26 tools/crm_error.c } options = { options 35 tools/crm_error.c options.result_type = pcmk_result_exitcode; options 37 tools/crm_error.c options.result_type = pcmk_result_rc; options 44 tools/crm_error.c { "name", 'n', 0, G_OPTION_ARG_NONE, &options.with_name, options 48 tools/crm_error.c { "list", 'l', 0, G_OPTION_ARG_NONE, &options.do_list, options 112 tools/crm_error.c options.do_list = TRUE; options 122 tools/crm_error.c if (options.do_list) { options 125 tools/crm_error.c if (options.with_name) { options 131 tools/crm_error.c pcmk__list_result_codes(out, options.result_type, flags); options 144 tools/crm_error.c if (options.with_name) { options 159 tools/crm_error.c pcmk__show_result_code(out, code, options.result_type, flags); options 230 tools/crm_mon.c } options = { options 357 tools/crm_mon.c if (options.neg_location_prefix != NULL) { options 358 tools/crm_mon.c free(options.neg_location_prefix); options 359 tools/crm_mon.c options.neg_location_prefix = NULL; options 363 tools/crm_mon.c options.neg_location_prefix = strdup(*s+5); options 418 tools/crm_mon.c options.user_includes_excludes = g_slist_append(options.user_includes_excludes, s); options 426 tools/crm_mon.c options.includes_excludes = g_slist_append(options.includes_excludes, s); options 434 tools/crm_mon.c options.exec_mode = mon_exec_one_shot; options 451 tools/crm_mon.c options.exec_mode = mon_exec_one_shot; options 472 tools/crm_mon.c options.fence_connect = TRUE; options 478 tools/crm_mon.c options.fence_connect = TRUE; options 484 tools/crm_mon.c options.fence_connect = TRUE; options 489 tools/crm_mon.c options.fence_connect = FALSE; options 556 tools/crm_mon.c options.reconnect_ms = crm_parse_interval_spec(optarg); options 558 tools/crm_mon.c if (options.exec_mode != mon_exec_daemonized) { options 560 tools/crm_mon.c options.exec_mode = mon_exec_update; options 580 tools/crm_mon.c options.exec_mode = mon_exec_one_shot; options 597 tools/crm_mon.c options.exec_mode = mon_exec_daemonized; options 636 tools/crm_mon.c options.exec_mode = mon_exec_one_shot; options 659 tools/crm_mon.c { "pid-file", 'p', 0, G_OPTION_ARG_FILENAME, &options.pid_file, options 663 tools/crm_mon.c { "external-agent", 'E', 0, G_OPTION_ARG_FILENAME, &options.external_agent, options 667 tools/crm_mon.c { "external-recipient", 'e', 0, G_OPTION_ARG_STRING, &options.external_recipient, options 671 tools/crm_mon.c { "watch-fencing", 'W', 0, G_OPTION_ARG_NONE, &options.watch_fencing, options 693 tools/crm_mon.c { "node", 0, 0, G_OPTION_ARG_STRING, &options.only_node, options 698 tools/crm_mon.c { "resource", 0, 0, G_OPTION_ARG_STRING, &options.only_rsc, options 758 tools/crm_mon.c { "pending", 'j', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.print_pending, options 821 tools/crm_mon.c reconnect_timer = g_timeout_add(options.reconnect_ms, options 862 tools/crm_mon.c reconnect_timer = g_timeout_add(options.reconnect_ms, options 909 tools/crm_mon.c if (options.fence_connect && st == NULL) { options 913 tools/crm_mon.c if (!options.fence_connect || st == NULL || st->state != stonith_disconnected) { options 920 tools/crm_mon.c if (options.watch_fencing) { options 997 tools/crm_mon.c options.fence_connect = TRUE; options 1003 tools/crm_mon.c options.fence_connect = TRUE; options 1009 tools/crm_mon.c options.fence_connect = TRUE; options 1016 tools/crm_mon.c options.fence_connect = FALSE; options 1036 tools/crm_mon.c options.reconnect_ms / 2, false, options 1384 tools/crm_mon.c if ((options.exec_mode == mon_exec_daemonized) options 1385 tools/crm_mon.c || (options.exec_mode == mon_exec_one_shot) options 1422 tools/crm_mon.c options.exec_mode = mon_exec_update; options 1424 tools/crm_mon.c } else if (options.exec_mode == mon_exec_unset) { options 1426 tools/crm_mon.c options.exec_mode = mon_exec_one_shot; options 1428 tools/crm_mon.c } else if ((options.exec_mode == mon_exec_update) options 1432 tools/crm_mon.c options.exec_mode = mon_exec_one_shot; options 1460 tools/crm_mon.c options.only_node, options.only_rsc, options 1461 tools/crm_mon.c options.neg_location_prefix, options 1493 tools/crm_mon.c options.pid_file = strdup("/tmp/ClusterMon.pid"); options 1501 tools/crm_mon.c options.exec_mode = mon_exec_one_shot; options 1532 tools/crm_mon.c if (options.watch_fencing) { options 1534 tools/crm_mon.c options.fence_connect = TRUE; options 1556 tools/crm_mon.c options.exec_mode = mon_exec_one_shot; options 1570 tools/crm_mon.c if ((options.exec_mode == mon_exec_daemonized) options 1571 tools/crm_mon.c && !options.external_agent options 1599 tools/crm_mon.c if (options.exec_mode == mon_exec_daemonized) { options 1600 tools/crm_mon.c if (!options.external_agent && (output_format == mon_output_none)) { options 1609 tools/crm_mon.c pcmk__daemonize(crm_system_name, options.pid_file); options 1619 tools/crm_mon.c apply_include_exclude(options.includes_excludes, &error); options 1625 tools/crm_mon.c if (!apply_include_exclude(options.user_includes_excludes, &error)) { options 1660 tools/crm_mon.c } else if (options.external_agent != NULL) { options 1663 tools/crm_mon.c } else if (options.exec_mode == mon_exec_daemonized) { options 1676 tools/crm_mon.c pcmk__itoa(options.reconnect_ms / 1000), NULL); options 1688 tools/crm_mon.c if (options.exec_mode == mon_exec_one_shot) { options 1701 tools/crm_mon.c options.reconnect_ms); options 1705 tools/crm_mon.c pcmk__sleep_ms(options.reconnect_ms); options 1766 tools/crm_mon.c crm_debug("Sending external notification to '%s' via '%s'", options.external_recipient, options.external_agent); options 1771 tools/crm_mon.c if (options.external_recipient) { options 1772 tools/crm_mon.c setenv("CRM_notify_recipient", options.external_recipient, 1); options 1787 tools/crm_mon.c execl(options.external_agent, options.external_agent, NULL); options 1791 tools/crm_mon.c crm_trace("Finished running custom notification program '%s'.", options.external_agent); options 1881 tools/crm_mon.c if (notify && options.external_agent) { options 2052 tools/crm_mon.c if (options.external_agent) { options 2098 tools/crm_mon.c pcmk__pacemakerd_status(out, crm_system_name, options.reconnect_ms / 2, options 2108 tools/crm_mon.c options.only_node,options.only_rsc, options 2109 tools/crm_mon.c options.neg_location_prefix, options 2136 tools/crm_mon.c } else if (options.external_agent) { options 2181 tools/crm_mon.c ((now - last_refresh) > (options.reconnect_ms / 1000)) || options 2223 tools/crm_mon.c free(options.neg_location_prefix); options 2224 tools/crm_mon.c free(options.only_node); options 2225 tools/crm_mon.c free(options.only_rsc); options 2226 tools/crm_mon.c free(options.pid_file); options 2227 tools/crm_mon.c g_slist_free_full(options.includes_excludes, free); options 2278 tools/crm_mon.c if (options.exec_mode != mon_exec_daemonized) { options 36 tools/crm_node.c } options = { options 79 tools/crm_node.c { "force", 'f', 0, G_OPTION_ARG_NONE, &options.force_flag, options 84 tools/crm_node.c { "corosync", 'C', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.corosync, options 97 tools/crm_node.c options.command = 'i'; options 99 tools/crm_node.c options.command = 'l'; options 101 tools/crm_node.c options.command = 'n'; options 103 tools/crm_node.c options.command = 'p'; options 105 tools/crm_node.c options.command = 'q'; options 116 tools/crm_node.c options.command = 'N'; options 117 tools/crm_node.c pcmk__scan_min_int(optarg, &(options.nodeid), 0); options 129 tools/crm_node.c options.command = 'R'; options 130 tools/crm_node.c options.dangerous_cmd = TRUE; options 131 tools/crm_node.c pcmk__str_update(&options.target_uname, optarg); options 174 tools/crm_node.c switch (options.command) { options 237 tools/crm_node.c if (options.command == 'l') { options 246 tools/crm_node.c if (options.command == 'p') { options 555 tools/crm_node.c if (options.command == 0) { options 564 tools/crm_node.c if (options.dangerous_cmd && options.force_flag == FALSE) { options 572 tools/crm_node.c switch (options.command) { options 577 tools/crm_node.c remove_node(options.target_uname); options 585 tools/crm_node.c run_controller_mainloop(options.nodeid, false); options 115 tools/crm_resource.c } options = { options 127 tools/crm_resource.c if (options.rsc_cmd != cmd_none) { \ options 132 tools/crm_resource.c options.rsc_cmd = (cmd); \ options 136 tools/crm_resource.c if (options.rsc_cmd != cmd_none) { \ options 139 tools/crm_resource.c options.rsc_cmd = (cmd); \ options 499 tools/crm_resource.c { "lifetime", 'u', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.move_lifetime, options 504 tools/crm_resource.c &options.promoted_role_only, options 512 tools/crm_resource.c &options.promoted_role_only, options 576 tools/crm_resource.c { "node", 'N', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.host_uname, options 579 tools/crm_resource.c { "recursive", 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.recursive, options 582 tools/crm_resource.c { "resource-type", 't', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.rsc_type, options 585 tools/crm_resource.c { "parameter-value", 'v', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_value, options 600 tools/crm_resource.c { "operation", 'n', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.operation, options 603 tools/crm_resource.c { "interval", 'I', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.interval_spec, options 623 tools/crm_resource.c { "set-name", 's', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_set, options 626 tools/crm_resource.c { "nvpair", 'i', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_id, options 633 tools/crm_resource.c { "force", 'f', G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.force, options 637 tools/crm_resource.c { "xml-file", 'x', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_FILENAME, &options.xml_file, options 640 tools/crm_resource.c { "host-uname", 'H', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.host_uname, options 649 tools/crm_resource.c options.require_crmd = FALSE; options 650 tools/crm_resource.c options.require_node = FALSE; options 652 tools/crm_resource.c options.require_cib = TRUE; options 653 tools/crm_resource.c options.require_dataset = TRUE; options 654 tools/crm_resource.c options.require_resource = TRUE; options 656 tools/crm_resource.c options.find_flags = 0; options 661 tools/crm_resource.c options.cmdline_config = TRUE; options 662 tools/crm_resource.c options.require_resource = FALSE; options 665 tools/crm_resource.c pcmk__str_update(&options.v_provider, optarg); options 667 tools/crm_resource.c pcmk__str_update(&options.v_agent, optarg); options 676 tools/crm_resource.c options.attr_set_type = XML_TAG_META_SETS; options 678 tools/crm_resource.c options.attr_set_type = XML_TAG_UTILIZATION; options 680 tools/crm_resource.c options.attr_set_type = ATTR_SET_ELEMENT; options 687 tools/crm_resource.c pcmk__str_update(&options.v_class, optarg); options 688 tools/crm_resource.c options.cmdline_config = TRUE; options 689 tools/crm_resource.c options.require_resource = FALSE; options 701 tools/crm_resource.c options.require_resource = FALSE; options 703 tools/crm_resource.c options.require_crmd = TRUE; options 705 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 712 tools/crm_resource.c options.require_dataset = FALSE; options 713 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 719 tools/crm_resource.c options.clear_expired = TRUE; options 720 tools/crm_resource.c options.require_resource = FALSE; options 727 tools/crm_resource.c options.require_cib = FALSE; options 728 tools/crm_resource.c options.require_dataset = FALSE; options 729 tools/crm_resource.c options.require_resource = FALSE; options 730 tools/crm_resource.c pcmk__str_update(&options.agent_spec, optarg); options 756 tools/crm_resource.c options.require_cib = FALSE; options 757 tools/crm_resource.c options.require_dataset = FALSE; options 758 tools/crm_resource.c options.require_resource = FALSE; options 790 tools/crm_resource.c if (options.cmdline_params == NULL) { options 791 tools/crm_resource.c options.cmdline_params = pcmk__strkey_table(free, free); options 793 tools/crm_resource.c g_hash_table_replace(options.cmdline_params, name, value); options 800 tools/crm_resource.c options.require_crmd = TRUE; options 801 tools/crm_resource.c options.require_node = TRUE; options 809 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 812 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 815 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 818 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 821 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 824 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 828 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 832 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 833 tools/crm_resource.c options.recursive = TRUE; options 847 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); options 848 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 866 tools/crm_resource.c options.require_resource = FALSE; options 878 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); options 879 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 886 tools/crm_resource.c options.require_dataset = FALSE; options 887 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); options 888 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_any; options 894 tools/crm_resource.c options.timeout_ms = crm_get_msec(optarg); options 903 tools/crm_resource.c if (options.operation) { options 904 tools/crm_resource.c g_free(options.operation); options 906 tools/crm_resource.c options.operation = g_strdup(option_name + 2); // skip "--" options 907 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 908 tools/crm_resource.c if (options.override_params == NULL) { options 909 tools/crm_resource.c options.override_params = pcmk__strkey_table(free, free); options 913 tools/crm_resource.c if (pcmk__scan_min_int(optarg, &options.check_level, 0) != pcmk_rc_ok) { options 928 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 937 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 938 tools/crm_resource.c if (options.override_params == NULL) { options 939 tools/crm_resource.c options.override_params = pcmk__strkey_table(free, free); options 941 tools/crm_resource.c options.require_node = TRUE; options 942 tools/crm_resource.c options.require_dataset = TRUE; options 949 tools/crm_resource.c options.require_resource = FALSE; options 950 tools/crm_resource.c options.require_dataset = FALSE; options 957 tools/crm_resource.c options.require_resource = FALSE; options 958 tools/crm_resource.c options.find_flags = pe_find_renamed|pe_find_anon; options 974 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, options 975 tools/crm_resource.c cib_conn, options.cib_options, options.promoted_role_only); options 993 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL, options 994 tools/crm_resource.c cib_conn, options.cib_options, options.promoted_role_only); options 1004 tools/crm_resource.c options.rsc_id, nactive, count, options.rsc_id, options.rsc_id); options 1013 tools/crm_resource.c options.rsc_id, nactive, options.rsc_id); options 1024 tools/crm_resource.c if (options.force == FALSE) { options 1029 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); options 1030 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, options.operation, options 1031 tools/crm_resource.c options.interval_spec, TRUE, data_set, options.force); options 1057 tools/crm_resource.c if (options.clear_expired) { options 1058 tools/crm_resource.c rc = cli_resource_clear_all_expired(data_set->input, cib_conn, options.cib_options, options 1059 tools/crm_resource.c options.rsc_id, options.host_uname, options 1060 tools/crm_resource.c options.promoted_role_only); options 1062 tools/crm_resource.c } else if (options.host_uname) { options 1063 tools/crm_resource.c dest = pe_find_node(data_set->nodes, options.host_uname); options 1071 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, dest->details->uname, NULL, options 1072 tools/crm_resource.c cib_conn, options.cib_options, TRUE, options.force); options 1075 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, NULL, data_set->nodes, options 1076 tools/crm_resource.c cib_conn, options.cib_options, TRUE, options.force); options 1116 tools/crm_resource.c if (options.rsc_type == NULL) { options 1123 tools/crm_resource.c msg_data = create_xml_node(NULL, options.rsc_type); options 1124 tools/crm_resource.c crm_xml_add(msg_data, XML_ATTR_ID, options.rsc_id); options 1127 tools/crm_resource.c options.cib_options); options 1187 tools/crm_resource.c switch (options.rsc_cmd) { options 1250 tools/crm_resource.c if (options.xml_file != NULL) { options 1251 tools/crm_resource.c *cib_xml_copy = filename2xml(options.xml_file); options 1286 tools/crm_resource.c const char *router_node = options.host_uname; options 1289 tools/crm_resource.c if (options.host_uname) { options 1290 tools/crm_resource.c pe_node_t *node = pe_find_node(data_set->nodes, options.host_uname); options 1298 tools/crm_resource.c options.host_uname); options 1308 tools/crm_resource.c options.host_uname? options.host_uname : "all nodes"); options 1313 tools/crm_resource.c crm_debug("Re-checking the state of all resources on %s", options.host_uname?options.host_uname:"all nodes"); options 1315 tools/crm_resource.c rc = pcmk__attrd_api_clear_failures(NULL, options.host_uname, NULL, options 1318 tools/crm_resource.c if (pcmk_controld_api_reprobe(controld_api, options.host_uname, options 1331 tools/crm_resource.c if (options.force == FALSE) { options 1336 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); options 1337 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL, 0, options 1338 tools/crm_resource.c FALSE, data_set, options.force); options 1356 tools/crm_resource.c if (pcmk__str_empty(options.rsc_type)) { options 1362 tools/crm_resource.c } else if (pcmk__str_empty(options.prop_value)) { options 1369 tools/crm_resource.c CRM_LOG_ASSERT(options.prop_name != NULL); options 1371 tools/crm_resource.c msg_data = create_xml_node(NULL, options.rsc_type); options 1372 tools/crm_resource.c crm_xml_add(msg_data, XML_ATTR_ID, options.rsc_id); options 1373 tools/crm_resource.c crm_xml_add(msg_data, options.prop_name, options.prop_value); options 1376 tools/crm_resource.c options.cib_options); options 1438 tools/crm_resource.c if (options.rsc_id != NULL) { options 1443 tools/crm_resource.c } else if (options.rsc_cmd != cmd_execute_agent) { options 1451 tools/crm_resource.c } else if (pcmk__str_eq(options.v_class, "stonith", pcmk__str_none)) { options 1452 tools/crm_resource.c if (options.v_provider != NULL) { options 1456 tools/crm_resource.c } else if (stonith_agent_exists(options.v_agent, 0) == FALSE) { options 1458 tools/crm_resource.c _("%s is not a known stonith agent"), options.v_agent ? options.v_agent : ""); options 1461 tools/crm_resource.c } else if (resources_agent_exists(options.v_class, options.v_provider, options.v_agent) == FALSE) { options 1464 tools/crm_resource.c options.v_class ? options.v_class : "", options 1465 tools/crm_resource.c options.v_provider ? options.v_provider : "", options 1466 tools/crm_resource.c options.v_agent ? options.v_agent : ""); options 1473 tools/crm_resource.c if (options.cmdline_params == NULL) { options 1474 tools/crm_resource.c options.cmdline_params = pcmk__strkey_table(free, free); options 1476 tools/crm_resource.c options.require_resource = FALSE; options 1477 tools/crm_resource.c options.require_dataset = FALSE; options 1478 tools/crm_resource.c options.require_cib = FALSE; options 1489 tools/crm_resource.c { "resource", 'r', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.rsc_id, options 1492 tools/crm_resource.c { G_OPTION_REMAINING, 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING_ARRAY, &options.remainder, options 1596 tools/crm_resource.c if (options.rsc_cmd == cmd_none) { options 1597 tools/crm_resource.c options.rsc_cmd = cmd_list_resources; options 1598 tools/crm_resource.c options.require_resource = FALSE; options 1602 tools/crm_resource.c if (options.clear_expired && (options.rsc_cmd != cmd_clear)) { options 1608 tools/crm_resource.c if ((options.remainder != NULL) && (options.override_params != NULL)) { options 1610 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { options 1616 tools/crm_resource.c g_hash_table_replace(options.override_params, name, value); options 1629 tools/crm_resource.c } else if (options.remainder != NULL) { options 1635 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { options 1647 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { options 1672 tools/crm_resource.c switch (options.rsc_cmd) { options 1688 tools/crm_resource.c if ((options.rsc_cmd == cmd_colocations) || options 1689 tools/crm_resource.c options.rsc_cmd == cmd_list_resources) { options 1699 tools/crm_resource.c if (options.cmdline_config) { options 1709 tools/crm_resource.c } else if (options.cmdline_params != NULL) { options 1711 tools/crm_resource.c g_hash_table_destroy(options.cmdline_params); options 1712 tools/crm_resource.c options.cmdline_params = NULL; options 1715 tools/crm_resource.c if (options.require_resource && (options.rsc_id == NULL)) { options 1721 tools/crm_resource.c if (options.require_node && (options.host_uname == NULL)) { options 1732 tools/crm_resource.c if (options.find_flags && options.rsc_id) { options 1733 tools/crm_resource.c options.require_dataset = TRUE; options 1737 tools/crm_resource.c if (options.require_cib) { options 1756 tools/crm_resource.c if (options.require_dataset) { options 1765 tools/crm_resource.c if (options.find_flags && options.rsc_id) { options 1766 tools/crm_resource.c rsc = pe_find_resource_with_flags(data_set->resources, options.rsc_id, options 1767 tools/crm_resource.c options.find_flags); options 1771 tools/crm_resource.c _("Resource '%s' not found"), options.rsc_id); options 1778 tools/crm_resource.c if (strchr(options.rsc_id, ':') != NULL && pe_rsc_is_clone(rsc->parent) && options 1779 tools/crm_resource.c (options.rsc_cmd == cmd_ban || options.rsc_cmd == cmd_clear || options 1780 tools/crm_resource.c options.rsc_cmd == cmd_move || options.rsc_cmd == cmd_restart)) { options 1783 tools/crm_resource.c _("Cannot operate on clone resource instance '%s'"), options.rsc_id); options 1789 tools/crm_resource.c if ((options.host_uname != NULL) && (data_set != NULL)) { options 1790 tools/crm_resource.c node = pe_find_node(data_set->nodes, options.host_uname); options 1795 tools/crm_resource.c _("Node '%s' not found"), options.host_uname); options 1801 tools/crm_resource.c if (options.require_crmd) { options 1824 tools/crm_resource.c switch (options.rsc_cmd) { options 1851 tools/crm_resource.c rc = list_providers(out, options.agent_spec); options 1855 tools/crm_resource.c rc = list_agents(out, options.agent_spec); options 1859 tools/crm_resource.c rc = show_metadata(out, options.agent_spec); options 1868 tools/crm_resource.c rc = cli_resource_restart(out, rsc, node, options.move_lifetime, options 1869 tools/crm_resource.c options.timeout_ms, cib_conn, options 1870 tools/crm_resource.c options.cib_options, options.promoted_role_only, options 1871 tools/crm_resource.c options.force); options 1875 tools/crm_resource.c rc = wait_till_stable(out, options.timeout_ms, cib_conn); options 1879 tools/crm_resource.c if (options.cmdline_config) { options 1881 tools/crm_resource.c options.v_class, options.v_provider, options.v_agent, options 1882 tools/crm_resource.c options.operation, options.cmdline_params, options 1883 tools/crm_resource.c options.override_params, options.timeout_ms, options 1884 tools/crm_resource.c args->verbosity, options.force, options.check_level); options 1886 tools/crm_resource.c exit_code = cli_resource_execute(rsc, options.rsc_id, options 1887 tools/crm_resource.c options.operation, options.override_params, options 1888 tools/crm_resource.c options.timeout_ms, cib_conn, data_set, options 1889 tools/crm_resource.c args->verbosity, options.force, options.check_level); options 1894 tools/crm_resource.c node = pe_find_node(data_set->nodes, options.host_uname); options 1899 tools/crm_resource.c options.override_params); options 1905 tools/crm_resource.c options.recursive, (bool) options.force); options 1915 tools/crm_resource.c rc = cli_resource_fail(controld_api, options.host_uname, options 1916 tools/crm_resource.c options.rsc_id, data_set); options 1923 tools/crm_resource.c rc = cli_resource_print_operations(options.rsc_id, options 1924 tools/crm_resource.c options.host_uname, TRUE, options 1929 tools/crm_resource.c rc = cli_resource_print_operations(options.rsc_id, options 1930 tools/crm_resource.c options.host_uname, FALSE, options 1935 tools/crm_resource.c GList *nodes = cli_resource_search(rsc, options.rsc_id, data_set); options 1936 tools/crm_resource.c rc = out->message(out, "resource-search-list", nodes, options.rsc_id); options 1950 tools/crm_resource.c if ((options.host_uname != NULL) && (node == NULL)) { options 1963 tools/crm_resource.c if (options.host_uname == NULL) { options 1964 tools/crm_resource.c rc = ban_or_move(out, rsc, options.move_lifetime); options 1966 tools/crm_resource.c rc = cli_resource_move(rsc, options.rsc_id, options.host_uname, options 1967 tools/crm_resource.c options.move_lifetime, cib_conn, options 1968 tools/crm_resource.c options.cib_options, data_set, options 1969 tools/crm_resource.c options.promoted_role_only, options 1970 tools/crm_resource.c options.force); options 1981 tools/crm_resource.c if (options.host_uname == NULL) { options 1982 tools/crm_resource.c rc = ban_or_move(out, rsc, options.move_lifetime); options 1986 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, node->details->uname, options 1987 tools/crm_resource.c options.move_lifetime, NULL, cib_conn, options 1988 tools/crm_resource.c options.cib_options, options 1989 tools/crm_resource.c options.promoted_role_only); options 2000 tools/crm_resource.c rc = out->message(out, "property-list", rsc, options.prop_name); options 2021 tools/crm_resource.c pcmk__s(options.prop_name, "unspecified property")); options 2025 tools/crm_resource.c crm_debug("Looking up %s in %s", options.prop_name, rsc->id); options 2027 tools/crm_resource.c if (pcmk__str_eq(options.attr_set_type, XML_TAG_ATTR_SETS, pcmk__str_none)) { options 2031 tools/crm_resource.c value = g_hash_table_lookup(params, options.prop_name); options 2033 tools/crm_resource.c } else if (pcmk__str_eq(options.attr_set_type, XML_TAG_META_SETS, pcmk__str_none)) { options 2037 tools/crm_resource.c value = g_hash_table_lookup(params, options.prop_name); options 2039 tools/crm_resource.c } else if (pcmk__str_eq(options.attr_set_type, ATTR_SET_ELEMENT, pcmk__str_none)) { options 2041 tools/crm_resource.c value = crm_element_value(rsc->xml, options.prop_name); options 2049 tools/crm_resource.c value = g_hash_table_lookup(params, options.prop_name); options 2052 tools/crm_resource.c rc = out->message(out, "attribute-list", rsc, options.prop_name, value); options 2061 tools/crm_resource.c if (pcmk__str_empty(options.prop_value)) { options 2069 tools/crm_resource.c rc = cli_resource_update_attribute(rsc, options.rsc_id, options 2070 tools/crm_resource.c options.prop_set, options 2071 tools/crm_resource.c options.attr_set_type, options 2072 tools/crm_resource.c options.prop_id, options 2073 tools/crm_resource.c options.prop_name, options 2074 tools/crm_resource.c options.prop_value, options 2075 tools/crm_resource.c options.recursive, cib_conn, options 2076 tools/crm_resource.c options.cib_options, options 2077 tools/crm_resource.c options.force); options 2082 tools/crm_resource.c rc = cli_resource_delete_attribute(rsc, options.rsc_id, options 2083 tools/crm_resource.c options.prop_set, options 2084 tools/crm_resource.c options.attr_set_type, options 2085 tools/crm_resource.c options.prop_id, options 2086 tools/crm_resource.c options.prop_name, cib_conn, options 2087 tools/crm_resource.c options.cib_options, options 2088 tools/crm_resource.c options.force); options 2093 tools/crm_resource.c rc = cli_cleanup_all(controld_api, options.host_uname, options 2094 tools/crm_resource.c options.operation, options.interval_spec, options 2119 tools/crm_resource.c _("Unimplemented command: %d"), (int) options.rsc_cmd); options 2153 tools/crm_resource.c g_free(options.host_uname); options 2154 tools/crm_resource.c g_free(options.interval_spec); options 2155 tools/crm_resource.c g_free(options.move_lifetime); options 2156 tools/crm_resource.c g_free(options.operation); options 2157 tools/crm_resource.c g_free(options.prop_id); options 2158 tools/crm_resource.c free(options.prop_name); options 2159 tools/crm_resource.c g_free(options.prop_set); options 2160 tools/crm_resource.c g_free(options.prop_value); options 2161 tools/crm_resource.c g_free(options.rsc_id); options 2162 tools/crm_resource.c g_free(options.rsc_type); options 2163 tools/crm_resource.c free(options.agent_spec); options 2164 tools/crm_resource.c free(options.v_agent); options 2165 tools/crm_resource.c free(options.v_class); options 2166 tools/crm_resource.c free(options.v_provider); options 2167 tools/crm_resource.c g_free(options.xml_file); options 2168 tools/crm_resource.c g_strfreev(options.remainder); options 2170 tools/crm_resource.c if (options.override_params != NULL) { options 2171 tools/crm_resource.c g_hash_table_destroy(options.override_params); options 41 tools/crm_rule.c } options = { options 56 tools/crm_rule.c { "xml-text", 'X', 0, G_OPTION_ARG_STRING, &options.input_xml, options 64 tools/crm_rule.c { "date", 'd', 0, G_OPTION_ARG_STRING, &options.date, options 67 tools/crm_rule.c { "rule", 'r', 0, G_OPTION_ARG_STRING_ARRAY, &options.rules, options 77 tools/crm_rule.c options.mode = crm_rule_mode_check; options 142 tools/crm_rule.c switch(options.mode) { options 144 tools/crm_rule.c if (options.rules == NULL) { options 160 tools/crm_rule.c rule_date = crm_time_new(options.date); options 162 tools/crm_rule.c if (options.date != NULL) { options 165 tools/crm_rule.c "Invalid date specified: '%s'", options.date); options 177 tools/crm_rule.c if (pcmk__str_eq(options.input_xml, "-", pcmk__str_casei)) { options 185 tools/crm_rule.c } else if (options.input_xml != NULL) { options 186 tools/crm_rule.c input = string2xml(options.input_xml); options 191 tools/crm_rule.c "Couldn't parse input string: %s\n", options.input_xml); options 200 tools/crm_rule.c switch(options.mode) { options 203 tools/crm_rule.c (const char **) options.rules); options 81 tools/crm_shadow.c } options = { options 344 tools/crm_shadow.c && !pcmk__str_eq(active, options.instance, pcmk__str_null_matches)) { options 349 tools/crm_shadow.c reason, options.instance, active); options 374 tools/crm_shadow.c pcmk__str_update(&options.instance, getenv("CIB_shadow")); options 375 tools/crm_shadow.c if (options.instance == NULL) { options 401 tools/crm_shadow.c "exists", options.instance); options 414 tools/crm_shadow.c options.instance, strerror(errno)); options 473 tools/crm_shadow.c rc = real_cib->cmds->query(real_cib, NULL, output, options.cmd_options); options 531 tools/crm_shadow.c reset? "reset" : "create", options.instance, options 549 tools/crm_shadow.c return crm_strdup_printf("shadow[%.40s] # ", options.instance); options 569 tools/crm_shadow.c if (pcmk__str_eq(active, options.instance, pcmk__str_none) options 575 tools/crm_shadow.c if (!options.batch && (shell != NULL)) { options 578 tools/crm_shadow.c setenv("CIB_shadow", options.instance, 1); options 605 tools/crm_shadow.c prefix, options.instance); options 626 tools/crm_shadow.c if (pcmk__str_eq(active, options.instance, pcmk__str_none)) { options 661 tools/crm_shadow.c if (!options.force) { options 670 tools/crm_shadow.c filename = get_shadow_file(options.instance); options 685 tools/crm_shadow.c if (!options.full_upload) { options 691 tools/crm_shadow.c options.cmd_options); options 698 tools/crm_shadow.c options.instance, pcmk_rc_str(rc)); options 720 tools/crm_shadow.c char *filename = get_shadow_file(options.instance); options 723 tools/crm_shadow.c if (!options.force options 729 tools/crm_shadow.c crm_xml_add(output, XML_ATTR_VALIDATION, options.validate_with); options 759 tools/crm_shadow.c char *filename = get_shadow_file(options.instance); options 762 tools/crm_shadow.c if (!options.force) { options 771 tools/crm_shadow.c if (!pcmk__str_eq(local, options.instance, pcmk__str_null_matches)) { options 779 tools/crm_shadow.c options.instance, local); options 815 tools/crm_shadow.c if (!options.force) { options 824 tools/crm_shadow.c filename = get_shadow_file(options.instance); options 830 tools/crm_shadow.c options.instance, strerror(errno)); options 855 tools/crm_shadow.c filename = get_shadow_file(options.instance); options 894 tools/crm_shadow.c filename = get_shadow_file(options.instance); options 906 tools/crm_shadow.c options.instance, NULL, output, NULL, shadow_disp_content); options 938 tools/crm_shadow.c filename = get_shadow_file(options.instance); options 970 tools/crm_shadow.c options.instance, NULL, NULL, diff, shadow_disp_diff); options 999 tools/crm_shadow.c char *filename = get_shadow_file(options.instance); options 1004 tools/crm_shadow.c options.instance, filename, NULL, NULL, shadow_disp_file); options 1026 tools/crm_shadow.c options.instance, NULL, NULL, NULL, shadow_disp_instance); options 1043 tools/crm_shadow.c filename = get_shadow_file(options.instance); options 1055 tools/crm_shadow.c options.cmd = shadow_cmd_which; options 1058 tools/crm_shadow.c options.cmd = shadow_cmd_display; options 1061 tools/crm_shadow.c options.cmd = shadow_cmd_diff; options 1064 tools/crm_shadow.c options.cmd = shadow_cmd_file; options 1067 tools/crm_shadow.c options.cmd = shadow_cmd_create; options 1070 tools/crm_shadow.c options.cmd = shadow_cmd_create_empty; options 1073 tools/crm_shadow.c options.cmd = shadow_cmd_commit; options 1076 tools/crm_shadow.c options.cmd = shadow_cmd_delete; options 1079 tools/crm_shadow.c options.cmd = shadow_cmd_edit; options 1082 tools/crm_shadow.c options.cmd = shadow_cmd_reset; options 1085 tools/crm_shadow.c options.cmd = shadow_cmd_switch; options 1093 tools/crm_shadow.c pcmk__str_update(&options.instance, optarg); options 1144 tools/crm_shadow.c { "force", 'f', G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.force, options 1147 tools/crm_shadow.c { "batch", 'b', G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.batch, options 1150 tools/crm_shadow.c { "all", 'a', G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.full_upload, options 1154 tools/crm_shadow.c &options.validate_with, options 1249 tools/crm_shadow.c if (options.cmd == shadow_cmd_none) { options 1263 tools/crm_shadow.c cib__set_call_options(options.cmd_options, crm_system_name, options 1268 tools/crm_shadow.c switch (options.cmd) { options 1313 tools/crm_shadow.c free(options.instance); options 1314 tools/crm_shadow.c g_free(options.validate_with); options 49 tools/crm_simulate.c } options = { options 69 tools/crm_simulate.c options.flags |= pcmk_sim_all_actions; options 87 tools/crm_simulate.c options.store = TRUE; options 88 tools/crm_simulate.c options.flags |= pcmk_sim_process | pcmk_sim_simulate; options 94 tools/crm_simulate.c if (options.xml_file) { options 95 tools/crm_simulate.c free(options.xml_file); options 98 tools/crm_simulate.c options.xml_file = NULL; options 99 tools/crm_simulate.c options.flags &= ~pcmk_sim_sanitized; options 105 tools/crm_simulate.c options.injections->node_down = g_list_append(options.injections->node_down, g_strdup(optarg)); options 111 tools/crm_simulate.c options.injections->node_fail = g_list_append(options.injections->node_fail, g_strdup(optarg)); options 118 tools/crm_simulate.c options.injections->node_up = g_list_append(options.injections->node_up, g_strdup(optarg)); options 124 tools/crm_simulate.c options.flags |= pcmk_sim_process | pcmk_sim_simulate; options 125 tools/crm_simulate.c options.injections->op_fail = g_list_append(options.injections->op_fail, g_strdup(optarg)); options 131 tools/crm_simulate.c options.injections->op_inject = g_list_append(options.injections->op_inject, g_strdup(optarg)); options 137 tools/crm_simulate.c options.flags |= pcmk_sim_show_pending; options 143 tools/crm_simulate.c options.flags |= pcmk_sim_process; options 149 tools/crm_simulate.c pcmk__str_update(&options.injections->quorum, optarg); options 155 tools/crm_simulate.c options.flags |= pcmk_sim_process; options 156 tools/crm_simulate.c pcmk__str_update(&options.dot_file, optarg); options 162 tools/crm_simulate.c options.flags |= pcmk_sim_process; options 163 tools/crm_simulate.c pcmk__str_update(&options.graph_file, optarg); options 169 tools/crm_simulate.c options.flags |= pcmk_sim_process | pcmk_sim_show_scores; options 175 tools/crm_simulate.c options.flags |= pcmk_sim_process | pcmk_sim_simulate; options 181 tools/crm_simulate.c options.injections->ticket_activate = g_list_append(options.injections->ticket_activate, g_strdup(optarg)); options 187 tools/crm_simulate.c options.injections->ticket_grant = g_list_append(options.injections->ticket_grant, g_strdup(optarg)); options 193 tools/crm_simulate.c options.injections->ticket_revoke = g_list_append(options.injections->ticket_revoke, g_strdup(optarg)); options 199 tools/crm_simulate.c options.injections->ticket_standby = g_list_append(options.injections->ticket_standby, g_strdup(optarg)); options 205 tools/crm_simulate.c options.flags |= pcmk_sim_process | pcmk_sim_show_utilization; options 211 tools/crm_simulate.c pcmk__str_update(&options.injections->watchdog, optarg); options 217 tools/crm_simulate.c pcmk__str_update(&options.xml_file, optarg); options 218 tools/crm_simulate.c options.flags |= pcmk_sim_sanitized; options 224 tools/crm_simulate.c pcmk__str_update(&options.xml_file, "-"); options 225 tools/crm_simulate.c options.flags |= pcmk_sim_sanitized; options 251 tools/crm_simulate.c { "profile", 'P', 0, G_OPTION_ARG_FILENAME, &options.test_dir, options 254 tools/crm_simulate.c { "repeat", 'N', 0, G_OPTION_ARG_INT, &options.repeat, options 285 tools/crm_simulate.c { "set-datetime", 't', 0, G_OPTION_ARG_STRING, &options.use_date, options 311 tools/crm_simulate.c { "save-input", 'I', 0, G_OPTION_ARG_FILENAME, &options.input_file, options 314 tools/crm_simulate.c { "save-output", 'O', 0, G_OPTION_ARG_FILENAME, &options.output_file, options 463 tools/crm_simulate.c options.injections = calloc(1, sizeof(pcmk_injections_t)); options 464 tools/crm_simulate.c if (options.injections == NULL) { options 470 tools/crm_simulate.c options.xml_file = strdup("-"); options 489 tools/crm_simulate.c !pcmk_is_set(options.flags, pcmk_sim_show_scores) && options 490 tools/crm_simulate.c !pcmk_is_set(options.flags, pcmk_sim_show_utilization)) { options 507 tools/crm_simulate.c options.flags |= pcmk_sim_verbose; options 523 tools/crm_simulate.c if (pcmk_is_set(options.flags, pcmk_sim_show_scores)) { options 526 tools/crm_simulate.c if (pcmk_is_set(options.flags, pcmk_sim_show_utilization)) { options 531 tools/crm_simulate.c if (options.test_dir != NULL) { options 533 tools/crm_simulate.c pcmk__profile_dir(options.test_dir, options.repeat, data_set, options.use_date); options 538 tools/crm_simulate.c rc = setup_input(out, options.xml_file, options 539 tools/crm_simulate.c options.store? options.xml_file : options.output_file, options 545 tools/crm_simulate.c rc = pcmk__simulate(data_set, out, options.injections, options.flags, section_opts, options 546 tools/crm_simulate.c options.use_date, options.input_file, options.graph_file, options 547 tools/crm_simulate.c options.dot_file); options 553 tools/crm_simulate.c free(options.dot_file); options 554 tools/crm_simulate.c free(options.graph_file); options 555 tools/crm_simulate.c g_free(options.input_file); options 556 tools/crm_simulate.c g_free(options.output_file); options 557 tools/crm_simulate.c g_free(options.test_dir); options 558 tools/crm_simulate.c free(options.use_date); options 559 tools/crm_simulate.c free(options.xml_file); options 561 tools/crm_simulate.c pcmk_free_injections(options.injections); options 54 tools/crm_ticket.c } options = { options 67 tools/crm_ticket.c pcmk__str_update(&options.attr_value, optarg); options 69 tools/crm_ticket.c if (!options.attr_name || !options.attr_value) { options 73 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(options.attr_name), strdup(options.attr_value)); options 74 tools/crm_ticket.c pcmk__str_update(&options.attr_name, NULL); options 75 tools/crm_ticket.c pcmk__str_update(&options.attr_value, NULL); options 85 tools/crm_ticket.c options.ticket_cmd = 'l'; options 87 tools/crm_ticket.c options.ticket_cmd = 'L'; options 89 tools/crm_ticket.c options.ticket_cmd = 'w'; options 91 tools/crm_ticket.c options.ticket_cmd = 'q'; options 93 tools/crm_ticket.c options.ticket_cmd = 'c'; options 95 tools/crm_ticket.c options.ticket_cmd = 'C'; options 110 tools/crm_ticket.c pcmk__str_update(&options.get_attr_name, optarg); options 111 tools/crm_ticket.c options.ticket_cmd = 'G'; options 136 tools/crm_ticket.c pcmk__str_update(&options.attr_name, optarg); options 138 tools/crm_ticket.c if (!options.attr_name || !options.attr_value) { options 142 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(options.attr_name), strdup(options.attr_value)); options 143 tools/crm_ticket.c pcmk__str_update(&options.attr_name, NULL); options 144 tools/crm_ticket.c pcmk__str_update(&options.attr_value, NULL); options 220 tools/crm_ticket.c { "default", 'd', 0, G_OPTION_ARG_STRING, &options.attr_default, options 225 tools/crm_ticket.c { "force", 'f', 0, G_OPTION_ARG_NONE, &options.force, options 229 tools/crm_ticket.c { "ticket", 't', 0, G_OPTION_ARG_STRING, &options.ticket_id, options 233 tools/crm_ticket.c { "xml-file", 'x', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.xml_file, options 241 tools/crm_ticket.c { "set-name", 'n', 0, G_OPTION_ARG_STRING, &options.set_name, options 245 tools/crm_ticket.c { "nvpair", 'i', 0, G_OPTION_ARG_STRING, &options.attr_id, options 249 tools/crm_ticket.c { "quiet", 'Q', 0, G_OPTION_ARG_NONE, &options.quiet, options 539 tools/crm_ticket.c if (options.force) { options 779 tools/crm_ticket.c if (options.xml_file != NULL) { options 780 tools/crm_ticket.c cib_xml_copy = filename2xml(options.xml_file); options 810 tools/crm_ticket.c if (options.ticket_cmd == 'l' || options.ticket_cmd == 'L' || options.ticket_cmd == 'w') { options 814 tools/crm_ticket.c if (options.ticket_cmd == 'L') { options 816 tools/crm_ticket.c } else if (options.ticket_cmd == 'w') { options 820 tools/crm_ticket.c if (options.ticket_id) { options 821 tools/crm_ticket.c pe_ticket_t *ticket = find_ticket(options.ticket_id, data_set); options 826 tools/crm_ticket.c "No such ticket '%s'", options.ticket_id); options 835 tools/crm_ticket.c } else if (options.ticket_cmd == 'q') { options 836 tools/crm_ticket.c rc = dump_ticket_xml(cib_conn, options.ticket_id); options 844 tools/crm_ticket.c } else if (options.ticket_cmd == 'c') { options 845 tools/crm_ticket.c rc = dump_constraints(cib_conn, options.ticket_id); options 853 tools/crm_ticket.c } else if (options.ticket_cmd == 'G') { options 856 tools/crm_ticket.c if (options.ticket_id == NULL) { options 863 tools/crm_ticket.c rc = get_ticket_state_attr(options.ticket_id, options.get_attr_name, &value, data_set); options 866 tools/crm_ticket.c } else if (rc == ENXIO && options.attr_default) { options 867 tools/crm_ticket.c fprintf(stdout, "%s\n", options.attr_default); options 872 tools/crm_ticket.c } else if (options.ticket_cmd == 'C') { options 873 tools/crm_ticket.c if (options.ticket_id == NULL) { options 880 tools/crm_ticket.c if (options.force == FALSE) { options 883 tools/crm_ticket.c ticket = find_ticket(options.ticket_id, data_set); options 887 tools/crm_ticket.c "No such ticket '%s'", options.ticket_id); options 892 tools/crm_ticket.c ticket_warning(options.ticket_id, "revoke"); options 898 tools/crm_ticket.c rc = delete_ticket_state(options.ticket_id, cib_conn); options 907 tools/crm_ticket.c if (options.ticket_id == NULL) { options 914 tools/crm_ticket.c if (options.attr_value options 915 tools/crm_ticket.c && (pcmk__str_empty(options.attr_name))) { options 918 tools/crm_ticket.c "Must supply attribute name with -S for -v %s", options.attr_value); options 922 tools/crm_ticket.c if (options.attr_name options 923 tools/crm_ticket.c && (pcmk__str_empty(options.attr_value))) { options 926 tools/crm_ticket.c "Must supply attribute value with -v for -S %s", options.attr_value); options 930 tools/crm_ticket.c if (!allow_modification(options.ticket_id)) { options 937 tools/crm_ticket.c rc = modify_ticket_state(options.ticket_id, cib_conn, data_set); options 945 tools/crm_ticket.c } else if (options.ticket_cmd == 'S') { options 950 tools/crm_ticket.c if (pcmk__str_empty(options.attr_name)) { options 957 tools/crm_ticket.c if (options.ticket_id == NULL) { options 964 tools/crm_ticket.c if (pcmk__str_empty(options.attr_value)) { options 967 tools/crm_ticket.c "Must supply value with -v for -S %s", options.attr_name); options 974 tools/crm_ticket.c "Unknown command: %c", options.ticket_cmd); options 995 tools/crm_ticket.c g_free(options.attr_default); options 996 tools/crm_ticket.c g_free(options.attr_id); options 997 tools/crm_ticket.c free(options.attr_name); options 998 tools/crm_ticket.c free(options.attr_value); options 999 tools/crm_ticket.c free(options.get_attr_name); options 1000 tools/crm_ticket.c g_free(options.set_name); options 1001 tools/crm_ticket.c g_free(options.ticket_id); options 1002 tools/crm_ticket.c g_free(options.xml_file); options 46 tools/crm_verify.c } options; options 50 tools/crm_verify.c &options.use_live_cib, "Check the configuration used by the running cluster", options 53 tools/crm_verify.c &options.xml_file, "Check the configuration in the named file", options 56 tools/crm_verify.c &options.xml_stdin, "Check the configuration piped in via stdin", options 59 tools/crm_verify.c &options.xml_string, "Check the configuration in the supplied string", options 67 tools/crm_verify.c &options.cib_save, "Save verified XML to named file (most useful with -L)", options 148 tools/crm_verify.c if (options.use_live_cib) { options 157 tools/crm_verify.c } else if (options.xml_file != NULL) { options 158 tools/crm_verify.c cib_object = filename2xml(options.xml_file); options 161 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, "Couldn't parse input file: %s", options.xml_file); options 165 tools/crm_verify.c } else if (options.xml_string != NULL) { options 166 tools/crm_verify.c cib_object = string2xml(options.xml_string); options 169 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, "Couldn't parse input string: %s", options.xml_string); options 172 tools/crm_verify.c } else if (options.xml_stdin) { options 195 tools/crm_verify.c if (options.cib_save != NULL) { options 196 tools/crm_verify.c write_xml_file(cib_object, options.cib_save, FALSE); options 234 tools/crm_verify.c if ((status == NULL) && !options.use_live_cib) { options 268 tools/crm_verify.c free(options.cib_save); options 269 tools/crm_verify.c free(options.xml_file); options 270 tools/crm_verify.c free(options.xml_string); options 40 tools/crmadmin.c } options = { options 73 tools/crmadmin.c { "health", 'H', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.health, options 87 tools/crmadmin.c { "bash-export", 'B', 0, G_OPTION_ARG_NONE, &options.bash_export, options 91 tools/crmadmin.c { "ipc-name", 'i', 0, G_OPTION_ARG_STRING, &options.ipc_name, options 120 tools/crmadmin.c options.timeout = crm_parse_interval_spec(optarg); options 127 tools/crmadmin.c pcmk__str_update(&options.optarg, optarg); options 217 tools/crmadmin.c if (options.health) { options 238 tools/crmadmin.c rc = pcmk__controller_status(out, options.optarg, options 239 tools/crmadmin.c (unsigned int) options.timeout); options 242 tools/crmadmin.c rc = pcmk__pacemakerd_status(out, options.ipc_name, options 243 tools/crmadmin.c (unsigned int) options.timeout, true, options 247 tools/crmadmin.c rc = pcmk__list_nodes(out, options.optarg, options.bash_export); options 251 tools/crmadmin.c (unsigned int) options.timeout); options 25 tools/iso8601.c } options; options 32 tools/iso8601.c pcmk__str_update(&options.date_time_s, "now"); options 34 tools/iso8601.c pcmk__str_update(&options.date_time_s, optarg); options 43 tools/iso8601.c options.print_options |= crm_time_seconds; options 45 tools/iso8601.c options.print_options |= crm_time_epoch; options 47 tools/iso8601.c options.print_options |= crm_time_log_with_timezone; options 49 tools/iso8601.c options.print_options |= crm_time_ordinal; options 51 tools/iso8601.c options.print_options |= crm_time_weeks; options 67 tools/iso8601.c { "period", 'p', 0, G_OPTION_ARG_STRING, &options.period_s, options 72 tools/iso8601.c { "duration", 'D', 0, G_OPTION_ARG_STRING, &options.duration_s, options 76 tools/iso8601.c { "expected", 'E', 0, G_OPTION_ARG_STRING, &options.expected_s, options 165 tools/iso8601.c if (pcmk__str_eq("now", options.date_time_s, pcmk__str_casei)) { options 178 tools/iso8601.c options.print_options | crm_time_log_date | crm_time_log_timeofday); options 180 tools/iso8601.c } else if (options.date_time_s) { options 181 tools/iso8601.c date_time = crm_time_new(options.date_time_s); options 186 tools/iso8601.c "Invalid date/time specified: %s", options.date_time_s); options 193 tools/iso8601.c options.print_options | crm_time_log_date | crm_time_log_timeofday); options 196 tools/iso8601.c if (options.duration_s) { options 197 tools/iso8601.c duration = crm_time_parse_duration(options.duration_s); options 202 tools/iso8601.c "Invalid duration specified: %s", options.duration_s); options 208 tools/iso8601.c options.print_options | crm_time_log_duration); options 211 tools/iso8601.c if (options.period_s) { options 212 tools/iso8601.c crm_time_period_t *period = crm_time_parse_period(options.period_s); options 217 tools/iso8601.c "Invalid interval specified: %s", options.period_s); options 222 tools/iso8601.c options.print_options | crm_time_log_date | crm_time_log_timeofday); options 224 tools/iso8601.c options.print_options | crm_time_log_date | crm_time_log_timeofday); options 235 tools/iso8601.c options.date_time_s, options.duration_s); options 242 tools/iso8601.c options.print_options | crm_time_log_date | crm_time_log_timeofday | options 245 tools/iso8601.c if (options.expected_s) { options 247 tools/iso8601.c options.print_options | crm_time_log_date | options 249 tools/iso8601.c if (!pcmk__str_eq(options.expected_s, dt_s, pcmk__str_casei)) { options 257 tools/iso8601.c } else if (date_time && options.expected_s) { options 259 tools/iso8601.c options.print_options | crm_time_log_date | crm_time_log_timeofday); options 261 tools/iso8601.c if (!pcmk__str_eq(options.expected_s, dt_s, pcmk__str_casei)) { options 275 tools/iso8601.c free(options.date_time_s); options 276 tools/iso8601.c g_free(options.duration_s); options 277 tools/iso8601.c g_free(options.expected_s); options 278 tools/iso8601.c g_free(options.period_s); options 72 tools/stonith_admin.c } options = { options 87 tools/stonith_admin.c { "register", 'R', 0, G_OPTION_ARG_STRING, &options.register_dev, options 91 tools/stonith_admin.c { "deregister", 'D', 0, G_OPTION_ARG_STRING, &options.unregister_dev, options 94 tools/stonith_admin.c { "register-level", 'r', 0, G_OPTION_ARG_STRING, &options.register_level, options 99 tools/stonith_admin.c { "deregister-level", 'd', 0, G_OPTION_ARG_STRING, &options.unregister_level, options 108 tools/stonith_admin.c { "list", 'l', 0, G_OPTION_ARG_STRING, &options.terminate, options 112 tools/stonith_admin.c { "list-registered", 'L', 0, G_OPTION_ARG_NONE, &options.registered, options 115 tools/stonith_admin.c { "list-installed", 'I', 0, G_OPTION_ARG_NONE, &options.installed, options 118 tools/stonith_admin.c { "list-targets", 's', 0, G_OPTION_ARG_STRING, &options.targets, options 122 tools/stonith_admin.c { "metadata", 'M', 0, G_OPTION_ARG_NONE, &options.metadata, options 126 tools/stonith_admin.c { "query", 'Q', 0, G_OPTION_ARG_STRING, &options.query, options 129 tools/stonith_admin.c { "history", 'H', 0, G_OPTION_ARG_STRING, &options.history, options 136 tools/stonith_admin.c { "last", 'h', 0, G_OPTION_ARG_STRING, &options.last_fenced, options 140 tools/stonith_admin.c { "validate", 'K', 0, G_OPTION_ARG_NONE, &options.validate_cfg, options 150 tools/stonith_admin.c { "fence", 'F', 0, G_OPTION_ARG_STRING, &options.fence_host, options 153 tools/stonith_admin.c { "unfence", 'U', 0, G_OPTION_ARG_STRING, &options.unfence_host, options 156 tools/stonith_admin.c { "reboot", 'B', 0, G_OPTION_ARG_STRING, &options.reboot_host, options 159 tools/stonith_admin.c { "confirm", 'C', 0, G_OPTION_ARG_STRING, &options.confirm_host, options 167 tools/stonith_admin.c { "cleanup", 'c', 0, G_OPTION_ARG_NONE, &options.cleanup, options 170 tools/stonith_admin.c { "broadcast", 'b', 0, G_OPTION_ARG_NONE, &options.broadcast, options 173 tools/stonith_admin.c { "agent", 'a', 0, G_OPTION_ARG_STRING, &options.agent, options 202 tools/stonith_admin.c { "index", 'i', 0, G_OPTION_ARG_INT, &options.fence_level, options 206 tools/stonith_admin.c { "timeout", 't', 0, G_OPTION_ARG_INT, &options.timeout, options 210 tools/stonith_admin.c { "delay", 'y', 0, G_OPTION_ARG_INT, &options.delay, options 216 tools/stonith_admin.c { "as-node-id", 'n', 0, G_OPTION_ARG_NONE, &options.as_nodeid, options 253 tools/stonith_admin.c options.params = stonith_key_value_add(options.params, optarg, env); options 262 tools/stonith_admin.c options.devices = stonith_key_value_add(options.devices, NULL, optarg); options 268 tools/stonith_admin.c options.tolerance = crm_get_msec(optarg) / 1000; options 289 tools/stonith_admin.c options.params = stonith_key_value_add(options.params, name, value); options 341 tools/stonith_admin.c options.timeout * 1000, options 342 tools/stonith_admin.c options.tolerance * 1000, options 343 tools/stonith_admin.c options.delay, &reason); options 414 tools/stonith_admin.c if (options.validate_cfg) { options 420 tools/stonith_admin.c if (options.installed) { options 425 tools/stonith_admin.c if (options.registered) { options 429 tools/stonith_admin.c if (options.register_dev != NULL) { options 432 tools/stonith_admin.c device = options.register_dev; options 435 tools/stonith_admin.c if (options.query != NULL) { options 437 tools/stonith_admin.c device = options.query; options 440 tools/stonith_admin.c if (options.unregister_dev != NULL) { options 442 tools/stonith_admin.c device = options.unregister_dev; options 445 tools/stonith_admin.c if (options.targets != NULL) { options 447 tools/stonith_admin.c device = options.targets; options 450 tools/stonith_admin.c if (options.terminate != NULL) { options 452 tools/stonith_admin.c target = options.terminate; options 455 tools/stonith_admin.c if (options.metadata) { options 461 tools/stonith_admin.c if (options.reboot_host != NULL) { options 464 tools/stonith_admin.c target = options.reboot_host; options 468 tools/stonith_admin.c if (options.fence_host != NULL) { options 471 tools/stonith_admin.c target = options.fence_host; options 475 tools/stonith_admin.c if (options.unfence_host != NULL) { options 478 tools/stonith_admin.c target = options.unfence_host; options 482 tools/stonith_admin.c if (options.confirm_host != NULL) { options 484 tools/stonith_admin.c target = options.confirm_host; options 488 tools/stonith_admin.c if (options.last_fenced != NULL) { options 490 tools/stonith_admin.c target = options.last_fenced; options 493 tools/stonith_admin.c if (options.history != NULL) { options 495 tools/stonith_admin.c target = options.history; options 498 tools/stonith_admin.c if (options.register_level != NULL) { options 500 tools/stonith_admin.c target = options.register_level; options 503 tools/stonith_admin.c if (options.unregister_level != NULL) { options 505 tools/stonith_admin.c target = options.unregister_level; options 517 tools/stonith_admin.c if (required_agent && options.agent == NULL) { options 543 tools/stonith_admin.c rc = pcmk__fence_installed(out, st, options.timeout*1000); options 551 tools/stonith_admin.c rc = pcmk__fence_registered(out, st, target, options.timeout*1000); options 559 tools/stonith_admin.c rc = st->cmds->monitor(st, st_opts, device, options.timeout); options 561 tools/stonith_admin.c rc = st->cmds->list(st, st_opts, device, NULL, options.timeout); options 567 tools/stonith_admin.c rc = pcmk__fence_list_targets(out, st, device, options.timeout*1000); options 575 tools/stonith_admin.c rc = st->cmds->register_device(st, st_opts, device, NULL, options.agent, options 576 tools/stonith_admin.c options.params); options 580 tools/stonith_admin.c device, options.agent, pcmk_rc_str(rc)); options 594 tools/stonith_admin.c rc = pcmk__fence_unregister_level(st, target, options.fence_level); options 597 tools/stonith_admin.c options.fence_level, target, pcmk_rc_str(rc)); options 602 tools/stonith_admin.c rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices); options 605 tools/stonith_admin.c options.fence_level, target, pcmk_rc_str(rc)); options 610 tools/stonith_admin.c rc = pcmk__fence_metadata(out, st, options.agent, options.timeout*1000); options 636 tools/stonith_admin.c rc = pcmk__fence_last(out, target, options.as_nodeid); options 640 tools/stonith_admin.c rc = pcmk__fence_history(out, st, target, options.timeout*1000, args->verbosity, options 641 tools/stonith_admin.c options.broadcast, options.cleanup); options 645 tools/stonith_admin.c device = options.devices ? options.devices->key : NULL; options 646 tools/stonith_admin.c rc = pcmk__fence_validate(out, st, options.agent, device, options.params, options 647 tools/stonith_admin.c options.timeout*1000); options 666 tools/stonith_admin.c stonith_key_value_freeall(options.params, 1, 1);