options 647 daemons/attrd/attrd_cib.c attrd_write_attributes(uint32_t options) options 653 daemons/attrd/attrd_cib.c pcmk_is_set(options, attrd_write_all)? "all" : "changed"); options 656 daemons/attrd/attrd_cib.c if (!pcmk_is_set(options, attrd_write_all) && a->unknown_peer_uuids) { options 664 daemons/attrd/attrd_cib.c if (pcmk_is_set(options, attrd_write_all) || a->changed) { options 665 daemons/attrd/attrd_cib.c bool ignore_delay = pcmk_is_set(options, attrd_write_no_delay); options 186 daemons/attrd/pacemaker-attrd.h void attrd_write_attributes(uint32_t options); options 44 daemons/based/based_messages.c cib_process_shutdown_req(const char *op, int options, const char *section, xmlNode * req, options 69 daemons/based/based_messages.c cib_process_noop(const char *op, int options, const char *section, xmlNode *req, options 79 daemons/based/based_messages.c cib_process_readwrite(const char *op, int options, const char *section, xmlNode * req, options 135 daemons/based/based_messages.c cib_process_ping(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 177 daemons/based/based_messages.c cib_process_sync(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 184 daemons/based/based_messages.c cib_process_upgrade_server(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 198 daemons/based/based_messages.c op, options, section, req, input, existing_cib, result_cib, answer); options 232 daemons/based/based_messages.c op, options, section, up, input, existing_cib, result_cib, answer); options 276 daemons/based/based_messages.c cib_process_sync_one(const char *op, int options, const char *section, xmlNode * req, options 284 daemons/based/based_messages.c cib_server_process_diff(const char *op, int options, const char *section, xmlNode * req, options 318 daemons/based/based_messages.c rc = cib_process_diff(op, options, section, req, input, existing_cib, result_cib, answer); options 329 daemons/based/based_messages.c if (options & cib_force_diff) { options 347 daemons/based/based_messages.c cib_process_replace_svr(const char *op, int options, const char *section, xmlNode * req, options 352 daemons/based/based_messages.c cib_process_replace(op, options, section, req, input, existing_cib, result_cib, answer); options 362 daemons/based/based_messages.c cib_process_delete_absolute(const char *op, int options, const char *section, xmlNode * req, options 456 daemons/based/based_messages.c cib_process_commit_transaction(const char *op, int options, const char *section, options 88 daemons/based/pacemaker-based.h int cib_process_shutdown_req(const char *op, int options, const char *section, options 92 daemons/based/pacemaker-based.h int cib_process_noop(const char *op, int options, const char *section, options 95 daemons/based/pacemaker-based.h int cib_process_ping(const char *op, int options, const char *section, options 98 daemons/based/pacemaker-based.h int cib_process_readwrite(const char *op, int options, const char *section, options 101 daemons/based/pacemaker-based.h int cib_process_replace_svr(const char *op, int options, const char *section, options 104 daemons/based/pacemaker-based.h int cib_server_process_diff(const char *op, int options, const char *section, options 107 daemons/based/pacemaker-based.h int cib_process_sync(const char *op, int options, const char *section, options 110 daemons/based/pacemaker-based.h int cib_process_sync_one(const char *op, int options, const char *section, options 113 daemons/based/pacemaker-based.h int cib_process_delete_absolute(const char *op, int options, options 117 daemons/based/pacemaker-based.h int cib_process_upgrade_server(const char *op, int options, const char *section, options 121 daemons/based/pacemaker-based.h int cib_process_commit_transaction(const char *op, int options, options 371 daemons/controld/controld_cib.c int options) options 382 daemons/controld/controld_cib.c cib__set_call_options(options, "node state deletion", options 384 daemons/controld/controld_cib.c cib_rc = cib->cmds->remove(cib, xpath, NULL, options); options 825 daemons/controld/controld_cib.c controld_update_cib(const char *section, xmlNode *data, int options, options 834 daemons/controld/controld_cib.c cib_rc = cib->cmds->modify(cib, section, data, options); options 46 daemons/controld/controld_cib.h int controld_update_cib(const char *section, xmlNode *data, int options, options 64 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 631 daemons/controld/controld_execd_state.c const char *agent, char **output, enum lrmd_call_options options) options 657 daemons/controld/controld_execd_state.c class, provider, agent, output, options, params); options 678 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 692 daemons/controld/controld_execd_state.c rsc = ((lrmd_t *) lrm_state->conn)->cmds->get_rsc_info(lrm_state->conn, rsc_id, options); options 773 daemons/controld/controld_execd_state.c const char *provider, const char *agent, enum lrmd_call_options options) options 789 daemons/controld/controld_execd_state.c agent, options); options 794 daemons/controld/controld_execd_state.c const char *rsc_id, enum lrmd_call_options options) options 812 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 930 daemons/controld/controld_fencing.c uint32_t options = st_opt_none; // Group of enum stonith_call_options options 935 daemons/controld/controld_fencing.c stonith__set_call_options(options, target, st_opt_allow_suicide); options 937 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 139 daemons/controld/controld_lrm.h const char *agent, char **output, enum lrmd_call_options options); options 148 daemons/controld/controld_lrm.h const char *rsc_id, enum lrmd_call_options options); options 152 daemons/controld/controld_lrm.h const char *provider, const char *agent, enum lrmd_call_options options); options 154 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 482 daemons/execd/cts-exec-helper.c rsc = pe_find_resource_with_flags(scheduler->resources, options.rsc_id, options 497 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, key, value); options 509 daemons/execd/cts-exec-helper.c options.params = lrmd_key_value_add(options.params, crm_name, value); options 563 daemons/execd/cts-exec-helper.c if (!options.listen && pcmk__strcase_any_of(options.api_call, "metadata", "list_agents", options 565 daemons/execd/cts-exec-helper.c options.no_connect = TRUE; options 568 daemons/execd/cts-exec-helper.c if (options.is_running) { options 571 daemons/execd/cts-exec-helper.c if (options.rsc_id == NULL) { options 578 daemons/execd/cts-exec-helper.c options.interval_ms = 0; options 579 daemons/execd/cts-exec-helper.c if (options.timeout == 0) { options 580 daemons/execd/cts-exec-helper.c options.timeout = 30000; options 591 daemons/execd/cts-exec-helper.c options.api_call = "exec"; options 592 daemons/execd/cts-exec-helper.c options.action = PCMK_ACTION_MONITOR; options 593 daemons/execd/cts-exec-helper.c options.exec_call_opts = lrmd_opt_notify_orig_only; options 596 daemons/execd/cts-exec-helper.c if (!options.api_call && !options.listen) { options 604 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 516 daemons/execd/pacemaker-execd.c if (options.port != NULL) { options 517 daemons/execd/pacemaker-execd.c pcmk__set_env_option(PCMK__ENV_REMOTE_PORT, options.port, false); options 568 daemons/execd/pacemaker-execd.c g_strfreev(options.log_files); options 570 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 669 daemons/fenced/cts-fence-helper.c switch (options.mode) { options 84 daemons/fenced/fenced_commands.c int options; options 366 daemons/fenced/fenced_commands.c crm_element_value_int(msg, F_STONITH_CALLOPTS, &(cmd->options)); options 2651 daemons/fenced/fenced_commands.c stonith_send_reply(reply, cmd->options, cmd->origin, client); options 2916 daemons/fenced/fenced_commands.c if (pcmk_is_set(cmd->options, st_opt_cs_nodeid)) { options 3023 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 66 daemons/fenced/pacemaker-fenced.c } options; options 486 daemons/fenced/pacemaker-fenced.c options.no_cib_connect = true; options 740 daemons/fenced/pacemaker-fenced.c &options.log_files, N_("Send logs to the additional named logfile"), NULL }, options 799 daemons/fenced/pacemaker-fenced.c pcmk__add_logfiles(options.log_files, out); options 859 daemons/fenced/pacemaker-fenced.c if (!options.no_cib_connect) { options 883 daemons/fenced/pacemaker-fenced.c g_strfreev(options.log_files); options 274 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 318 daemons/pacemakerd/pacemakerd.c if (options.shutdown) { options 341 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 118 include/crm/cib/internal.h gboolean cib_read_config(GHashTable * options, xmlNode * current_cib); options 225 include/crm/cib/internal.h int cib_process_query(const char *op, int options, const char *section, xmlNode * req, options 229 include/crm/cib/internal.h int cib_process_erase(const char *op, int options, const char *section, xmlNode * req, options 233 include/crm/cib/internal.h int cib_process_bump(const char *op, int options, const char *section, xmlNode * req, options 237 include/crm/cib/internal.h int cib_process_replace(const char *op, int options, const char *section, xmlNode * req, options 241 include/crm/cib/internal.h int cib_process_create(const char *op, int options, const char *section, xmlNode * req, options 245 include/crm/cib/internal.h int cib_process_modify(const char *op, int options, const char *section, xmlNode * req, options 249 include/crm/cib/internal.h int cib_process_delete(const char *op, int options, const char *section, xmlNode * req, options 253 include/crm/cib/internal.h int cib_process_diff(const char *op, int options, const char *section, xmlNode * req, options 257 include/crm/cib/internal.h int cib_process_upgrade(const char *op, int options, const char *section, xmlNode * req, options 283 include/crm/cib/internal.h int cib_process_xpath(const char *op, int options, const char *section, options 339 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 306 include/crm/common/resources.h void (*print)(pcmk_resource_t *rsc, const char *pre_text, long options, options 165 include/crm/common/xml_internal.h int depth, uint32_t options); options 311 include/crm/lrmd.h enum lrmd_call_options options); options 323 include/crm/lrmd.h enum lrmd_call_options options); options 337 include/crm/lrmd.h enum lrmd_call_options options, GList **output); options 354 include/crm/lrmd.h enum lrmd_call_options options); options 391 include/crm/lrmd.h int start_delay, enum lrmd_call_options options, options 438 include/crm/lrmd.h char **output, enum lrmd_call_options options); options 525 include/crm/lrmd.h char **output, enum lrmd_call_options options, options 31 include/crm/pengine/common.h const char *pe_pref(GHashTable * options, const char *name); options 212 include/crm/pengine/internal.h void verify_pe_options(GHashTable * options); options 231 include/crm/pengine/internal.h void native_print(pcmk_resource_t *rsc, const char *pre_text, long options, options 235 include/crm/pengine/internal.h void group_print(pcmk_resource_t *rsc, const char *pre_text, long options, options 239 include/crm/pengine/internal.h void clone_print(pcmk_resource_t *rsc, const char *pre_text, long options, options 243 include/crm/pengine/internal.h void pe__print_bundle(pcmk_resource_t *rsc, const char *pre_text, long options, options 499 include/crm/pengine/internal.h void print_rscs_brief(GList *rsc_list, const char * pre_text, long options, options 501 include/crm/pengine/internal.h int pe__rscs_brief_output(pcmk__output_t *out, GList *rsc_list, unsigned int options); options 510 include/crm/pengine/internal.h const pcmk_node_t *node, long options, void *print_data); options 513 include/crm/pengine/internal.h unsigned int options); options 516 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 369 lib/cib/cib_attrs.c cib__delete_node_attr(pcmk__output_t *out, cib_t *cib, int options, const char *section, options 399 lib/cib/cib_attrs.c NULL, options, user_name); options 503 lib/cib/cib_attrs.c delete_attr_delegate(cib_t *cib, int options, const char *section, const char *node_uuid, options 516 lib/cib/cib_attrs.c rc = cib__delete_node_attr(out, cib, options, section, node_uuid, set_type, options 55 lib/cib/cib_file.c static int cib_file_process_commit_transaction(const char *op, int options, options 1155 lib/cib/cib_file.c cib_file_process_commit_transaction(const char *op, int options, options 166 lib/cib/cib_ops.c cib_process_query(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 175 lib/cib/cib_ops.c if (options & cib_xpath) { options 176 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, options 192 lib/cib/cib_ops.c } else if (options & cib_no_children) { options 240 lib/cib/cib_ops.c cib_process_erase(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 259 lib/cib/cib_ops.c cib_process_upgrade(const char *op, int options, const char *section, xmlNode * req, options 282 lib/cib/cib_ops.c !(options & cib_verbose)); options 294 lib/cib/cib_ops.c cib_process_bump(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 309 lib/cib/cib_ops.c cib_process_replace(const char *op, int options, const char *section, xmlNode * req, options 318 lib/cib/cib_ops.c if (options & cib_xpath) { options 319 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, options 421 lib/cib/cib_ops.c cib_process_delete(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 428 lib/cib/cib_ops.c if (options & cib_xpath) { options 429 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, options 456 lib/cib/cib_ops.c cib_process_modify(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 463 lib/cib/cib_ops.c if (options & cib_xpath) { options 464 lib/cib/cib_ops.c return cib_process_xpath(op, options, section, req, input, options 493 lib/cib/cib_ops.c if (options & cib_can_create) { options 501 lib/cib/cib_ops.c if (pcmk_is_set(options, cib_mixed_update)) { options 701 lib/cib/cib_ops.c cib_process_create(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 728 lib/cib/cib_ops.c return cib_process_modify(op, options, section, req, input, existing_cib, result_cib, options 767 lib/cib/cib_ops.c cib_process_diff(const char *op, int options, const char *section, xmlNode * req, xmlNode * input, options 778 lib/cib/cib_ops.c (pcmk_is_set(options, cib_force_diff)? " (global update)" : "")); options 861 lib/cib/cib_ops.c cib_process_xpath(const char *op, int options, const char *section, options 896 lib/cib/cib_ops.c if (pcmk_is_set(options, cib_multiple) options 922 lib/cib/cib_ops.c if ((options & cib_multiple) == 0) { options 929 lib/cib/cib_ops.c } else if ((options & cib_multiple) == 0) { options 939 lib/cib/cib_ops.c if (options & cib_no_children) { options 949 lib/cib/cib_ops.c } else if (options & cib_xpath_address) { options 995 lib/cib/cib_ops.c if ((options & cib_multiple) == 0) { options 281 lib/cib/cib_utils.c GHashTable *options = pcmk__strkey_table(free, free); options 283 lib/cib/cib_utils.c cib_read_config(options, xml); options 284 lib/cib/cib_utils.c value = cib_pref(options, "enable-acl"); options 286 lib/cib/cib_utils.c g_hash_table_destroy(options); options 903 lib/cib/cib_utils.c verify_cib_options(GHashTable *options) options 905 lib/cib/cib_utils.c pcmk__validate_cluster_options(options, cib_opts, PCMK__NELEM(cib_opts)); options 909 lib/cib/cib_utils.c cib_pref(GHashTable * options, const char *name) options 911 lib/cib/cib_utils.c return pcmk__cluster_option(options, cib_opts, PCMK__NELEM(cib_opts), options 916 lib/cib/cib_utils.c cib_read_config(GHashTable * options, xmlNode * current_cib) options 921 lib/cib/cib_utils.c if (options == NULL || current_cib == NULL) { options 927 lib/cib/cib_utils.c g_hash_table_remove_all(options); options 932 lib/cib/cib_utils.c options, CIB_OPTIONS_FIRST, TRUE, now, NULL); options 935 lib/cib/cib_utils.c verify_cib_options(options); options 66 lib/common/crmcommon_private.h void pcmk__xml2text(const xmlNode *data, uint32_t options, GString *buffer, options 203 lib/common/ipc_attrd.c uint32_t options) options 221 lib/common/ipc_attrd.c pcmk_is_set(options, pcmk__node_attr_remote)); options 258 lib/common/ipc_attrd.c uint32_t options) options 273 lib/common/ipc_attrd.c options &= ~pcmk__node_attr_delay; options 274 lib/common/ipc_attrd.c options |= pcmk__node_attr_value; options 276 lib/common/ipc_attrd.c return pcmk__attrd_api_update(api, node, name, NULL, NULL, NULL, NULL, options); options 322 lib/common/ipc_attrd.c uint32_t options) options 332 lib/common/ipc_attrd.c if (pcmk_is_set(options, pcmk__node_attr_query_all)) { options 404 lib/common/ipc_attrd.c add_op_attr(xmlNode *op, uint32_t options) options 406 lib/common/ipc_attrd.c if (pcmk_all_flags_set(options, pcmk__node_attr_value | pcmk__node_attr_delay)) { options 408 lib/common/ipc_attrd.c } else if (pcmk_is_set(options, pcmk__node_attr_value)) { options 410 lib/common/ipc_attrd.c } else if (pcmk_is_set(options, pcmk__node_attr_delay)) { options 417 lib/common/ipc_attrd.c const char *dampen, const char *set, uint32_t options) options 419 lib/common/ipc_attrd.c if (pcmk_is_set(options, pcmk__node_attr_pattern)) { options 425 lib/common/ipc_attrd.c if (pcmk_is_set(options, pcmk__node_attr_utilization)) { options 431 lib/common/ipc_attrd.c add_op_attr(op, options); options 438 lib/common/ipc_attrd.c pcmk_is_set(options, pcmk__node_attr_remote)); options 440 lib/common/ipc_attrd.c pcmk_is_set(options, pcmk__node_attr_private)); options 442 lib/common/ipc_attrd.c if (pcmk_is_set(options, pcmk__node_attr_sync_local)) { options 444 lib/common/ipc_attrd.c } else if (pcmk_is_set(options, pcmk__node_attr_sync_cluster)) { options 452 lib/common/ipc_attrd.c const char *user_name, uint32_t options) options 470 lib/common/ipc_attrd.c populate_update_op(request, node, name, value, dampen, set, options); options 499 lib/common/ipc_attrd.c uint32_t options) options 540 lib/common/ipc_attrd.c add_op_attr(request, options); options 556 lib/common/ipc_attrd.c set, options); options 559 lib/common/ipc_attrd.c dampen, set, user_name, options); options 275 lib/common/options.c cluster_option_value(GHashTable *options, bool (*validate)(const char *), options 284 lib/common/options.c if (options) { options 285 lib/common/options.c value = g_hash_table_lookup(options, name); options 288 lib/common/options.c value = g_hash_table_lookup(options, old_name); options 297 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); options 330 lib/common/options.c if (options) { options 332 lib/common/options.c g_hash_table_insert(options, strdup(name), new_value); options 350 lib/common/options.c pcmk__cluster_option(GHashTable *options, options 358 lib/common/options.c value = cluster_option_value(options, option_list[lpc].is_valid, options 501 lib/common/options.c pcmk__validate_cluster_options(GHashTable *options, options 505 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 1412 lib/common/xml.c dump_xml_element(const xmlNode *data, uint32_t options, GString *buffer, options 1415 lib/common/xml.c bool pretty = pcmk_is_set(options, pcmk__xml_fmt_pretty); options 1416 lib/common/xml.c bool filtered = pcmk_is_set(options, pcmk__xml_fmt_filtered); options 1447 lib/common/xml.c pcmk__xml2text(child, options, buffer, depth + 1); options 1472 lib/common/xml.c dump_xml_text(const xmlNode *data, uint32_t options, GString *buffer, options 1478 lib/common/xml.c bool pretty = pcmk_is_set(options, pcmk__xml_fmt_pretty); options 1502 lib/common/xml.c dump_xml_cdata(const xmlNode *data, uint32_t options, GString *buffer, options 1505 lib/common/xml.c bool pretty = pcmk_is_set(options, pcmk__xml_fmt_pretty); options 1530 lib/common/xml.c dump_xml_comment(const xmlNode *data, uint32_t options, GString *buffer, options 1533 lib/common/xml.c bool pretty = pcmk_is_set(options, pcmk__xml_fmt_pretty); options 1597 lib/common/xml.c pcmk__xml2text(const xmlNode *data, uint32_t options, GString *buffer, options 1611 lib/common/xml.c dump_xml_element(data, options, buffer, depth); options 1614 lib/common/xml.c if (pcmk_is_set(options, pcmk__xml_fmt_text)) { options 1615 lib/common/xml.c dump_xml_text(data, options, buffer, depth); options 1619 lib/common/xml.c dump_xml_comment(data, options, buffer, depth); options 1622 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 95 lib/common/xml_display.c int spaces = pcmk_is_set(options, pcmk__xml_fmt_pretty)? (2 * depth) : 0; options 98 lib/common/xml_display.c if (pcmk_is_set(options, pcmk__xml_fmt_open)) { options 120 lib/common/xml_display.c if (pcmk_any_flags_set(options, options 141 lib/common/xml_display.c && pcmk_is_set(options, pcmk__xml_fmt_children)) { options 157 lib/common/xml_display.c if (pcmk_is_set(options, pcmk__xml_fmt_children)) { options 162 lib/common/xml_display.c options options 169 lib/common/xml_display.c if (pcmk_is_set(options, pcmk__xml_fmt_close)) { options 201 lib/common/xml_display.c const xmlNode *data, int depth, uint32_t options) options 205 lib/common/xml_display.c return show_xml_comment(out, data, depth, options); options 207 lib/common/xml_display.c return show_xml_element(out, buffer, prefix, data, depth, options); options 229 lib/common/xml_display.c int depth, uint32_t options) options 245 lib/common/xml_display.c rc = show_xml_node(out, buffer, prefix, data, depth, options); options 266 lib/common/xml_display.c uint32_t options) options 278 lib/common/xml_display.c options options 286 lib/common/xml_display.c bool pretty = pcmk_is_set(options, pcmk__xml_fmt_pretty); options 296 lib/common/xml_display.c options|pcmk__xml_fmt_open); options 338 lib/common/xml_display.c options); options 344 lib/common/xml_display.c options|pcmk__xml_fmt_close); options 351 lib/common/xml_display.c temp_rc = show_xml_changes_recursive(out, child, depth + 1, options); options 413 lib/common/xml_display.c uint32_t options = 0; options 444 lib/common/xml_display.c options |= pcmk__xml_fmt_filtered; options 447 lib/common/xml_display.c options |= pcmk__xml_fmt_pretty; options 450 lib/common/xml_display.c options |= pcmk__xml_fmt_open; options 453 lib/common/xml_display.c options |= pcmk__xml_fmt_children; options 456 lib/common/xml_display.c options |= pcmk__xml_fmt_close; options 459 lib/common/xml_display.c options |= pcmk__xml_fmt_text; options 462 lib/common/xml_display.c options |= pcmk__xml_fmt_diff_plus; options 465 lib/common/xml_display.c options |= pcmk__xml_fmt_diff_minus; options 468 lib/common/xml_display.c options |= pcmk__xml_fmt_diff_short; options 474 lib/common/xml_display.c show_xml_changes_recursive(out, data, depth, options); options 478 lib/common/xml_display.c if (pcmk_is_set(options, pcmk__xml_fmt_pretty) options 482 lib/common/xml_display.c if (pcmk_is_set(options, pcmk__xml_fmt_diff_plus)) { options 486 lib/common/xml_display.c } else if (pcmk_is_set(options, pcmk__xml_fmt_diff_minus)) { options 492 lib/common/xml_display.c if (pcmk_is_set(options, pcmk__xml_fmt_diff_short) options 495 lib/common/xml_display.c if (!pcmk_any_flags_set(options, options 506 lib/common/xml_display.c depth + 1, options); options 511 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 1307 lib/fencing/st_client.c stonith_api_add_callback(stonith_t * stonith, int call_id, int timeout, int options, options 1322 lib/fencing/st_client.c if (!(options & st_opt_report_only_success)) { options 1338 lib/fencing/st_client.c blob->only_success = (options & st_opt_report_only_success) ? TRUE : FALSE; options 1341 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 864 lib/lrmd/lrmd_client.c enum lrmd_call_options options, gboolean expect_reply) options 884 lib/lrmd/lrmd_client.c op_msg = lrmd_create_op(native->token, op, data, timeout, options); options 1714 lib/lrmd/lrmd_client.c const char *provider, const char *type, enum lrmd_call_options options) options 1734 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_REG, data, NULL, 0, options, TRUE); options 1741 lib/lrmd/lrmd_client.c lrmd_api_unregister_rsc(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options) options 1748 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_UNREG, data, NULL, 0, options, TRUE); options 1789 lib/lrmd/lrmd_client.c lrmd_api_get_rsc_info(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options) options 1800 lib/lrmd/lrmd_client.c lrmd_send_command(lrmd, LRMD_OP_RSC_INFO, data, &output, 0, options, TRUE); options 1839 lib/lrmd/lrmd_client.c enum lrmd_call_options options, GList **output) options 1857 lib/lrmd/lrmd_client.c timeout_ms, options, TRUE); options 1961 lib/lrmd/lrmd_client.c enum lrmd_call_options options) options 1964 lib/lrmd/lrmd_client.c output, options, NULL); options 1970 lib/lrmd/lrmd_client.c char **output, enum lrmd_call_options options, options 2029 lib/lrmd/lrmd_client.c enum lrmd_call_options options, lrmd_key_value_t * params) options 2048 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_EXEC, data, NULL, timeout, options, TRUE); options 33 lib/pengine/bundle.c char *options; options 515 lib/pengine/bundle.c if (mount->options != NULL) { options 516 lib/pengine/bundle.c pcmk__g_strcat(buffer, ":", mount->options, NULL); options 525 lib/pengine/bundle.c (mount->options != NULL)? "," : "", options 526 lib/pengine/bundle.c pcmk__s(mount->options, ""), options 863 lib/pengine/bundle.c const char *target, const char *options, uint32_t flags) options 870 lib/pengine/bundle.c pcmk__str_update(&mount->options, options); options 880 lib/pengine/bundle.c free(mount->options); options 1091 lib/pengine/bundle.c const char *options = crm_element_value(xml_child, "options"); options 1101 lib/pengine/bundle.c mount_add(bundle_data, source, target, options, flags); options 1390 lib/pengine/bundle.c print_rsc_in_list(pcmk_resource_t *rsc, const char *pre_text, long options, options 1394 lib/pengine/bundle.c if (options & pe_print_html) { options 1397 lib/pengine/bundle.c rsc->fns->print(rsc, pre_text, options, print_data); options 1398 lib/pengine/bundle.c if (options & pe_print_html) { options 1409 lib/pengine/bundle.c bundle_print_xml(pcmk_resource_t *rsc, const char *pre_text, long options, options 1440 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); options 1441 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); options 1442 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); options 1443 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); options 1849 lib/pengine/bundle.c long options, void *print_data) options 1874 lib/pengine/bundle.c common_print(rsc, pre_text, buffer, node, options, print_data); options 1882 lib/pengine/bundle.c pe__print_bundle(pcmk_resource_t *rsc, const char *pre_text, long options, options 1889 lib/pengine/bundle.c if (options & pe_print_xml) { options 1890 lib/pengine/bundle.c bundle_print_xml(rsc, pre_text, options, print_data); options 1905 lib/pengine/bundle.c if (options & pe_print_html) { options 1915 lib/pengine/bundle.c if (options & pe_print_html) { options 1919 lib/pengine/bundle.c if (pcmk_is_set(options, pe_print_implicit)) { options 1924 lib/pengine/bundle.c if (options & pe_print_html) { options 1927 lib/pengine/bundle.c print_rsc_in_list(replica->ip, child_text, options, print_data); options 1928 lib/pengine/bundle.c print_rsc_in_list(replica->container, child_text, options, print_data); options 1929 lib/pengine/bundle.c print_rsc_in_list(replica->remote, child_text, options, print_data); options 1930 lib/pengine/bundle.c print_rsc_in_list(replica->child, child_text, options, print_data); options 1931 lib/pengine/bundle.c if (options & pe_print_html) { options 1936 lib/pengine/bundle.c print_bundle_replica(replica, child_text, options, print_data); options 1940 lib/pengine/bundle.c if (options & pe_print_html) { options 1944 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 525 lib/pengine/clone.c clone_print_xml(pcmk_resource_t *rsc, const char *pre_text, long options, options 550 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 593 lib/pengine/clone.c clone_print(pcmk_resource_t *rsc, const char *pre_text, long options, options 611 lib/pengine/clone.c if (options & pe_print_xml) { options 612 lib/pengine/clone.c clone_print_xml(rsc, pre_text, options, print_data); options 626 lib/pengine/clone.c if (options & pe_print_html) { options 629 lib/pengine/clone.c } else if ((options & pe_print_log) == 0) { options 638 lib/pengine/clone.c if (options & pe_print_clone_details) { options 651 lib/pengine/clone.c } else if (pcmk_is_set(options, pe_print_pending) options 660 lib/pengine/clone.c && !pcmk_is_set(options, pe_print_clone_active)) { options 704 lib/pengine/clone.c if (options & pe_print_html) { options 707 lib/pengine/clone.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 708 lib/pengine/clone.c if (options & pe_print_html) { options 725 lib/pengine/clone.c PROMOTED_INSTANCES, NULL, options, print_data); options 746 lib/pengine/clone.c options, print_data); options 749 lib/pengine/clone.c UNPROMOTED_INSTANCES, NULL, options, print_data); options 754 lib/pengine/clone.c NULL, options, print_data); options 760 lib/pengine/clone.c if (!pcmk_is_set(options, pe_print_clone_active)) { options 799 lib/pengine/clone.c NULL, options, print_data); options 803 lib/pengine/clone.c if (options & pe_print_html) { options 308 lib/pengine/common.c verify_pe_options(GHashTable * options) options 310 lib/pengine/common.c pcmk__validate_cluster_options(options, pe_opts, PCMK__NELEM(pe_opts)); options 314 lib/pengine/common.c pe_pref(GHashTable * options, const char *name) options 316 lib/pengine/common.c return pcmk__cluster_option(options, pe_opts, PCMK__NELEM(pe_opts), name); options 265 lib/pengine/group.c group_print_xml(pcmk_resource_t *rsc, const char *pre_text, long options, options 278 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 290 lib/pengine/group.c group_print(pcmk_resource_t *rsc, const char *pre_text, long options, options 300 lib/pengine/group.c if (options & pe_print_xml) { options 301 lib/pengine/group.c group_print_xml(rsc, pre_text, options, print_data); options 309 lib/pengine/group.c if (options & pe_print_html) { options 312 lib/pengine/group.c } else if ((options & pe_print_log) == 0) { options 316 lib/pengine/group.c if (options & pe_print_brief) { options 317 lib/pengine/group.c print_rscs_brief(rsc->children, child_text, options, print_data, TRUE); options 323 lib/pengine/group.c if (options & pe_print_html) { options 326 lib/pengine/group.c child_rsc->fns->print(child_rsc, child_text, options, print_data); options 327 lib/pengine/group.c if (options & pe_print_html) { options 333 lib/pengine/group.c if (options & pe_print_html) { options 374 lib/pengine/native.c long options; options 466 lib/pengine/native.c native_print_xml(pcmk_resource_t *rsc, const char *pre_text, long options, options 471 lib/pengine/native.c const char *rsc_state = native_displayable_state(rsc, pcmk_is_set(options, pe_print_pending)); options 500 lib/pengine/native.c if (options & pe_print_pending) { options 509 lib/pengine/native.c if (options & pe_print_rsconly) { options 812 lib/pengine/native.c const pcmk_node_t *node, long options, void *print_data) options 823 lib/pengine/native.c && !pcmk_is_set(options, pe_print_implicit)) { options 831 lib/pengine/native.c if (options & pe_print_xml) { options 832 lib/pengine/native.c native_print_xml(rsc, pre_text, options, print_data); options 836 lib/pengine/native.c if ((pre_text == NULL) && (options & pe_print_printf)) { options 840 lib/pengine/native.c if (options & pe_print_html) { options 862 lib/pengine/native.c gchar *resource_s = pcmk__native_output_string(rsc, name, node, options, options 868 lib/pengine/native.c if (pcmk_is_set(options, pe_print_html)) { options 872 lib/pengine/native.c if (!pcmk_is_set(options, pe_print_rsconly) options 878 lib/pengine/native.c if (options & pe_print_html) { options 880 lib/pengine/native.c } else if ((options & pe_print_printf) options 881 lib/pengine/native.c || (options & pe_print_ncurses)) { options 890 lib/pengine/native.c if (options & pe_print_html) { options 893 lib/pengine/native.c } else if ((options & pe_print_printf) options 894 lib/pengine/native.c || (options & pe_print_ncurses)) { options 897 lib/pengine/native.c } else if ((options & pe_print_log)) { options 903 lib/pengine/native.c if (options & pe_print_html) { options 909 lib/pengine/native.c if (options & pe_print_html) { options 911 lib/pengine/native.c } else if ((options & pe_print_printf) options 912 lib/pengine/native.c || (options & pe_print_ncurses)) { options 917 lib/pengine/native.c if (options & pe_print_html) { options 919 lib/pengine/native.c } else if (options & pe_print_suppres_nl) { options 921 lib/pengine/native.c } else if ((options & pe_print_printf) || (options & pe_print_ncurses)) { options 931 lib/pengine/native.c native_print(pcmk_resource_t *rsc, const char *pre_text, long options, options 937 lib/pengine/native.c if (options & pe_print_xml) { options 938 lib/pengine/native.c native_print_xml(rsc, pre_text, options, print_data); options 949 lib/pengine/native.c common_print(rsc, pre_text, rsc_printable_id(rsc), node, options, print_data); options 1253 lib/pengine/native.c print_rscs_brief(GList *rsc_list, const char *pre_text, long options, options 1282 lib/pengine/native.c if (options & pe_print_rsconly) { options 1286 lib/pengine/native.c if (options & pe_print_html) { options 1301 lib/pengine/native.c if (options & pe_print_html) { options 1307 lib/pengine/native.c if (options & pe_print_html) { options 1315 lib/pengine/native.c if (options & pe_print_html) { options 32 lib/pengine/pe_status_private.h if(options & pe_print_html) { \ options 35 lib/pengine/pe_status_private.h } else if(options & pe_print_printf || options & pe_print_ncurses) { \ options 38 lib/pengine/pe_status_private.h } else if(options & pe_print_xml) { \ options 41 lib/pengine/pe_status_private.h } else if(options & pe_print_log) { \ 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 191 tools/attrd_updater.c { "delay", 'd', 0, G_OPTION_ARG_STRING, &options.attr_dampen, options 196 tools/attrd_updater.c { "set", 's', 0, G_OPTION_ARG_STRING, &options.attr_set, options 200 tools/attrd_updater.c { "node", 'N', 0, G_OPTION_ARG_STRING, &options.attr_node, options 204 tools/attrd_updater.c { "all", 'A', 0, G_OPTION_ARG_NONE, &options.query_all, options 238 tools/attrd_updater.c { "quiet", 'q', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.quiet, options 265 tools/attrd_updater.c return options.command == 'B' || options.command == 'D' || options.command == 'U' || options.command == 'Y'; options 320 tools/attrd_updater.c if (options.attr_pattern) { options 321 tools/attrd_updater.c if (options.attr_name) { options 335 tools/attrd_updater.c g_free(options.attr_name); options 336 tools/attrd_updater.c options.attr_name = options.attr_pattern; options 337 tools/attrd_updater.c options.attr_options |= pcmk__node_attr_pattern; options 340 tools/attrd_updater.c if (options.command != 'R' && options.attr_name == NULL) { options 344 tools/attrd_updater.c } else if ((options.command == 'B'|| options.command == 'Y') && options.attr_dampen == NULL) { options 345 tools/attrd_updater.c out->info(out, "Warning: '%c' command given without required --delay", options.command); options 350 tools/attrd_updater.c if (options.command == 'Q') { options 351 tools/attrd_updater.c int rc = send_attrd_query(out, options.attr_name, options.attr_node, options.query_all); options 359 tools/attrd_updater.c int rc = send_attrd_update(options.command, options.attr_node, options 360 tools/attrd_updater.c options.attr_name, options.attr_value, options 361 tools/attrd_updater.c options.attr_set, options.attr_dampen, options 362 tools/attrd_updater.c options.attr_options); options 369 tools/attrd_updater.c g_free(options.attr_dampen); options 370 tools/attrd_updater.c g_free(options.attr_name); options 371 tools/attrd_updater.c g_free(options.attr_node); options 372 tools/attrd_updater.c g_free(options.attr_set); options 373 tools/attrd_updater.c free(options.attr_value); options 437 tools/attrd_updater.c uint32_t options = pcmk__node_attr_none; options 463 tools/attrd_updater.c options |= pcmk__node_attr_query_all; options 466 tools/attrd_updater.c rc = pcmk__attrd_api_query(attrd_api, attr_node, attr_name, options); options 65 tools/cibadmin.c } options; options 81 tools/cibadmin.c if (pcmk_is_set(options.cmd_options, cib_xpath_address)) { options 121 tools/cibadmin.c return options.no_bcast || options.delete_all options 122 tools/cibadmin.c || pcmk__str_any_of(options.cib_action, options 160 tools/cibadmin.c options.delete_all = false; options 163 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_UPGRADE; options 166 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_QUERY; options 169 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_ERASE; options 172 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_BUMP; options 175 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_CREATE; options 178 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_MODIFY; options 181 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_APPLY_PATCH; options 184 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_REPLACE; options 187 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_DELETE; options 190 tools/cibadmin.c options.cib_action = PCMK__CIB_REQUEST_DELETE; options 191 tools/cibadmin.c options.delete_all = true; options 194 tools/cibadmin.c options.cib_action = "empty"; options 195 tools/cibadmin.c pcmk__str_update(&options.validate_with, optarg); options 198 tools/cibadmin.c options.cib_action = "md5-sum"; options 202 tools/cibadmin.c options.cib_action = "md5-sum-versioned"; options 217 tools/cibadmin.c options.acl_render_mode = pcmk__acl_render_default; options 220 tools/cibadmin.c options.acl_render_mode = pcmk__acl_render_namespace; options 223 tools/cibadmin.c options.acl_render_mode = pcmk__acl_render_text; options 226 tools/cibadmin.c options.acl_render_mode = pcmk__acl_render_color; options 242 tools/cibadmin.c options.section_type = cibadmin_section_scope; options 245 tools/cibadmin.c options.section_type = cibadmin_section_xpath; options 252 tools/cibadmin.c pcmk__str_update(&options.cib_section, optarg); options 321 tools/cibadmin.c &options.input_xml, "Retrieve XML from the supplied string", "value" }, options 324 tools/cibadmin.c &options.input_file, "Retrieve XML from the named file", "value" }, options 327 tools/cibadmin.c &options.input_stdin, "Retrieve XML from stdin", NULL }, options 333 tools/cibadmin.c { "force", 'f', G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.force, options 337 tools/cibadmin.c &options.message_timeout_sec, options 341 tools/cibadmin.c { "user", 'U', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.cib_user, options 346 tools/cibadmin.c &options.sync_call, "Wait for call to complete before returning", NULL }, options 348 tools/cibadmin.c { "local", 'l', G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.local, options 370 tools/cibadmin.c &options.get_node_path, options 390 tools/cibadmin.c &options.allow_create, options 396 tools/cibadmin.c &options.no_children, options 401 tools/cibadmin.c { "node", 'N', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.dest_node, options 406 tools/cibadmin.c &options.no_bcast, "deprecated", NULL }, options 410 tools/cibadmin.c &options.dest_node, "deprecated", NULL }, options 424 tools/cibadmin.c &options.extended_version, "deprecated", NULL }, options 525 tools/cibadmin.c if (args->version || options.extended_version) { options 535 tools/cibadmin.c pcmk__cli_help(options.extended_version? '!' : 'v'); options 549 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 557 tools/cibadmin.c if (options.cib_action == NULL) { options 568 tools/cibadmin.c if (strcmp(options.cib_action, "empty") == 0) { options 573 tools/cibadmin.c crm_xml_add(output, XML_ATTR_VALIDATION, options.validate_with); options 580 tools/cibadmin.c if (cib_action_is_dangerous() && !options.force) { options 589 tools/cibadmin.c if (options.message_timeout_sec < 1) { options 591 tools/cibadmin.c options.message_timeout_sec = 30; options 594 tools/cibadmin.c if (options.section_type == cibadmin_section_xpath) { options 596 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 599 tools/cibadmin.c } else if (options.section_type == cibadmin_section_scope) { options 600 tools/cibadmin.c if (!scope_is_valid(options.cib_section)) { options 604 tools/cibadmin.c "to the entire CIB.\n", options.cib_section); options 608 tools/cibadmin.c if (options.allow_create) { options 610 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 614 tools/cibadmin.c if (options.delete_all) { options 616 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 620 tools/cibadmin.c if (options.get_node_path) { options 624 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 628 tools/cibadmin.c if (options.local) { options 630 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 635 tools/cibadmin.c if (options.no_bcast) { options 637 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 641 tools/cibadmin.c if (options.no_children) { options 643 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 647 tools/cibadmin.c if (options.sync_call options 648 tools/cibadmin.c || (options.acl_render_mode != pcmk__acl_render_none)) { options 656 tools/cibadmin.c cib__set_call_options(options.cmd_options, crm_system_name, options 660 tools/cibadmin.c if (options.input_file != NULL) { options 661 tools/cibadmin.c input = filename2xml(options.input_file); options 662 tools/cibadmin.c source = options.input_file; options 664 tools/cibadmin.c } else if (options.input_xml != NULL) { options 665 tools/cibadmin.c input = string2xml(options.input_xml); options 668 tools/cibadmin.c } else if (options.input_stdin) { options 672 tools/cibadmin.c } else if (options.acl_render_mode != pcmk__acl_render_none) { options 679 tools/cibadmin.c if (options.force) { options 698 tools/cibadmin.c if (options.cib_user == NULL) { options 713 tools/cibadmin.c acl_cred = options.cib_user; options 714 tools/cibadmin.c options.cib_user = NULL; options 727 tools/cibadmin.c if (pcmk__str_eq(options.cib_action, "md5-sum", pcmk__str_casei)) { options 743 tools/cibadmin.c } else if (strcmp(options.cib_action, "md5-sum-versioned") == 0) { options 783 tools/cibadmin.c options.message_timeout_sec, FALSE, options 795 tools/cibadmin.c && (strcmp(options.cib_action, options 805 tools/cibadmin.c if (strcmp(options.cib_action, PCMK__CIB_REQUEST_UPGRADE) == 0) { options 810 tools/cibadmin.c options.cmd_options) == pcmk_ok) { options 823 tools/cibadmin.c && (options.acl_render_mode != pcmk__acl_render_none)) { options 831 tools/cibadmin.c options.acl_render_mode, &rendered); options 860 tools/cibadmin.c g_free(options.cib_user); options 861 tools/cibadmin.c g_free(options.dest_node); options 862 tools/cibadmin.c g_free(options.input_file); options 863 tools/cibadmin.c g_free(options.input_xml); options 864 tools/cibadmin.c free(options.cib_section); options 865 tools/cibadmin.c free(options.validate_with); options 884 tools/cibadmin.c the_cib->call_timeout = options.message_timeout_sec; options 885 tools/cibadmin.c if ((strcmp(options.cib_action, PCMK__CIB_REQUEST_REPLACE) == 0) options 894 tools/cibadmin.c crm_trace("Passing \"%s\" to variant_op...", options.cib_action); options 895 tools/cibadmin.c return cib_internal_op(the_cib, options.cib_action, options.dest_node, options 896 tools/cibadmin.c options.cib_section, input, output, options 897 tools/cibadmin.c options.cmd_options, options.cib_user); options 927 tools/cibadmin.c options.cib_action, pcmk_rc_str(rc), rc); options 929 tools/cibadmin.c options.cib_action, pcmk_rc_str(rc)); options 932 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 322 tools/crm_diff.c if (options.apply && options.no_version) { options 324 tools/crm_diff.c } else if (options.as_cib && options.no_version) { options 330 tools/crm_diff.c if (options.raw_1) { options 331 tools/crm_diff.c object_1 = string2xml(options.xml_file_1); options 333 tools/crm_diff.c } else if (options.use_stdin) { options 337 tools/crm_diff.c } else if (options.xml_file_1 != NULL) { options 338 tools/crm_diff.c object_1 = filename2xml(options.xml_file_1); options 341 tools/crm_diff.c if (options.raw_2) { options 342 tools/crm_diff.c object_2 = string2xml(options.xml_file_2); options 344 tools/crm_diff.c } else if (options.use_stdin) { options 348 tools/crm_diff.c } else if (options.xml_file_2 != NULL) { options 349 tools/crm_diff.c object_2 = filename2xml(options.xml_file_2); options 363 tools/crm_diff.c if (options.apply) { options 364 tools/crm_diff.c rc = apply_patch(object_1, object_2, options.as_cib); options 366 tools/crm_diff.c rc = generate_patch(object_1, object_2, options.xml_file_2, options.as_cib, options.no_version); options 373 tools/crm_diff.c free(options.xml_file_1); options 374 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 39 tools/crm_node.c } options = { options 84 tools/crm_node.c { "force", 'f', 0, G_OPTION_ARG_NONE, &options.force_flag, options 89 tools/crm_node.c { "corosync", 'C', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.corosync, options 109 tools/crm_node.c options.command = 'i'; options 111 tools/crm_node.c options.command = 'l'; options 113 tools/crm_node.c options.command = 'n'; options 115 tools/crm_node.c options.command = 'p'; options 117 tools/crm_node.c options.command = 'q'; options 128 tools/crm_node.c options.command = 'N'; options 129 tools/crm_node.c pcmk__scan_min_int(optarg, &(options.nodeid), 0); options 140 tools/crm_node.c options.command = 'R'; options 141 tools/crm_node.c options.dangerous_cmd = TRUE; options 142 tools/crm_node.c pcmk__str_update(&options.target_uname, optarg); options 374 tools/crm_node.c if (options.command == 'p') { options 376 tools/crm_node.c } else if (options.command == 'l') { options 819 tools/crm_node.c if (options.command == 0) { options 828 tools/crm_node.c if (options.dangerous_cmd && options.force_flag == FALSE) { options 840 tools/crm_node.c switch (options.command) { options 854 tools/crm_node.c print_node_name(options.nodeid); options 858 tools/crm_node.c remove_node(options.target_uname); 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_scheduler = 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 = pcmk_rsc_match_history|pcmk_rsc_match_anon_basename; options 712 tools/crm_resource.c options.require_scheduler = FALSE; options 713 tools/crm_resource.c options.find_flags = pcmk_rsc_match_history|pcmk_rsc_match_basename; 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_scheduler = 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_scheduler = 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 = pcmk_rsc_match_history options 813 tools/crm_resource.c options.find_flags = pcmk_rsc_match_history options 817 tools/crm_resource.c options.find_flags = pcmk_rsc_match_history options 821 tools/crm_resource.c options.find_flags = pcmk_rsc_match_history|pcmk_rsc_match_basename; options 824 tools/crm_resource.c options.find_flags = pcmk_rsc_match_history|pcmk_rsc_match_basename; options 827 tools/crm_resource.c options.find_flags = pcmk_rsc_match_history options 832 tools/crm_resource.c options.find_flags = pcmk_rsc_match_history options 837 tools/crm_resource.c options.find_flags = pcmk_rsc_match_history options 839 tools/crm_resource.c options.recursive = TRUE; options 853 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); options 854 tools/crm_resource.c options.find_flags = pcmk_rsc_match_history|pcmk_rsc_match_basename; options 872 tools/crm_resource.c options.require_resource = FALSE; options 884 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); options 885 tools/crm_resource.c options.find_flags = pcmk_rsc_match_history|pcmk_rsc_match_basename; options 892 tools/crm_resource.c options.require_scheduler = FALSE; options 893 tools/crm_resource.c pcmk__str_update(&options.prop_name, optarg); options 894 tools/crm_resource.c options.find_flags = pcmk_rsc_match_history|pcmk_rsc_match_basename; options 900 tools/crm_resource.c options.timeout_ms = crm_get_msec(optarg); options 909 tools/crm_resource.c if (options.operation) { options 910 tools/crm_resource.c g_free(options.operation); options 912 tools/crm_resource.c options.operation = g_strdup(option_name + 2); // skip "--" options 913 tools/crm_resource.c options.find_flags = pcmk_rsc_match_history|pcmk_rsc_match_anon_basename; options 914 tools/crm_resource.c if (options.override_params == NULL) { options 915 tools/crm_resource.c options.override_params = pcmk__strkey_table(free, free); options 919 tools/crm_resource.c if (pcmk__scan_min_int(optarg, &options.check_level, 0) != pcmk_rc_ok) { options 934 tools/crm_resource.c options.find_flags = pcmk_rsc_match_history|pcmk_rsc_match_anon_basename; options 943 tools/crm_resource.c options.find_flags = pcmk_rsc_match_history|pcmk_rsc_match_anon_basename; options 944 tools/crm_resource.c if (options.override_params == NULL) { options 945 tools/crm_resource.c options.override_params = pcmk__strkey_table(free, free); options 947 tools/crm_resource.c options.require_node = TRUE; options 948 tools/crm_resource.c options.require_scheduler = TRUE; options 955 tools/crm_resource.c options.require_resource = FALSE; options 956 tools/crm_resource.c options.require_scheduler = FALSE; options 963 tools/crm_resource.c options.require_resource = FALSE; options 964 tools/crm_resource.c options.find_flags = pcmk_rsc_match_history|pcmk_rsc_match_anon_basename; options 981 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, options 982 tools/crm_resource.c cib_conn, options.cib_options, options.promoted_role_only, options 1001 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, options 1002 tools/crm_resource.c cib_conn, options.cib_options, options.promoted_role_only, options 1013 tools/crm_resource.c options.rsc_id, nactive, count, options.rsc_id, options.rsc_id); options 1022 tools/crm_resource.c options.rsc_id, nactive, options.rsc_id); options 1033 tools/crm_resource.c if (options.force == FALSE) { options 1038 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); options 1039 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, options 1040 tools/crm_resource.c options.operation, options.interval_spec, TRUE, options 1041 tools/crm_resource.c scheduler, options.force); options 1067 tools/crm_resource.c if (options.clear_expired) { options 1069 tools/crm_resource.c options.cib_options, options.rsc_id, options 1070 tools/crm_resource.c options.host_uname, options 1071 tools/crm_resource.c options.promoted_role_only); options 1073 tools/crm_resource.c } else if (options.host_uname) { options 1074 tools/crm_resource.c dest = pe_find_node(scheduler->nodes, options.host_uname); options 1082 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, dest->details->uname, NULL, options 1083 tools/crm_resource.c cib_conn, options.cib_options, TRUE, options.force); options 1086 tools/crm_resource.c rc = cli_resource_clear(options.rsc_id, NULL, scheduler->nodes, options 1087 tools/crm_resource.c cib_conn, options.cib_options, TRUE, options.force); options 1127 tools/crm_resource.c if (options.rsc_type == NULL) { options 1134 tools/crm_resource.c msg_data = create_xml_node(NULL, options.rsc_type); options 1135 tools/crm_resource.c crm_xml_add(msg_data, XML_ATTR_ID, options.rsc_id); options 1138 tools/crm_resource.c options.cib_options); options 1149 tools/crm_resource.c if (options.xml_file != NULL) { options 1150 tools/crm_resource.c *cib_xml_copy = filename2xml(options.xml_file); options 1186 tools/crm_resource.c const char *router_node = options.host_uname; options 1189 tools/crm_resource.c if (options.host_uname) { options 1190 tools/crm_resource.c pcmk_node_t *node = pe_find_node(scheduler->nodes, options.host_uname); options 1198 tools/crm_resource.c options.host_uname); options 1208 tools/crm_resource.c options.host_uname? options.host_uname : "all nodes"); options 1213 tools/crm_resource.c crm_debug("Re-checking the state of all resources on %s", options.host_uname?options.host_uname:"all nodes"); options 1215 tools/crm_resource.c rc = pcmk__attrd_api_clear_failures(NULL, options.host_uname, NULL, options 1218 tools/crm_resource.c if (pcmk_controld_api_reprobe(controld_api, options.host_uname, options 1231 tools/crm_resource.c if (options.force == FALSE) { options 1236 tools/crm_resource.c rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes")); options 1237 tools/crm_resource.c rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL, 0, options 1238 tools/crm_resource.c FALSE, scheduler, options.force); options 1256 tools/crm_resource.c if (pcmk__str_empty(options.rsc_type)) { options 1262 tools/crm_resource.c } else if (pcmk__str_empty(options.prop_value)) { options 1269 tools/crm_resource.c CRM_LOG_ASSERT(options.prop_name != NULL); options 1271 tools/crm_resource.c msg_data = create_xml_node(NULL, options.rsc_type); options 1272 tools/crm_resource.c crm_xml_add(msg_data, XML_ATTR_ID, options.rsc_id); options 1273 tools/crm_resource.c crm_xml_add(msg_data, options.prop_name, options.prop_value); options 1276 tools/crm_resource.c options.cib_options); options 1338 tools/crm_resource.c if (options.rsc_id != NULL) { options 1343 tools/crm_resource.c } else if (options.rsc_cmd != cmd_execute_agent) { options 1351 tools/crm_resource.c } else if (pcmk__str_eq(options.v_class, "stonith", pcmk__str_none)) { options 1352 tools/crm_resource.c if (options.v_provider != NULL) { options 1356 tools/crm_resource.c } else if (stonith_agent_exists(options.v_agent, 0) == FALSE) { options 1358 tools/crm_resource.c _("%s is not a known stonith agent"), options.v_agent ? options.v_agent : ""); options 1361 tools/crm_resource.c } else if (resources_agent_exists(options.v_class, options.v_provider, options.v_agent) == FALSE) { options 1364 tools/crm_resource.c options.v_class ? options.v_class : "", options 1365 tools/crm_resource.c options.v_provider ? options.v_provider : "", options 1366 tools/crm_resource.c options.v_agent ? options.v_agent : ""); options 1373 tools/crm_resource.c if (options.cmdline_params == NULL) { options 1374 tools/crm_resource.c options.cmdline_params = pcmk__strkey_table(free, free); options 1376 tools/crm_resource.c options.require_resource = FALSE; options 1377 tools/crm_resource.c options.require_scheduler = FALSE; options 1378 tools/crm_resource.c options.require_cib = FALSE; options 1389 tools/crm_resource.c { "resource", 'r', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.rsc_id, options 1392 tools/crm_resource.c { G_OPTION_REMAINING, 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING_ARRAY, &options.remainder, options 1496 tools/crm_resource.c if (options.rsc_cmd == cmd_none) { options 1497 tools/crm_resource.c options.rsc_cmd = cmd_list_resources; options 1498 tools/crm_resource.c options.require_resource = FALSE; options 1502 tools/crm_resource.c if (options.clear_expired && (options.rsc_cmd != cmd_clear)) { options 1508 tools/crm_resource.c if ((options.remainder != NULL) && (options.override_params != NULL)) { options 1510 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { options 1516 tools/crm_resource.c g_hash_table_replace(options.override_params, name, value); options 1529 tools/crm_resource.c } else if (options.remainder != NULL) { options 1535 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { options 1547 tools/crm_resource.c for (gchar **s = options.remainder; *s; s++) { options 1572 tools/crm_resource.c switch (options.rsc_cmd) { options 1588 tools/crm_resource.c if ((options.rsc_cmd == cmd_colocations) || options 1589 tools/crm_resource.c options.rsc_cmd == cmd_list_resources) { options 1599 tools/crm_resource.c if (options.cmdline_config) { options 1609 tools/crm_resource.c } else if (options.cmdline_params != NULL) { options 1611 tools/crm_resource.c g_hash_table_destroy(options.cmdline_params); options 1612 tools/crm_resource.c options.cmdline_params = NULL; options 1615 tools/crm_resource.c if (options.require_resource && (options.rsc_id == NULL)) { options 1621 tools/crm_resource.c if (options.require_node && (options.host_uname == NULL)) { options 1632 tools/crm_resource.c if (options.find_flags && options.rsc_id) { options 1633 tools/crm_resource.c options.require_scheduler = TRUE; options 1637 tools/crm_resource.c if (options.require_cib) { options 1656 tools/crm_resource.c if (options.require_scheduler) { options 1665 tools/crm_resource.c if (options.find_flags && options.rsc_id) { options 1666 tools/crm_resource.c rsc = pe_find_resource_with_flags(scheduler->resources, options.rsc_id, options 1667 tools/crm_resource.c options.find_flags); options 1671 tools/crm_resource.c _("Resource '%s' not found"), options.rsc_id); options 1678 tools/crm_resource.c if (strchr(options.rsc_id, ':') != NULL && pe_rsc_is_clone(rsc->parent) && options 1679 tools/crm_resource.c (options.rsc_cmd == cmd_ban || options.rsc_cmd == cmd_clear || options 1680 tools/crm_resource.c options.rsc_cmd == cmd_move || options.rsc_cmd == cmd_restart)) { options 1683 tools/crm_resource.c _("Cannot operate on clone resource instance '%s'"), options.rsc_id); options 1689 tools/crm_resource.c if ((options.host_uname != NULL) && (scheduler != NULL)) { options 1690 tools/crm_resource.c node = pe_find_node(scheduler->nodes, options.host_uname); options 1695 tools/crm_resource.c _("Node '%s' not found"), options.host_uname); options 1701 tools/crm_resource.c if (options.require_crmd) { options 1725 tools/crm_resource.c switch (options.rsc_cmd) { options 1750 tools/crm_resource.c rc = pcmk__list_alternatives(out, options.agent_spec); options 1754 tools/crm_resource.c rc = pcmk__list_agents(out, options.agent_spec); options 1762 tools/crm_resource.c rc = pcmk__list_providers(out, options.agent_spec); options 1766 tools/crm_resource.c rc = show_metadata(out, options.agent_spec); options 1775 tools/crm_resource.c rc = cli_resource_restart(out, rsc, node, options.move_lifetime, options 1776 tools/crm_resource.c options.timeout_ms, cib_conn, options 1777 tools/crm_resource.c options.cib_options, options.promoted_role_only, options 1778 tools/crm_resource.c options.force); options 1782 tools/crm_resource.c rc = wait_till_stable(out, options.timeout_ms, cib_conn); options 1786 tools/crm_resource.c if (options.cmdline_config) { options 1788 tools/crm_resource.c options.v_class, options.v_provider, options.v_agent, options 1789 tools/crm_resource.c options.operation, options.cmdline_params, options 1790 tools/crm_resource.c options.override_params, options.timeout_ms, options 1791 tools/crm_resource.c args->verbosity, options.force, options.check_level); options 1793 tools/crm_resource.c exit_code = cli_resource_execute(rsc, options.rsc_id, options 1794 tools/crm_resource.c options.operation, options.override_params, options 1795 tools/crm_resource.c options.timeout_ms, cib_conn, scheduler, options 1796 tools/crm_resource.c args->verbosity, options.force, options.check_level); options 1801 tools/crm_resource.c node = pe_find_node(scheduler->nodes, options.host_uname); options 1806 tools/crm_resource.c options.override_params); options 1812 tools/crm_resource.c options.recursive, (bool) options.force); options 1823 tools/crm_resource.c rc = cli_resource_fail(controld_api, options.host_uname, options 1824 tools/crm_resource.c options.rsc_id, scheduler); options 1831 tools/crm_resource.c rc = cli_resource_print_operations(options.rsc_id, options 1832 tools/crm_resource.c options.host_uname, TRUE, options 1837 tools/crm_resource.c rc = cli_resource_print_operations(options.rsc_id, options 1838 tools/crm_resource.c options.host_uname, FALSE, options 1843 tools/crm_resource.c GList *nodes = cli_resource_search(rsc, options.rsc_id, scheduler); options 1844 tools/crm_resource.c rc = out->message(out, "resource-search-list", nodes, options.rsc_id); options 1858 tools/crm_resource.c if ((options.host_uname != NULL) && (node == NULL)) { options 1871 tools/crm_resource.c if (options.host_uname == NULL) { options 1872 tools/crm_resource.c rc = ban_or_move(out, rsc, options.move_lifetime); options 1874 tools/crm_resource.c rc = cli_resource_move(rsc, options.rsc_id, options.host_uname, options 1875 tools/crm_resource.c options.move_lifetime, cib_conn, options 1876 tools/crm_resource.c options.cib_options, scheduler, options 1877 tools/crm_resource.c options.promoted_role_only, options 1878 tools/crm_resource.c options.force); options 1889 tools/crm_resource.c if (options.host_uname == NULL) { options 1890 tools/crm_resource.c rc = ban_or_move(out, rsc, options.move_lifetime); options 1894 tools/crm_resource.c rc = cli_resource_ban(out, options.rsc_id, node->details->uname, options 1895 tools/crm_resource.c options.move_lifetime, cib_conn, options 1896 tools/crm_resource.c options.cib_options, options 1897 tools/crm_resource.c options.promoted_role_only, options 1909 tools/crm_resource.c rc = out->message(out, "property-list", rsc, options.prop_name); options 1930 tools/crm_resource.c pcmk__s(options.prop_name, "unspecified property")); options 1934 tools/crm_resource.c crm_debug("Looking up %s in %s", options.prop_name, rsc->id); options 1936 tools/crm_resource.c if (pcmk__str_eq(options.attr_set_type, XML_TAG_ATTR_SETS, pcmk__str_none)) { options 1940 tools/crm_resource.c value = g_hash_table_lookup(params, options.prop_name); options 1942 tools/crm_resource.c } else if (pcmk__str_eq(options.attr_set_type, XML_TAG_META_SETS, pcmk__str_none)) { options 1946 tools/crm_resource.c value = g_hash_table_lookup(params, options.prop_name); options 1948 tools/crm_resource.c } else if (pcmk__str_eq(options.attr_set_type, ATTR_SET_ELEMENT, pcmk__str_none)) { options 1950 tools/crm_resource.c value = crm_element_value(rsc->xml, options.prop_name); options 1958 tools/crm_resource.c value = g_hash_table_lookup(params, options.prop_name); options 1961 tools/crm_resource.c rc = out->message(out, "attribute-list", rsc, options.prop_name, value); options 1970 tools/crm_resource.c if (pcmk__str_empty(options.prop_value)) { options 1978 tools/crm_resource.c rc = cli_resource_update_attribute(rsc, options.rsc_id, options 1979 tools/crm_resource.c options.prop_set, options 1980 tools/crm_resource.c options.attr_set_type, options 1981 tools/crm_resource.c options.prop_id, options 1982 tools/crm_resource.c options.prop_name, options 1983 tools/crm_resource.c options.prop_value, options 1984 tools/crm_resource.c options.recursive, cib_conn, options 1985 tools/crm_resource.c options.cib_options, options 1986 tools/crm_resource.c options.force); options 1991 tools/crm_resource.c rc = cli_resource_delete_attribute(rsc, options.rsc_id, options 1992 tools/crm_resource.c options.prop_set, options 1993 tools/crm_resource.c options.attr_set_type, options 1994 tools/crm_resource.c options.prop_id, options 1995 tools/crm_resource.c options.prop_name, cib_conn, options 1996 tools/crm_resource.c options.cib_options, options 1997 tools/crm_resource.c options.force); options 2002 tools/crm_resource.c rc = cli_cleanup_all(controld_api, options.host_uname, options 2003 tools/crm_resource.c options.operation, options.interval_spec, options 2028 tools/crm_resource.c _("Unimplemented command: %d"), (int) options.rsc_cmd); options 2062 tools/crm_resource.c g_free(options.host_uname); options 2063 tools/crm_resource.c g_free(options.interval_spec); options 2064 tools/crm_resource.c g_free(options.move_lifetime); options 2065 tools/crm_resource.c g_free(options.operation); options 2066 tools/crm_resource.c g_free(options.prop_id); options 2067 tools/crm_resource.c free(options.prop_name); options 2068 tools/crm_resource.c g_free(options.prop_set); options 2069 tools/crm_resource.c g_free(options.prop_value); options 2070 tools/crm_resource.c g_free(options.rsc_id); options 2071 tools/crm_resource.c g_free(options.rsc_type); options 2072 tools/crm_resource.c free(options.agent_spec); options 2073 tools/crm_resource.c free(options.v_agent); options 2074 tools/crm_resource.c free(options.v_class); options 2075 tools/crm_resource.c free(options.v_provider); options 2076 tools/crm_resource.c g_free(options.xml_file); options 2077 tools/crm_resource.c g_strfreev(options.remainder); options 2079 tools/crm_resource.c if (options.override_params != NULL) { options 2080 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 936 tools/crm_shadow.c filename = get_shadow_file(options.instance); options 957 tools/crm_shadow.c options.instance, NULL, NULL, diff, shadow_disp_diff); options 986 tools/crm_shadow.c char *filename = get_shadow_file(options.instance); options 991 tools/crm_shadow.c options.instance, filename, NULL, NULL, shadow_disp_file); options 1013 tools/crm_shadow.c options.instance, NULL, NULL, NULL, shadow_disp_instance); options 1030 tools/crm_shadow.c filename = get_shadow_file(options.instance); options 1042 tools/crm_shadow.c options.cmd = shadow_cmd_which; options 1045 tools/crm_shadow.c options.cmd = shadow_cmd_display; options 1048 tools/crm_shadow.c options.cmd = shadow_cmd_diff; options 1051 tools/crm_shadow.c options.cmd = shadow_cmd_file; options 1054 tools/crm_shadow.c options.cmd = shadow_cmd_create; options 1057 tools/crm_shadow.c options.cmd = shadow_cmd_create_empty; options 1060 tools/crm_shadow.c options.cmd = shadow_cmd_commit; options 1063 tools/crm_shadow.c options.cmd = shadow_cmd_delete; options 1066 tools/crm_shadow.c options.cmd = shadow_cmd_edit; options 1069 tools/crm_shadow.c options.cmd = shadow_cmd_reset; options 1072 tools/crm_shadow.c options.cmd = shadow_cmd_switch; options 1080 tools/crm_shadow.c pcmk__str_update(&options.instance, optarg); options 1131 tools/crm_shadow.c { "force", 'f', G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.force, options 1134 tools/crm_shadow.c { "batch", 'b', G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.batch, options 1137 tools/crm_shadow.c { "all", 'a', G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.full_upload, options 1141 tools/crm_shadow.c &options.validate_with, options 1236 tools/crm_shadow.c if (options.cmd == shadow_cmd_none) { options 1250 tools/crm_shadow.c cib__set_call_options(options.cmd_options, crm_system_name, options 1255 tools/crm_shadow.c switch (options.cmd) { options 1300 tools/crm_shadow.c free(options.instance); options 1301 tools/crm_shadow.c g_free(options.validate_with); options 50 tools/crm_simulate.c } options = { options 70 tools/crm_simulate.c options.flags |= pcmk_sim_all_actions; options 88 tools/crm_simulate.c options.store = TRUE; options 89 tools/crm_simulate.c options.flags |= pcmk_sim_process | pcmk_sim_simulate; options 95 tools/crm_simulate.c if (options.xml_file) { options 96 tools/crm_simulate.c free(options.xml_file); options 99 tools/crm_simulate.c options.xml_file = NULL; options 100 tools/crm_simulate.c options.flags &= ~pcmk_sim_sanitized; options 106 tools/crm_simulate.c options.injections->node_down = g_list_append(options.injections->node_down, g_strdup(optarg)); options 112 tools/crm_simulate.c options.injections->node_fail = g_list_append(options.injections->node_fail, g_strdup(optarg)); options 119 tools/crm_simulate.c options.injections->node_up = g_list_append(options.injections->node_up, g_strdup(optarg)); options 125 tools/crm_simulate.c options.flags |= pcmk_sim_process | pcmk_sim_simulate; options 126 tools/crm_simulate.c options.injections->op_fail = g_list_append(options.injections->op_fail, g_strdup(optarg)); options 132 tools/crm_simulate.c options.injections->op_inject = g_list_append(options.injections->op_inject, g_strdup(optarg)); options 138 tools/crm_simulate.c options.flags |= pcmk_sim_show_pending; options 144 tools/crm_simulate.c options.flags |= pcmk_sim_process; options 150 tools/crm_simulate.c pcmk__str_update(&options.injections->quorum, optarg); options 156 tools/crm_simulate.c options.flags |= pcmk_sim_process; options 157 tools/crm_simulate.c pcmk__str_update(&options.dot_file, optarg); options 163 tools/crm_simulate.c options.flags |= pcmk_sim_process; options 164 tools/crm_simulate.c pcmk__str_update(&options.graph_file, optarg); options 170 tools/crm_simulate.c options.flags |= pcmk_sim_process | pcmk_sim_show_scores; options 176 tools/crm_simulate.c options.flags |= pcmk_sim_process | pcmk_sim_simulate; options 182 tools/crm_simulate.c options.injections->ticket_activate = g_list_append(options.injections->ticket_activate, g_strdup(optarg)); options 188 tools/crm_simulate.c options.injections->ticket_grant = g_list_append(options.injections->ticket_grant, g_strdup(optarg)); options 194 tools/crm_simulate.c options.injections->ticket_revoke = g_list_append(options.injections->ticket_revoke, g_strdup(optarg)); options 200 tools/crm_simulate.c options.injections->ticket_standby = g_list_append(options.injections->ticket_standby, g_strdup(optarg)); options 206 tools/crm_simulate.c options.flags |= pcmk_sim_process | pcmk_sim_show_utilization; options 212 tools/crm_simulate.c pcmk__str_update(&options.injections->watchdog, optarg); options 218 tools/crm_simulate.c pcmk__str_update(&options.xml_file, optarg); options 219 tools/crm_simulate.c options.flags |= pcmk_sim_sanitized; options 225 tools/crm_simulate.c pcmk__str_update(&options.xml_file, "-"); options 226 tools/crm_simulate.c options.flags |= pcmk_sim_sanitized; options 252 tools/crm_simulate.c { "profile", 'P', 0, G_OPTION_ARG_FILENAME, &options.test_dir, options 255 tools/crm_simulate.c { "repeat", 'N', 0, G_OPTION_ARG_INT, &options.repeat, options 286 tools/crm_simulate.c { "set-datetime", 't', 0, G_OPTION_ARG_STRING, &options.use_date, options 312 tools/crm_simulate.c { "save-input", 'I', 0, G_OPTION_ARG_FILENAME, &options.input_file, options 315 tools/crm_simulate.c { "save-output", 'O', 0, G_OPTION_ARG_FILENAME, &options.output_file, options 464 tools/crm_simulate.c options.injections = calloc(1, sizeof(pcmk_injections_t)); options 465 tools/crm_simulate.c if (options.injections == NULL) { options 471 tools/crm_simulate.c options.xml_file = strdup("-"); options 490 tools/crm_simulate.c !pcmk_is_set(options.flags, pcmk_sim_show_scores) && options 491 tools/crm_simulate.c !pcmk_is_set(options.flags, pcmk_sim_show_utilization)) { options 508 tools/crm_simulate.c options.flags |= pcmk_sim_verbose; options 525 tools/crm_simulate.c if (pcmk_is_set(options.flags, pcmk_sim_show_scores)) { options 528 tools/crm_simulate.c if (pcmk_is_set(options.flags, pcmk_sim_show_utilization)) { options 533 tools/crm_simulate.c if (options.test_dir != NULL) { options 535 tools/crm_simulate.c pcmk__profile_dir(options.test_dir, options.repeat, scheduler, options 536 tools/crm_simulate.c options.use_date); options 541 tools/crm_simulate.c rc = setup_input(out, options.xml_file, options 542 tools/crm_simulate.c options.store? options.xml_file : options.output_file, options 548 tools/crm_simulate.c rc = pcmk__simulate(scheduler, out, options.injections, options.flags, options 549 tools/crm_simulate.c section_opts, options.use_date, options.input_file, options 550 tools/crm_simulate.c options.graph_file, options.dot_file); options 556 tools/crm_simulate.c free(options.dot_file); options 557 tools/crm_simulate.c free(options.graph_file); options 558 tools/crm_simulate.c g_free(options.input_file); options 559 tools/crm_simulate.c g_free(options.output_file); options 560 tools/crm_simulate.c g_free(options.test_dir); options 561 tools/crm_simulate.c free(options.use_date); options 562 tools/crm_simulate.c free(options.xml_file); options 564 tools/crm_simulate.c pcmk_free_injections(options.injections); options 55 tools/crm_ticket.c } options = { options 68 tools/crm_ticket.c pcmk__str_update(&options.attr_value, optarg); options 70 tools/crm_ticket.c if (!options.attr_name || !options.attr_value) { options 74 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(options.attr_name), strdup(options.attr_value)); options 75 tools/crm_ticket.c pcmk__str_update(&options.attr_name, NULL); options 76 tools/crm_ticket.c pcmk__str_update(&options.attr_value, NULL); options 86 tools/crm_ticket.c options.ticket_cmd = 'l'; options 88 tools/crm_ticket.c options.ticket_cmd = 'L'; options 90 tools/crm_ticket.c options.ticket_cmd = 'w'; options 92 tools/crm_ticket.c options.ticket_cmd = 'q'; options 94 tools/crm_ticket.c options.ticket_cmd = 'c'; options 96 tools/crm_ticket.c options.ticket_cmd = 'C'; options 111 tools/crm_ticket.c pcmk__str_update(&options.get_attr_name, optarg); options 112 tools/crm_ticket.c options.ticket_cmd = 'G'; options 137 tools/crm_ticket.c pcmk__str_update(&options.attr_name, optarg); options 139 tools/crm_ticket.c if (!options.attr_name || !options.attr_value) { options 143 tools/crm_ticket.c g_hash_table_insert(attr_set, strdup(options.attr_name), strdup(options.attr_value)); options 144 tools/crm_ticket.c pcmk__str_update(&options.attr_name, NULL); options 145 tools/crm_ticket.c pcmk__str_update(&options.attr_value, NULL); options 221 tools/crm_ticket.c { "default", 'd', 0, G_OPTION_ARG_STRING, &options.attr_default, options 226 tools/crm_ticket.c { "force", 'f', 0, G_OPTION_ARG_NONE, &options.force, options 230 tools/crm_ticket.c { "ticket", 't', 0, G_OPTION_ARG_STRING, &options.ticket_id, options 234 tools/crm_ticket.c { "xml-file", 'x', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.xml_file, options 242 tools/crm_ticket.c { "set-name", 'n', 0, G_OPTION_ARG_STRING, &options.set_name, options 246 tools/crm_ticket.c { "nvpair", 'i', 0, G_OPTION_ARG_STRING, &options.attr_id, options 250 tools/crm_ticket.c { "quiet", 'Q', 0, G_OPTION_ARG_NONE, &options.quiet, options 539 tools/crm_ticket.c if (options.force) { options 782 tools/crm_ticket.c if (options.xml_file != NULL) { options 783 tools/crm_ticket.c cib_xml_copy = filename2xml(options.xml_file); options 813 tools/crm_ticket.c if (options.ticket_cmd == 'l' || options.ticket_cmd == 'L' || options.ticket_cmd == 'w') { options 817 tools/crm_ticket.c if (options.ticket_cmd == 'L') { options 819 tools/crm_ticket.c } else if (options.ticket_cmd == 'w') { options 823 tools/crm_ticket.c if (options.ticket_id) { options 824 tools/crm_ticket.c pcmk_ticket_t *ticket = find_ticket(options.ticket_id, scheduler); options 829 tools/crm_ticket.c "No such ticket '%s'", options.ticket_id); options 838 tools/crm_ticket.c } else if (options.ticket_cmd == 'q') { options 839 tools/crm_ticket.c rc = dump_ticket_xml(cib_conn, options.ticket_id); options 847 tools/crm_ticket.c } else if (options.ticket_cmd == 'c') { options 848 tools/crm_ticket.c rc = dump_constraints(cib_conn, options.ticket_id); options 856 tools/crm_ticket.c } else if (options.ticket_cmd == 'G') { options 859 tools/crm_ticket.c if (options.ticket_id == NULL) { options 866 tools/crm_ticket.c rc = get_ticket_state_attr(options.ticket_id, options.get_attr_name, options 870 tools/crm_ticket.c } else if (rc == ENXIO && options.attr_default) { options 871 tools/crm_ticket.c fprintf(stdout, "%s\n", options.attr_default); options 876 tools/crm_ticket.c } else if (options.ticket_cmd == 'C') { options 877 tools/crm_ticket.c if (options.ticket_id == NULL) { options 884 tools/crm_ticket.c if (options.force == FALSE) { options 887 tools/crm_ticket.c ticket = find_ticket(options.ticket_id, scheduler); options 891 tools/crm_ticket.c "No such ticket '%s'", options.ticket_id); options 896 tools/crm_ticket.c ticket_warning(options.ticket_id, "revoke"); options 902 tools/crm_ticket.c rc = delete_ticket_state(options.ticket_id, cib_conn); options 911 tools/crm_ticket.c if (options.ticket_id == NULL) { options 918 tools/crm_ticket.c if (options.attr_value options 919 tools/crm_ticket.c && (pcmk__str_empty(options.attr_name))) { options 922 tools/crm_ticket.c "Must supply attribute name with -S for -v %s", options.attr_value); options 926 tools/crm_ticket.c if (options.attr_name options 927 tools/crm_ticket.c && (pcmk__str_empty(options.attr_value))) { options 930 tools/crm_ticket.c "Must supply attribute value with -v for -S %s", options.attr_value); options 934 tools/crm_ticket.c if (!allow_modification(options.ticket_id)) { options 941 tools/crm_ticket.c rc = modify_ticket_state(options.ticket_id, cib_conn, scheduler); options 949 tools/crm_ticket.c } else if (options.ticket_cmd == 'S') { options 954 tools/crm_ticket.c if (pcmk__str_empty(options.attr_name)) { options 961 tools/crm_ticket.c if (options.ticket_id == NULL) { options 968 tools/crm_ticket.c if (pcmk__str_empty(options.attr_value)) { options 971 tools/crm_ticket.c "Must supply value with -v for -S %s", options.attr_name); options 978 tools/crm_ticket.c "Unknown command: %c", options.ticket_cmd); options 999 tools/crm_ticket.c g_free(options.attr_default); options 1000 tools/crm_ticket.c g_free(options.attr_id); options 1001 tools/crm_ticket.c free(options.attr_name); options 1002 tools/crm_ticket.c free(options.attr_value); options 1003 tools/crm_ticket.c free(options.get_attr_name); options 1004 tools/crm_ticket.c g_free(options.set_name); options 1005 tools/crm_ticket.c g_free(options.ticket_id); options 1006 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 167 tools/crm_verify.c if (options.use_live_cib) { options 176 tools/crm_verify.c } else if (options.xml_file != NULL) { options 177 tools/crm_verify.c cib_object = filename2xml(options.xml_file); options 180 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, "Couldn't parse input file: %s", options.xml_file); options 184 tools/crm_verify.c } else if (options.xml_string != NULL) { options 185 tools/crm_verify.c cib_object = string2xml(options.xml_string); options 188 tools/crm_verify.c g_set_error(&error, PCMK__RC_ERROR, rc, "Couldn't parse input string: %s", options.xml_string); options 191 tools/crm_verify.c } else if (options.xml_stdin) { options 213 tools/crm_verify.c if (options.cib_save != NULL) { options 214 tools/crm_verify.c write_xml_file(cib_object, options.cib_save, FALSE); options 253 tools/crm_verify.c if ((status == NULL) && !options.use_live_cib) { options 287 tools/crm_verify.c free(options.cib_save); options 288 tools/crm_verify.c free(options.xml_file); options 289 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 418 tools/stonith_admin.c if (options.validate_cfg) { options 424 tools/stonith_admin.c if (options.installed) { options 429 tools/stonith_admin.c if (options.registered) { options 433 tools/stonith_admin.c if (options.register_dev != NULL) { options 436 tools/stonith_admin.c device = options.register_dev; options 439 tools/stonith_admin.c if (options.query != NULL) { options 441 tools/stonith_admin.c device = options.query; options 444 tools/stonith_admin.c if (options.unregister_dev != NULL) { options 446 tools/stonith_admin.c device = options.unregister_dev; options 449 tools/stonith_admin.c if (options.targets != NULL) { options 451 tools/stonith_admin.c device = options.targets; options 454 tools/stonith_admin.c if (options.terminate != NULL) { options 456 tools/stonith_admin.c target = options.terminate; options 459 tools/stonith_admin.c if (options.metadata) { options 465 tools/stonith_admin.c if (options.reboot_host != NULL) { options 468 tools/stonith_admin.c target = options.reboot_host; options 472 tools/stonith_admin.c if (options.fence_host != NULL) { options 475 tools/stonith_admin.c target = options.fence_host; options 479 tools/stonith_admin.c if (options.unfence_host != NULL) { options 482 tools/stonith_admin.c target = options.unfence_host; options 486 tools/stonith_admin.c if (options.confirm_host != NULL) { options 488 tools/stonith_admin.c target = options.confirm_host; options 492 tools/stonith_admin.c if (options.last_fenced != NULL) { options 494 tools/stonith_admin.c target = options.last_fenced; options 497 tools/stonith_admin.c if (options.history != NULL) { options 499 tools/stonith_admin.c target = options.history; options 502 tools/stonith_admin.c if (options.register_level != NULL) { options 504 tools/stonith_admin.c target = options.register_level; options 507 tools/stonith_admin.c if (options.unregister_level != NULL) { options 509 tools/stonith_admin.c target = options.unregister_level; options 521 tools/stonith_admin.c if (required_agent && options.agent == NULL) { options 547 tools/stonith_admin.c rc = pcmk__fence_installed(out, st, options.timeout*1000); options 555 tools/stonith_admin.c rc = pcmk__fence_registered(out, st, target, options.timeout*1000); options 563 tools/stonith_admin.c rc = st->cmds->monitor(st, st_opts, device, options.timeout); options 565 tools/stonith_admin.c rc = st->cmds->list(st, st_opts, device, NULL, options.timeout); options 571 tools/stonith_admin.c rc = pcmk__fence_list_targets(out, st, device, options.timeout*1000); options 579 tools/stonith_admin.c rc = st->cmds->register_device(st, st_opts, device, NULL, options.agent, options 580 tools/stonith_admin.c options.params); options 584 tools/stonith_admin.c device, options.agent, pcmk_rc_str(rc)); options 598 tools/stonith_admin.c rc = pcmk__fence_unregister_level(st, target, options.fence_level); options 601 tools/stonith_admin.c options.fence_level, target, pcmk_rc_str(rc)); options 606 tools/stonith_admin.c rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices); options 609 tools/stonith_admin.c options.fence_level, target, pcmk_rc_str(rc)); options 614 tools/stonith_admin.c rc = pcmk__fence_metadata(out, st, options.agent, options.timeout*1000); options 640 tools/stonith_admin.c rc = pcmk__fence_last(out, target, options.as_nodeid); options 644 tools/stonith_admin.c rc = pcmk__fence_history(out, st, target, options.timeout*1000, args->verbosity, options 645 tools/stonith_admin.c options.broadcast, options.cleanup); options 649 tools/stonith_admin.c device = options.devices ? options.devices->key : NULL; options 650 tools/stonith_admin.c rc = pcmk__fence_validate(out, st, options.agent, device, options.params, options 651 tools/stonith_admin.c options.timeout*1000); options 670 tools/stonith_admin.c stonith_key_value_freeall(options.params, 1, 1);