optarg 151 daemons/based/pacemaker-based.c cib_root = optarg; optarg 553 daemons/execd/cts-exec-helper.c options.listen = optarg; optarg 568 daemons/execd/cts-exec-helper.c options.api_call = optarg; optarg 571 daemons/execd/cts-exec-helper.c options.action = optarg; optarg 574 daemons/execd/cts-exec-helper.c options.rsc_id = optarg; optarg 577 daemons/execd/cts-exec-helper.c if(optarg) { optarg 578 daemons/execd/cts-exec-helper.c options.cancel_call_id = atoi(optarg); optarg 582 daemons/execd/cts-exec-helper.c options.provider = optarg; optarg 585 daemons/execd/cts-exec-helper.c options.class = optarg; optarg 588 daemons/execd/cts-exec-helper.c options.type = optarg; optarg 591 daemons/execd/cts-exec-helper.c if(optarg) { optarg 592 daemons/execd/cts-exec-helper.c options.interval_ms = crm_parse_interval_spec(optarg); optarg 596 daemons/execd/cts-exec-helper.c if(optarg) { optarg 597 daemons/execd/cts-exec-helper.c options.timeout = atoi(optarg); optarg 601 daemons/execd/cts-exec-helper.c if(optarg) { optarg 602 daemons/execd/cts-exec-helper.c options.start_delay = atoi(optarg); optarg 606 daemons/execd/cts-exec-helper.c key = optarg; optarg 613 daemons/execd/cts-exec-helper.c val = optarg; optarg 444 daemons/execd/pacemaker-execd.c int rc = pcmk__add_logfile(optarg); optarg 451 daemons/execd/pacemaker-execd.c optarg, pcmk_rc_str(rc)); optarg 456 daemons/execd/pacemaker-execd.c setenv("PCMK_remote_port", optarg, 1); optarg 1353 daemons/fenced/pacemaker-fenced.c int rc = pcmk__add_logfile(optarg); optarg 1360 daemons/fenced/pacemaker-fenced.c optarg, pcmk_rc_str(rc)); optarg 86 daemons/pacemakerd/pacemakerd.c pid_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 91 daemons/pacemakerd/pacemakerd.c standby_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 42 devel/scratch.c xml_file = optarg; optarg 21 lib/common/cmdline.c bump_verbosity(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 235 lib/common/nvpair.c sep = strstr(optarg, "="); optarg 163 tools/attrd_updater.c option_var = strdup(optarg); optarg 241 tools/attrd_updater.c attr_value = optarg; optarg 426 tools/cibadmin.c message_timeout_ms = atoi(optarg); optarg 432 tools/cibadmin.c obj_type = optarg; optarg 455 tools/cibadmin.c cib_user = optarg; optarg 498 tools/cibadmin.c crm_trace("Option %c => %s", flag, optarg); optarg 499 tools/cibadmin.c obj_type = optarg; optarg 502 tools/cibadmin.c crm_trace("Option %c => %s", flag, optarg); optarg 503 tools/cibadmin.c admin_input_xml = optarg; optarg 507 tools/cibadmin.c crm_trace("Option %c => %s", flag, optarg); optarg 508 tools/cibadmin.c admin_input_file = optarg; optarg 517 tools/cibadmin.c host = strdup(optarg); optarg 66 tools/crm_attribute.c delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 78 tools/crm_attribute.c promotion_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 87 tools/crm_attribute.c score_name = pcmk_promotion_score_name(optarg); optarg 99 tools/crm_attribute.c update_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 106 tools/crm_attribute.c options.attr_value = strdup(optarg); optarg 111 tools/crm_attribute.c utilization_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 127 tools/crm_attribute.c value_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 42 tools/crm_diff.c gboolean new_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 43 tools/crm_diff.c gboolean original_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 44 tools/crm_diff.c gboolean patch_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 86 tools/crm_diff.c new_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 93 tools/crm_diff.c options.xml_file_2 = strdup(optarg); optarg 98 tools/crm_diff.c original_string_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 105 tools/crm_diff.c options.xml_file_1 = strdup(optarg); optarg 110 tools/crm_diff.c patch_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 117 tools/crm_diff.c options.xml_file_2 = strdup(optarg); optarg 324 tools/crm_mon.c user_include_exclude_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 325 tools/crm_mon.c char *s = crm_strdup_printf("%s=%s", option_name, optarg); optarg 332 tools/crm_mon.c include_exclude_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 333 tools/crm_mon.c char *s = crm_strdup_printf("%s=%s", option_name, optarg); optarg 340 tools/crm_mon.c as_cgi_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 352 tools/crm_mon.c as_html_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 362 tools/crm_mon.c if (optarg != NULL) { optarg 363 tools/crm_mon.c args->output_dest = strdup(optarg); optarg 373 tools/crm_mon.c as_simple_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 385 tools/crm_mon.c as_xml_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 396 tools/crm_mon.c fence_history_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 397 tools/crm_mon.c if (optarg == NULL) { optarg 400 tools/crm_mon.c pcmk__scan_min_int(optarg, &interactive_fence_level, 0); optarg 431 tools/crm_mon.c group_by_node_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 437 tools/crm_mon.c hide_headers_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 442 tools/crm_mon.c inactive_resources_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 448 tools/crm_mon.c no_curses_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 454 tools/crm_mon.c print_brief_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 460 tools/crm_mon.c print_detail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 466 tools/crm_mon.c print_timing_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 472 tools/crm_mon.c reconnect_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 473 tools/crm_mon.c int rc = crm_get_msec(optarg); optarg 476 tools/crm_mon.c g_set_error(err, PCMK__EXITC_ERROR, CRM_EX_INVALID_PARAM, "Invalid value for -i: %s", optarg); optarg 479 tools/crm_mon.c options.reconnect_ms = crm_parse_interval_spec(optarg); optarg 486 tools/crm_mon.c show_attributes_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 491 tools/crm_mon.c show_bans_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 492 tools/crm_mon.c if (optarg != NULL) { optarg 493 tools/crm_mon.c char *s = crm_strdup_printf("bans:%s", optarg); optarg 503 tools/crm_mon.c show_failcounts_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 508 tools/crm_mon.c show_operations_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 513 tools/crm_mon.c show_tickets_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 518 tools/crm_mon.c use_cib_file_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **err) { optarg 519 tools/crm_mon.c setenv("CIB_file", optarg, 1); optarg 40 tools/crm_node.c gboolean command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 41 tools/crm_node.c gboolean name_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 42 tools/crm_node.c gboolean remove_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 94 tools/crm_node.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 114 tools/crm_node.c name_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 116 tools/crm_node.c pcmk__scan_min_int(optarg, &(options.nodeid), 0); optarg 121 tools/crm_node.c remove_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 122 tools/crm_node.c if (optarg == NULL) { optarg 130 tools/crm_node.c options.target_uname = strdup(optarg); optarg 138 tools/crm_resource.c gboolean agent_provider_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 139 tools/crm_resource.c gboolean attr_set_type_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 140 tools/crm_resource.c gboolean class_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 141 tools/crm_resource.c gboolean cleanup_refresh_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 142 tools/crm_resource.c gboolean delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 143 tools/crm_resource.c gboolean expired_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 144 tools/crm_resource.c gboolean list_agents_cb(const gchar *option_name, const gchar *optarg, optarg 146 tools/crm_resource.c gboolean list_providers_cb(const gchar *option_name, const gchar *optarg, optarg 148 tools/crm_resource.c gboolean list_standards_cb(const gchar *option_name, const gchar *optarg, optarg 150 tools/crm_resource.c gboolean list_alternatives_cb(const gchar *option_name, const gchar *optarg, optarg 152 tools/crm_resource.c gboolean metadata_cb(const gchar *option_name, const gchar *optarg, optarg 154 tools/crm_resource.c gboolean option_cb(const gchar *option_name, const gchar *optarg, optarg 156 tools/crm_resource.c gboolean fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 157 tools/crm_resource.c gboolean flag_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 158 tools/crm_resource.c gboolean get_param_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 159 tools/crm_resource.c gboolean list_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 160 tools/crm_resource.c gboolean set_delete_param_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 161 tools/crm_resource.c gboolean set_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 162 tools/crm_resource.c gboolean timeout_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 163 tools/crm_resource.c gboolean validate_or_force_cb(const gchar *option_name, const gchar *optarg, optarg 165 tools/crm_resource.c gboolean restart_cb(const gchar *option_name, const gchar *optarg, optarg 167 tools/crm_resource.c gboolean digests_cb(const gchar *option_name, const gchar *optarg, optarg 169 tools/crm_resource.c gboolean wait_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 170 tools/crm_resource.c gboolean why_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 631 tools/crm_resource.c agent_provider_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 639 tools/crm_resource.c options.v_provider = strdup(optarg); optarg 644 tools/crm_resource.c options.v_agent = strdup(optarg); optarg 651 tools/crm_resource.c attr_set_type_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 662 tools/crm_resource.c class_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 667 tools/crm_resource.c options.v_class = strdup(optarg); optarg 675 tools/crm_resource.c cleanup_refresh_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 691 tools/crm_resource.c delete_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 699 tools/crm_resource.c expired_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 706 tools/crm_resource.c get_agent_spec(const gchar *optarg) optarg 715 tools/crm_resource.c if (optarg != NULL) { optarg 716 tools/crm_resource.c options.agent_spec = strdup(optarg); optarg 721 tools/crm_resource.c list_agents_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 725 tools/crm_resource.c get_agent_spec(optarg); optarg 730 tools/crm_resource.c list_providers_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 734 tools/crm_resource.c get_agent_spec(optarg); optarg 739 tools/crm_resource.c list_standards_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 750 tools/crm_resource.c list_alternatives_cb(const gchar *option_name, const gchar *optarg, optarg 754 tools/crm_resource.c get_agent_spec(optarg); optarg 759 tools/crm_resource.c metadata_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 763 tools/crm_resource.c get_agent_spec(optarg); optarg 768 tools/crm_resource.c option_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 774 tools/crm_resource.c if (pcmk__scan_nvpair(optarg, &name, &value) != 2) { optarg 785 tools/crm_resource.c fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 793 tools/crm_resource.c flag_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 824 tools/crm_resource.c get_param_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 835 tools/crm_resource.c options.prop_name = strdup(optarg); optarg 841 tools/crm_resource.c list_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 859 tools/crm_resource.c set_delete_param_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 870 tools/crm_resource.c options.prop_name = strdup(optarg); optarg 876 tools/crm_resource.c set_prop_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 883 tools/crm_resource.c options.prop_name = strdup(optarg); optarg 890 tools/crm_resource.c timeout_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 891 tools/crm_resource.c options.timeout_ms = crm_get_msec(optarg); optarg 896 tools/crm_resource.c validate_or_force_cb(const gchar *option_name, const gchar *optarg, optarg 909 tools/crm_resource.c if (optarg != NULL) { optarg 910 tools/crm_resource.c if (pcmk__scan_min_int(optarg, &options.check_level, 0) != pcmk_rc_ok) { optarg 912 tools/crm_resource.c "Invalid check level setting: %s", optarg); optarg 921 tools/crm_resource.c restart_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 930 tools/crm_resource.c digests_cb(const gchar *option_name, const gchar *optarg, gpointer data, optarg 944 tools/crm_resource.c wait_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 952 tools/crm_resource.c why_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 41 tools/crm_rule.c static gboolean mode_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 71 tools/crm_rule.c mode_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 301 tools/crm_shadow.c validation = optarg; optarg 309 tools/crm_shadow.c shadow = strdup(optarg); optarg 316 tools/crm_shadow.c shadow = strdup(optarg); optarg 85 tools/crm_simulate.c in_place_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 93 tools/crm_simulate.c live_check_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 103 tools/crm_simulate.c node_down_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 105 tools/crm_simulate.c options.node_down = g_list_append(options.node_down, (gchar *) g_strdup(optarg)); optarg 110 tools/crm_simulate.c node_fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 112 tools/crm_simulate.c options.node_fail = g_list_append(options.node_fail, (gchar *) g_strdup(optarg)); optarg 117 tools/crm_simulate.c node_up_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 120 tools/crm_simulate.c options.node_up = g_list_append(options.node_up, (gchar *) g_strdup(optarg)); optarg 125 tools/crm_simulate.c op_fail_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 128 tools/crm_simulate.c options.op_fail = g_list_append(options.op_fail, (gchar *) g_strdup(optarg)); optarg 133 tools/crm_simulate.c op_inject_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 135 tools/crm_simulate.c options.op_inject = g_list_append(options.op_inject, (gchar *) g_strdup(optarg)); optarg 140 tools/crm_simulate.c quorum_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 146 tools/crm_simulate.c options.quorum = strdup(optarg); optarg 151 tools/crm_simulate.c save_dotfile_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 157 tools/crm_simulate.c options.dot_file = strdup(optarg); optarg 162 tools/crm_simulate.c save_graph_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 168 tools/crm_simulate.c options.graph_file = strdup(optarg); optarg 173 tools/crm_simulate.c show_scores_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 180 tools/crm_simulate.c simulate_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 187 tools/crm_simulate.c ticket_activate_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 189 tools/crm_simulate.c options.ticket_activate = g_list_append(options.ticket_activate, (gchar *) g_strdup(optarg)); optarg 194 tools/crm_simulate.c ticket_grant_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 196 tools/crm_simulate.c options.ticket_grant = g_list_append(options.ticket_grant, (gchar *) g_strdup(optarg)); optarg 201 tools/crm_simulate.c ticket_revoke_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 203 tools/crm_simulate.c options.ticket_revoke = g_list_append(options.ticket_revoke, (gchar *) g_strdup(optarg)); optarg 208 tools/crm_simulate.c ticket_standby_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 210 tools/crm_simulate.c options.ticket_standby = g_list_append(options.ticket_standby, (gchar *) g_strdup(optarg)); optarg 215 tools/crm_simulate.c utilization_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 222 tools/crm_simulate.c watchdog_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 228 tools/crm_simulate.c options.watchdog = strdup(optarg); optarg 233 tools/crm_simulate.c xml_file_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 238 tools/crm_simulate.c options.xml_file = strdup(optarg); optarg 243 tools/crm_simulate.c xml_pipe_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 756 tools/crm_ticket.c ticket_id = optarg; optarg 782 tools/crm_ticket.c get_attr_name = optarg; optarg 786 tools/crm_ticket.c attr_name = optarg; optarg 795 tools/crm_ticket.c attr_delete = g_list_append(attr_delete, optarg); optarg 802 tools/crm_ticket.c attr_value = optarg; optarg 811 tools/crm_ticket.c attr_default = optarg; optarg 817 tools/crm_ticket.c xml_file = optarg; optarg 820 tools/crm_ticket.c set_name = optarg; optarg 823 tools/crm_ticket.c attr_id = optarg; optarg 37 tools/crmadmin.c char *optarg; optarg 41 tools/crmadmin.c .optarg = NULL, optarg 46 tools/crmadmin.c gboolean command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 100 tools/crmadmin.c command_cb(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) optarg 104 tools/crmadmin.c crm_trace("Option %c => %s", 'S', optarg); optarg 120 tools/crmadmin.c options.timeout = crm_parse_interval_spec(optarg); optarg 127 tools/crmadmin.c if (optarg) { optarg 128 tools/crmadmin.c if (options.optarg != NULL) { optarg 129 tools/crmadmin.c free(options.optarg); optarg 131 tools/crmadmin.c options.optarg = strdup(optarg); optarg 244 tools/crmadmin.c rc = pcmk__controller_status(out, options.optarg, options.timeout); optarg 250 tools/crmadmin.c rc = pcmk__list_nodes(out, options.optarg, options.BASH_EXPORT); optarg 150 tools/iso8601.c date_time_s = optarg; optarg 153 tools/iso8601.c period_s = optarg; optarg 156 tools/iso8601.c duration_s = optarg; optarg 159 tools/iso8601.c expected_s = optarg; optarg 77 tools/stonith_admin.c gboolean add_env_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 78 tools/stonith_admin.c gboolean add_stonith_device(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 79 tools/stonith_admin.c gboolean add_stonith_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 80 tools/stonith_admin.c gboolean add_tolerance(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 81 tools/stonith_admin.c gboolean set_tag(const gchar *option_name, const gchar *optarg, gpointer data, GError **error); optarg 243 tools/stonith_admin.c add_env_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 244 tools/stonith_admin.c char *key = crm_strdup_printf("OCF_RESKEY_%s", optarg); optarg 249 tools/stonith_admin.c g_set_error(error, PCMK__EXITC_ERROR, CRM_EX_INVALID_PARAM, "Invalid option: -e %s", optarg); optarg 252 tools/stonith_admin.c crm_info("Got: '%s'='%s'", optarg, env); optarg 253 tools/stonith_admin.c options.params = stonith_key_value_add(options.params, optarg, env); optarg 261 tools/stonith_admin.c add_stonith_device(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 262 tools/stonith_admin.c options.devices = stonith_key_value_add(options.devices, NULL, optarg); optarg 267 tools/stonith_admin.c add_tolerance(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 268 tools/stonith_admin.c options.tolerance = crm_get_msec(optarg) / 1000; optarg 273 tools/stonith_admin.c add_stonith_params(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 279 tools/stonith_admin.c crm_info("Scanning: -o %s", optarg); optarg 281 tools/stonith_admin.c rc = pcmk__scan_nvpair(optarg, &name, &value); optarg 285 tools/stonith_admin.c g_set_error(error, PCMK__RC_ERROR, rc, "Invalid option: -o %s: %s", optarg, pcmk_rc_str(rc)); optarg 298 tools/stonith_admin.c set_tag(const gchar *option_name, const gchar *optarg, gpointer data, GError **error) { optarg 300 tools/stonith_admin.c name = crm_strdup_printf("%s.%s", crm_system_name, optarg);