options           111 daemons/based/based_common.c cib_cleanup_query(int options, xmlNode ** data, xmlNode ** output)
options           114 daemons/based/based_common.c     if ((options & cib_no_children)
options           122 daemons/based/based_common.c cib_cleanup_data(int options, xmlNode ** data, xmlNode ** output)
options           130 daemons/based/based_common.c cib_cleanup_output(int options, xmlNode ** data, xmlNode ** output)
options           137 daemons/based/based_common.c cib_cleanup_none(int options, xmlNode ** data, xmlNode ** output)
options           300 daemons/based/based_common.c cib_op_cleanup(int call_type, int options, xmlNode ** input, xmlNode ** output)
options           303 daemons/based/based_common.c     return cib_server_ops[call_type].cleanup(options, input, output);
options            52 daemons/based/based_messages.c cib_process_shutdown_req(const char *op, int options, const char *section, xmlNode * req,
options            76 daemons/based/based_messages.c cib_process_default(const char *op, int options, const char *section, xmlNode * req,
options           100 daemons/based/based_messages.c cib_process_readwrite(const char *op, int options, const char *section, xmlNode * req,
options           155 daemons/based/based_messages.c cib_process_ping(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
options           203 daemons/based/based_messages.c cib_process_sync(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
options           210 daemons/based/based_messages.c cib_process_upgrade_server(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
options           224 daemons/based/based_messages.c             op, options, section, req, input, existing_cib, result_cib, answer);
options           258 daemons/based/based_messages.c                     op, options, section, up, input, existing_cib, result_cib, answer);
options           302 daemons/based/based_messages.c cib_process_sync_one(const char *op, int options, const char *section, xmlNode * req,
options           310 daemons/based/based_messages.c cib_server_process_diff(const char *op, int options, const char *section, xmlNode * req,
options           344 daemons/based/based_messages.c     rc = cib_process_diff(op, options, section, req, input, existing_cib, result_cib, answer);
options           354 daemons/based/based_messages.c         if (options & cib_force_diff) {
options           371 daemons/based/based_messages.c cib_process_replace_svr(const char *op, int options, const char *section, xmlNode * req,
options           377 daemons/based/based_messages.c         cib_process_replace(op, options, section, req, input, existing_cib, result_cib, answer);
options           444 daemons/based/based_messages.c cib_process_delete_absolute(const char *op, int options, const char *section, xmlNode * req,
options            42 daemons/based/based_notify.c static void do_cib_notify(int options, const char *op, xmlNode *update,
options           137 daemons/based/based_notify.c cib_diff_notify(int options, const char *client, const char *call_id, const char *op,
options           175 daemons/based/based_notify.c     do_cib_notify(options, op, update, result, diff, T_CIB_DIFF_NOTIFY);
options           179 daemons/based/based_notify.c do_cib_notify(int options, const char *op, xmlNode * update,
options           101 daemons/based/pacemaker-based.h int cib_process_shutdown_req(const char *op, int options, const char *section,
options           105 daemons/based/pacemaker-based.h int cib_process_default(const char *op, int options, const char *section,
options           108 daemons/based/pacemaker-based.h int cib_process_ping(const char *op, int options, const char *section,
options           111 daemons/based/pacemaker-based.h int cib_process_readwrite(const char *op, int options, const char *section,
options           114 daemons/based/pacemaker-based.h int cib_process_replace_svr(const char *op, int options, const char *section,
options           117 daemons/based/pacemaker-based.h int cib_server_process_diff(const char *op, int options, const char *section,
options           120 daemons/based/pacemaker-based.h int cib_process_sync(const char *op, int options, const char *section,
options           123 daemons/based/pacemaker-based.h int cib_process_sync_one(const char *op, int options, const char *section,
options           126 daemons/based/pacemaker-based.h int cib_process_delete_absolute(const char *op, int options,
options           130 daemons/based/pacemaker-based.h int cib_process_upgrade_server(const char *op, int options, const char *section,
options           143 daemons/based/pacemaker-based.h int cib_op_cleanup(int call_type, int options, xmlNode **input,
options           147 daemons/based/pacemaker-based.h void cib_diff_notify(int options, const char *client, const char *call_id,
options           217 daemons/controld/controld_based.c                            int options)
options           255 daemons/controld/controld_based.c         cib__set_call_options(options, "node state deletion",
options           257 daemons/controld/controld_based.c         call_id = fsa_cib_conn->cmds->remove(fsa_cib_conn, xpath, NULL, options);
options           668 daemons/controld/controld_control.c verify_crmd_options(GHashTable * options)
options           670 daemons/controld/controld_control.c     pcmk__validate_cluster_options(options, crmd_opts, PCMK__NELEM(crmd_opts));
options           674 daemons/controld/controld_control.c crmd_pref(GHashTable * options, const char *name)
options           676 daemons/controld/controld_control.c     return pcmk__cluster_option(options, crmd_opts, PCMK__NELEM(crmd_opts),
options           591 daemons/controld/controld_execd_state.c                        const char *agent, char **output, enum lrmd_call_options options)
options           617 daemons/controld/controld_execd_state.c             class, provider, agent, output, options, params);
options           638 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           652 daemons/controld/controld_execd_state.c         rsc = ((lrmd_t *) lrm_state->conn)->cmds->get_rsc_info(lrm_state->conn, rsc_id, options);
options           696 daemons/controld/controld_execd_state.c                        const char *provider, const char *agent, enum lrmd_call_options options)
options           712 daemons/controld/controld_execd_state.c                                     agent, options);
options           717 daemons/controld/controld_execd_state.c                          const char *rsc_id, enum lrmd_call_options options)
options           735 daemons/controld/controld_execd_state.c     return ((lrmd_t *) lrm_state->conn)->cmds->unregister_rsc(lrm_state->conn, rsc_id, options);
options           828 daemons/controld/controld_fencing.c     uint32_t options = st_opt_none; // Group of enum stonith_call_options
options           833 daemons/controld/controld_fencing.c         stonith__set_call_options(options, target, st_opt_allow_suicide);
options           836 daemons/controld/controld_fencing.c     return stonith_api->cmds->fence_with_delay(stonith_api, options, target,
options           149 daemons/controld/controld_lrm.h                            const char *agent, char **output, enum lrmd_call_options options);
options           158 daemons/controld/controld_lrm.h                                         const char *rsc_id, enum lrmd_call_options options);
options           162 daemons/controld/controld_lrm.h                            const char *provider, const char *agent, enum lrmd_call_options options);
options           164 daemons/controld/controld_lrm.h                              const char *rsc_id, enum lrmd_call_options options);
options            22 daemons/controld/controld_utils.h #  define fsa_cib_update(section, data, options, call_id, user_name)	\
options            26 daemons/controld/controld_utils.h 		NULL, options, user_name);				\
options           111 daemons/controld/controld_utils.h                                 enum controld_section_e section, int options);
options           148 daemons/execd/cts-exec-helper.c } options;
options           163 daemons/execd/cts-exec-helper.c     if (!options.quiet) {    \
options           187 daemons/execd/cts-exec-helper.c     if (options.listen) {
options           188 daemons/execd/cts-exec-helper.c         if (pcmk__str_eq(options.listen, event_buf_v0, pcmk__str_casei)) {
options           203 daemons/execd/cts-exec-helper.c         if (!options.listen) {
options           264 daemons/execd/cts-exec-helper.c     if (!options.no_connect) {
options           273 daemons/execd/cts-exec-helper.c     if (options.timeout) {
options           274 daemons/execd/cts-exec-helper.c         g_timeout_add(options.timeout, timeout_err, NULL);
options           277 daemons/execd/cts-exec-helper.c     if (!options.api_call) {
options           281 daemons/execd/cts-exec-helper.c     if (pcmk__str_eq(options.api_call, "exec", pcmk__str_casei)) {
options           283 daemons/execd/cts-exec-helper.c                                    options.rsc_id,
options           284 daemons/execd/cts-exec-helper.c                                    options.action,
options           286 daemons/execd/cts-exec-helper.c                                    options.interval_ms,
options           287 daemons/execd/cts-exec-helper.c                                    options.timeout,
options           288 daemons/execd/cts-exec-helper.c                                    options.start_delay, exec_call_opts, options.params);
options           295 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "register_rsc", pcmk__str_casei)) {
options           297 daemons/execd/cts-exec-helper.c                                            options.rsc_id,
options           298 daemons/execd/cts-exec-helper.c                                            options.class, options.provider, options.type, 0);
options           299 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "get_rsc_info", pcmk__str_casei)) {
options           302 daemons/execd/cts-exec-helper.c         rsc_info = lrmd_conn->cmds->get_rsc_info(lrmd_conn, options.rsc_id, 0);
options           314 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "unregister_rsc", pcmk__str_casei)) {
options           315 daemons/execd/cts-exec-helper.c         rc = lrmd_conn->cmds->unregister_rsc(lrmd_conn, options.rsc_id, 0);
options           316 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "cancel", pcmk__str_casei)) {
options           317 daemons/execd/cts-exec-helper.c         rc = lrmd_conn->cmds->cancel(lrmd_conn, options.rsc_id, options.action,
options           318 daemons/execd/cts-exec-helper.c                                      options.interval_ms);
options           319 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "metadata", pcmk__str_casei)) {
options           323 daemons/execd/cts-exec-helper.c                                            options.class,
options           324 daemons/execd/cts-exec-helper.c                                            options.provider, options.type, &output, 0);
options           329 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "list_agents", pcmk__str_casei)) {
options           333 daemons/execd/cts-exec-helper.c         rc = lrmd_conn->cmds->list_agents(lrmd_conn, &list, options.class, options.provider);
options           346 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "list_ocf_providers", pcmk__str_casei)) {
options           350 daemons/execd/cts-exec-helper.c         rc = lrmd_conn->cmds->list_ocf_providers(lrmd_conn, options.type, &list);
options           364 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "list_standards", pcmk__str_casei)) {
options           382 daemons/execd/cts-exec-helper.c     } else if (pcmk__str_eq(options.api_call, "get_recurring_ops", pcmk__str_casei)) {
options           385 daemons/execd/cts-exec-helper.c         rc = lrmd_conn->cmds->get_recurring_ops(lrmd_conn, options.rsc_id, 0, 0,
options           398 daemons/execd/cts-exec-helper.c     } else if (options.api_call) {
options           399 daemons/execd/cts-exec-helper.c         print_result(printf("API-CALL FAILURE unknown action '%s'\n", options.action));
options           404 daemons/execd/cts-exec-helper.c         print_result(printf("API-CALL FAILURE for '%s' api_rc:%d\n", options.api_call, rc));
options           408 daemons/execd/cts-exec-helper.c     if (options.api_call && rc == pcmk_ok) {
options           409 daemons/execd/cts-exec-helper.c         print_result(printf("API-CALL SUCCESSFUL for '%s'\n", options.api_call));
options           410 daemons/execd/cts-exec-helper.c         if (!options.listen) {
options           415 daemons/execd/cts-exec-helper.c     if (options.no_wait) {
options           434 daemons/execd/cts-exec-helper.c     if (options.params) {
options           474 daemons/execd/cts-exec-helper.c     if (options.rsc_id) {
options           475 daemons/execd/cts-exec-helper.c         rsc = pe_find_resource_with_flags(data_set->resources, options.rsc_id,
options           496 daemons/execd/cts-exec-helper.c             options.params = lrmd_key_value_add(options.params, key, value);
options           508 daemons/execd/cts-exec-helper.c             options.params = lrmd_key_value_add(options.params, crm_name, value);
options           545 daemons/execd/cts-exec-helper.c                 ++options.verbose;
options           549 daemons/execd/cts-exec-helper.c                 options.quiet = 1;
options           550 daemons/execd/cts-exec-helper.c                 options.verbose = 0;
options           553 daemons/execd/cts-exec-helper.c                 options.listen = optarg;
options           556 daemons/execd/cts-exec-helper.c                 options.no_wait = 1;
options           559 daemons/execd/cts-exec-helper.c                 options.is_running = 1;
options           568 daemons/execd/cts-exec-helper.c                 options.api_call = optarg;
options           571 daemons/execd/cts-exec-helper.c                 options.action = optarg;
options           574 daemons/execd/cts-exec-helper.c                 options.rsc_id = optarg;
options           578 daemons/execd/cts-exec-helper.c                     options.cancel_call_id = atoi(optarg);
options           582 daemons/execd/cts-exec-helper.c                 options.provider = optarg;
options           585 daemons/execd/cts-exec-helper.c                 options.class = optarg;
options           588 daemons/execd/cts-exec-helper.c                 options.type = optarg;
options           592 daemons/execd/cts-exec-helper.c                     options.interval_ms = crm_parse_interval_spec(optarg);
options           597 daemons/execd/cts-exec-helper.c                     options.timeout = atoi(optarg);
options           602 daemons/execd/cts-exec-helper.c                     options.start_delay = atoi(optarg);
options           608 daemons/execd/cts-exec-helper.c                     options.params = lrmd_key_value_add(options.params, key, val);
options           615 daemons/execd/cts-exec-helper.c                     options.params = lrmd_key_value_add(options.params, key, val);
options           635 daemons/execd/cts-exec-helper.c     if (!options.listen && pcmk__strcase_any_of(options.api_call, "metadata", "list_agents",
options           637 daemons/execd/cts-exec-helper.c         options.no_connect = 1;
options           640 daemons/execd/cts-exec-helper.c     crm_log_init(NULL, LOG_INFO, TRUE, (options.verbose? TRUE : FALSE),
options           643 daemons/execd/cts-exec-helper.c     if (options.is_running) {
options           644 daemons/execd/cts-exec-helper.c         if (!options.timeout) {
options           645 daemons/execd/cts-exec-helper.c             options.timeout = 30000;
options           647 daemons/execd/cts-exec-helper.c         options.interval_ms = 0;
options           648 daemons/execd/cts-exec-helper.c         if (!options.rsc_id) {
options           658 daemons/execd/cts-exec-helper.c         options.api_call = "exec";
options           659 daemons/execd/cts-exec-helper.c         options.action = "monitor";
options           665 daemons/execd/cts-exec-helper.c     if (!options.api_call && !options.listen) {
options            80 daemons/fenced/fenced_commands.c     int options;
options           243 daemons/fenced/fenced_commands.c     crm_element_value_int(msg, F_STONITH_CALLOPTS, &(cmd->options));
options          2146 daemons/fenced/fenced_commands.c stonith_send_async_reply(async_command_t * cmd, const char *output, int rc, GPid pid, int options)
options          2167 daemons/fenced/fenced_commands.c     log_operation(cmd, rc, pid, NULL, output, (options & st_reply_opt_merged ? TRUE : FALSE));
options          2170 daemons/fenced/fenced_commands.c     if (options & st_reply_opt_merged) {
options          2184 daemons/fenced/fenced_commands.c                   (cmd->options & st_opt_sync_call) ? "" : "a-", cmd->client_name);
options          2185 daemons/fenced/fenced_commands.c         do_local_reply(reply, cmd->client, cmd->options & st_opt_sync_call, FALSE);
options          2419 daemons/fenced/fenced_commands.c         if (cmd->options & st_opt_cs_nodeid) {
options          2507 daemons/fenced/fenced_commands.c     crm_xml_add_int(reply, F_STONITH_CALLOPTS, cmd->options);
options           433 daemons/fenced/fenced_history.c                       const char *remote_peer, int options)
options           442 daemons/fenced/fenced_history.c         if (target && (options & st_opt_cs_nodeid)) {
options           454 daemons/fenced/fenced_history.c     if (options & st_opt_cleanup) {
options           460 daemons/fenced/fenced_history.c     } else if (options & st_opt_broadcast) {
options          1207 daemons/fenced/fenced_remote.c find_best_peer(const char *device, remote_fencing_op_t * op, enum find_best_peer_options options)
options          1210 daemons/fenced/fenced_remote.c     gboolean verified_devices_only = (options & FIND_PEER_VERIFIED_ONLY) ? TRUE : FALSE;
options          1221 daemons/fenced/fenced_remote.c                   pcmk__plural_s(peer->ndevices), peer->tried, options);
options          1222 daemons/fenced/fenced_remote.c         if ((options & FIND_PEER_SKIP_TARGET) && pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) {
options          1225 daemons/fenced/fenced_remote.c         if ((options & FIND_PEER_TARGET_ONLY) && !pcmk__str_eq(peer->host, op->target, pcmk__str_casei)) {
options           359 daemons/fenced/pacemaker-fenced.c do_stonith_notify(int options, const char *type, int result, xmlNode * data)
options           382 daemons/fenced/pacemaker-fenced.c do_stonith_notify_config(int options, const char *op, int rc,
options           392 daemons/fenced/pacemaker-fenced.c     do_stonith_notify(options, op, rc, notify_data);
options           397 daemons/fenced/pacemaker-fenced.c do_stonith_notify_device(int options, const char *op, int rc, const char *desc)
options           399 daemons/fenced/pacemaker-fenced.c     do_stonith_notify_config(options, op, rc, desc, g_hash_table_size(device_list));
options           403 daemons/fenced/pacemaker-fenced.c do_stonith_notify_level(int options, const char *op, int rc, const char *desc)
options           405 daemons/fenced/pacemaker-fenced.c     do_stonith_notify_config(options, op, rc, desc, g_hash_table_size(topology));
options           240 daemons/fenced/pacemaker-fenced.h void do_stonith_notify(int options, const char *type, int result, xmlNode * data);
options           241 daemons/fenced/pacemaker-fenced.h void do_stonith_notify_device(int options, const char *op, int rc, const char *desc);
options           242 daemons/fenced/pacemaker-fenced.h void do_stonith_notify_level(int options, const char *op, int rc, const char *desc);
options           255 daemons/fenced/pacemaker-fenced.h                           const char *remote_peer, int options);
options            39 daemons/pacemakerd/pacemakerd.c } options;
options            92 daemons/pacemakerd/pacemakerd.c     options.standby = TRUE;
options            98 daemons/pacemakerd/pacemakerd.c     { "features", 'F', 0, G_OPTION_ARG_NONE, &options.features,
options           101 daemons/pacemakerd/pacemakerd.c     { "foreground", 'f', 0, G_OPTION_ARG_NONE, &options.foreground,
options           107 daemons/pacemakerd/pacemakerd.c     { "shutdown", 'S', 0, G_OPTION_ARG_NONE, &options.shutdown,
options           284 daemons/pacemakerd/pacemakerd.c     if (options.features) {
options           299 daemons/pacemakerd/pacemakerd.c     if (options.shutdown) {
options           318 daemons/pacemakerd/pacemakerd.c     if (options.shutdown) {
options            73 include/crm/cib/internal.h gboolean cib_read_config(GHashTable * options, xmlNode * current_cib);
options            74 include/crm/cib/internal.h void verify_cib_options(GHashTable * options);
options           143 include/crm/cib/internal.h int cib_process_query(const char *op, int options, const char *section, xmlNode * req,
options           147 include/crm/cib/internal.h int cib_process_erase(const char *op, int options, const char *section, xmlNode * req,
options           151 include/crm/cib/internal.h int cib_process_bump(const char *op, int options, const char *section, xmlNode * req,
options           155 include/crm/cib/internal.h int cib_process_replace(const char *op, int options, const char *section, xmlNode * req,
options           159 include/crm/cib/internal.h int cib_process_create(const char *op, int options, const char *section, xmlNode * req,
options           163 include/crm/cib/internal.h int cib_process_modify(const char *op, int options, const char *section, xmlNode * req,
options           167 include/crm/cib/internal.h int cib_process_delete(const char *op, int options, const char *section, xmlNode * req,
options           171 include/crm/cib/internal.h int cib_process_diff(const char *op, int options, const char *section, xmlNode * req,
options           175 include/crm/cib/internal.h int cib_process_upgrade(const char *op, int options, const char *section, xmlNode * req,
options           198 include/crm/cib/internal.h int cib_process_xpath(const char *op, int options, const char *section, xmlNode * req,
options            51 include/crm/cib/util.h int delete_attr_delegate(cib_t * the_cib, int options,
options            66 include/crm/cib/util.h const char *cib_pref(GHashTable * options, const char *name);
options            36 include/crm/common/attrd_internal.h                             int options);
options            41 include/crm/common/attrd_internal.h                                   const char *user_name, int options);
options            96 include/crm/common/options_internal.h const char *pcmk__cluster_option(GHashTable *options,
options           104 include/crm/common/options_internal.h void pcmk__validate_cluster_options(GHashTable *options,
options           136 include/crm/common/output_internal.h     GOptionEntry *options;
options           572 include/crm/common/output_internal.h                       pcmk__output_factory_t create, GOptionEntry *options);
options           337 include/crm/lrmd.h                          const char *provider, const char *agent, enum lrmd_call_options options);
options           346 include/crm/lrmd.h                                       const char *rsc_id, enum lrmd_call_options options);
options           354 include/crm/lrmd.h                               enum lrmd_call_options options, GList **output);
options           368 include/crm/lrmd.h     int (*unregister_rsc) (lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options);
options           392 include/crm/lrmd.h                  enum lrmd_call_options options, lrmd_key_value_t * params);    /* ownership of params is given up to api here */
options           435 include/crm/lrmd.h                          const char *agent, char **output, enum lrmd_call_options options);
options           505 include/crm/lrmd.h                                 char **output, enum lrmd_call_options options,
options           144 include/crm/pengine/common.h const char *pe_pref(GHashTable * options, const char *name);
options           223 include/crm/pengine/internal.h void verify_pe_options(GHashTable * options);
options           241 include/crm/pengine/internal.h void native_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data);
options           242 include/crm/pengine/internal.h void group_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data);
options           243 include/crm/pengine/internal.h void clone_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data);
options           244 include/crm/pengine/internal.h void pe__print_bundle(pe_resource_t *rsc, const char *pre_text, long options,
options           518 include/crm/pengine/internal.h void print_rscs_brief(GList *rsc_list, const char * pre_text, long options,
options           520 include/crm/pengine/internal.h int pe__rscs_brief_output(pcmk__output_t *out, GList *rsc_list, unsigned int options);
options           525 include/crm/pengine/internal.h void common_print(pe_resource_t * rsc, const char *pre_text, const char *name, pe_node_t *node, long options, void *print_data);
options           526 include/crm/pengine/internal.h int pe__common_output_text(pcmk__output_t *out, pe_resource_t * rsc, const char *name, pe_node_t *node, unsigned int options);
options           527 include/crm/pengine/internal.h int pe__common_output_html(pcmk__output_t *out, pe_resource_t * rsc, const char *name, pe_node_t *node, unsigned int options);
options           176 include/crm/stonith-ng.h         stonith_t *st, int options, const char *name);
options           187 include/crm/stonith-ng.h         stonith_t *st, int options, const char *id,
options           197 include/crm/stonith-ng.h         stonith_t *st, int options, const char *node, int level);
options           207 include/crm/stonith-ng.h         stonith_t *st, int options, const char *node, int level, stonith_key_value_t *device_list);
options           217 include/crm/stonith-ng.h     int (*metadata)(stonith_t *st, int options,
options           239 include/crm/stonith-ng.h     int (*list)(stonith_t *st, int options, const char *id, char **list_output, int timeout);
options           247 include/crm/stonith-ng.h     int (*monitor)(stonith_t *st, int options, const char *id, int timeout);
options           255 include/crm/stonith-ng.h     int (*status)(stonith_t *st, int options, const char *id, const char *port, int timeout);
options           266 include/crm/stonith-ng.h     int (*query)(stonith_t *st, int options, const char *node,
options           284 include/crm/stonith-ng.h     int (*fence)(stonith_t *st, int options, const char *node, const char *action,
options           293 include/crm/stonith-ng.h     int (*confirm)(stonith_t *st, int options, const char *node);
options           301 include/crm/stonith-ng.h     int (*history)(stonith_t *st, int options, const char *node, stonith_history_t **output, int timeout);
options           328 include/crm/stonith-ng.h         int options,
options           353 include/crm/stonith-ng.h     int (*remove_level_full)(stonith_t *st, int options,
options           373 include/crm/stonith-ng.h     int (*register_level_full)(stonith_t *st, int options,
options           418 include/crm/stonith-ng.h     int (*fence_with_delay)(stonith_t *st, int options, const char *node, const char *action,
options           349 lib/cib/cib_attrs.c delete_attr_delegate(cib_t * the_cib, int options,
options           374 lib/cib/cib_attrs.c                          options | cib_quorum_override, user_name);
options            30 lib/cib/cib_ops.c cib_process_query(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
options            38 lib/cib/cib_ops.c     if (options & cib_xpath) {
options            39 lib/cib/cib_ops.c         return cib_process_xpath(op, options, section, req, input,
options            55 lib/cib/cib_ops.c     } else if (options & cib_no_children) {
options            75 lib/cib/cib_ops.c cib_process_erase(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
options            92 lib/cib/cib_ops.c cib_process_upgrade(const char *op, int options, const char *section, xmlNode * req,
options           115 lib/cib/cib_ops.c                            !(options & cib_verbose));
options           127 lib/cib/cib_ops.c cib_process_bump(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
options           168 lib/cib/cib_ops.c cib_process_replace(const char *op, int options, const char *section, xmlNode * req,
options           177 lib/cib/cib_ops.c     if (options & cib_xpath) {
options           178 lib/cib/cib_ops.c         return cib_process_xpath(op, options, section, req, input,
options           280 lib/cib/cib_ops.c cib_process_delete(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
options           287 lib/cib/cib_ops.c     if (options & cib_xpath) {
options           288 lib/cib/cib_ops.c         return cib_process_xpath(op, options, section, req, input,
options           315 lib/cib/cib_ops.c cib_process_modify(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
options           322 lib/cib/cib_ops.c     if (options & cib_xpath) {
options           323 lib/cib/cib_ops.c         return cib_process_xpath(op, options, section, req, input,
options           351 lib/cib/cib_ops.c         if (options & cib_can_create) {
options           358 lib/cib/cib_ops.c     if(options & cib_mixed_update) {
options           519 lib/cib/cib_ops.c cib_process_create(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
options           545 lib/cib/cib_ops.c         return cib_process_modify(op, options, section, req, input, existing_cib, result_cib,
options           584 lib/cib/cib_ops.c cib_process_diff(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
options           595 lib/cib/cib_ops.c               (pcmk_is_set(options, cib_force_diff)? " (global update)" : ""));
options           675 lib/cib/cib_ops.c cib_process_xpath(const char *op, int options, const char *section, xmlNode * req, xmlNode * input,
options           708 lib/cib/cib_ops.c     if (pcmk__str_eq(op, CIB_OP_DELETE, pcmk__str_casei) && (options & cib_multiple)) {
options           733 lib/cib/cib_ops.c             if ((options & cib_multiple) == 0) {
options           740 lib/cib/cib_ops.c             } else if ((options & cib_multiple) == 0) {
options           750 lib/cib/cib_ops.c             if (options & cib_no_children) {
options           760 lib/cib/cib_ops.c             } else if (options & cib_xpath_address) {
options           804 lib/cib/cib_ops.c             if ((options & cib_multiple) == 0) {
options           209 lib/cib/cib_utils.c         GHashTable *options = pcmk__strkey_table(free, free);
options           211 lib/cib/cib_utils.c         cib_read_config(options, xml);
options           212 lib/cib/cib_utils.c         value = cib_pref(options, "enable-acl");
options           214 lib/cib/cib_utils.c         g_hash_table_destroy(options);
options           658 lib/cib/cib_utils.c verify_cib_options(GHashTable * options)
options           660 lib/cib/cib_utils.c     pcmk__validate_cluster_options(options, cib_opts, PCMK__NELEM(cib_opts));
options           664 lib/cib/cib_utils.c cib_pref(GHashTable * options, const char *name)
options           666 lib/cib/cib_utils.c     return pcmk__cluster_option(options, cib_opts, PCMK__NELEM(cib_opts),
options           671 lib/cib/cib_utils.c cib_read_config(GHashTable * options, xmlNode * current_cib)
options           676 lib/cib/cib_utils.c     if (options == NULL || current_cib == NULL) {
options           682 lib/cib/cib_utils.c     g_hash_table_remove_all(options);
options           687 lib/cib/cib_utils.c                           options, CIB_OPTIONS_FIRST, TRUE, now, NULL);
options           690 lib/cib/cib_utils.c     verify_cib_options(options);
options           136 lib/common/attrd_client.c                         const char *dampen, const char *user_name, int options)
options           205 lib/common/attrd_client.c                     pcmk_is_set(options, pcmk__node_attr_remote));
options           207 lib/common/attrd_client.c                     pcmk_is_set(options, pcmk__node_attr_private));
options           242 lib/common/attrd_client.c                               int options)
options           255 lib/common/attrd_client.c                     pcmk_is_set(options, pcmk__node_attr_remote));
options            82 lib/common/crmcommon_private.h void pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset,
options           110 lib/common/crmcommon_private.h                   int options);
options           463 lib/common/options.c cluster_option_value(GHashTable *options, bool (*validate)(const char *),
options           472 lib/common/options.c     if (options) {
options           473 lib/common/options.c         value = g_hash_table_lookup(options, name);
options           476 lib/common/options.c             value = g_hash_table_lookup(options, old_name);
options           485 lib/common/options.c                 g_hash_table_insert(options, strdup(name), new_value);
options           518 lib/common/options.c     if (options) {
options           520 lib/common/options.c         g_hash_table_insert(options, strdup(name), new_value);
options           537 lib/common/options.c pcmk__cluster_option(GHashTable *options, pcmk__cluster_option_t *option_list,
options           544 lib/common/options.c             value = cluster_option_value(options, option_list[lpc].is_valid,
options           594 lib/common/options.c pcmk__validate_cluster_options(GHashTable *options,
options           598 lib/common/options.c         cluster_option_value(options, option_list[lpc].is_valid,
options            81 lib/common/output.c                       pcmk__output_factory_t create, GOptionEntry *options) {
options            90 lib/common/output.c     if (options != NULL && group != NULL) {
options            91 lib/common/output.c         g_option_group_add_entries(group, options);
options           107 lib/common/output.c         pcmk__register_format(group, entry->name, entry->create, entry->options);
options           471 lib/common/patchset.c     int options = xml_log_option_formatted;
options           607 lib/common/patchset.c         options |= xml_log_option_diff_short;
options           614 lib/common/patchset.c                          0, options|xml_log_option_diff_minus);
options           627 lib/common/patchset.c                          0, options|xml_log_option_diff_plus);
options            88 lib/common/xml.c insert_prefix(int options, char **buffer, int *offset, int *max, int depth)
options            90 lib/common/xml.c     if (options & xml_log_option_formatted) {
options          1420 lib/common/xml.c dump_xml_attr(xmlAttrPtr attr, int options, char **buffer, int *offset, int *max)
options          1445 lib/common/xml.c              const char *prefix, xmlNode *data, int depth, int options)
options          1460 lib/common/xml.c     if (pcmk_is_set(options, xml_log_option_open)) {
options          1463 lib/common/xml.c         insert_prefix(options, &buffer, &offset, &max, depth);
options          1482 lib/common/xml.c                 } else if (pcmk_any_flags_set(options,
options          1502 lib/common/xml.c             } else if (pcmk_is_set(options, xml_log_option_children)) {
options          1520 lib/common/xml.c     } else if (pcmk_is_set(options, xml_log_option_children)) {
options          1528 lib/common/xml.c                          options|xml_log_option_open|xml_log_option_close);
options          1532 lib/common/xml.c     if (pcmk_is_set(options, xml_log_option_close)) {
options          1535 lib/common/xml.c         insert_prefix(options, &buffer, &offset, &max, depth);
options          1546 lib/common/xml.c                 const char *prefix, xmlNode *data, int depth, int options)
options          1564 lib/common/xml.c                      options|xml_log_option_open|xml_log_option_close
options          1574 lib/common/xml.c         insert_prefix(options, &spaces, &s_count, &s_max, depth);
options          1588 lib/common/xml.c                      options|xml_log_option_open);
options          1626 lib/common/xml.c                             depth + 1, options);
options          1630 lib/common/xml.c                      options|xml_log_option_close);
options          1636 lib/common/xml.c                             depth + 1, options);
options          1646 lib/common/xml.c                  const char *prefix, xmlNode * data, int depth, int options)
options          1667 lib/common/xml.c     if (pcmk_is_set(options, xml_log_option_dirty_add)) {
options          1669 lib/common/xml.c                         options);
options          1673 lib/common/xml.c     if (pcmk_is_set(options, xml_log_option_formatted)) {
options          1674 lib/common/xml.c         if (pcmk_is_set(options, xml_log_option_diff_plus)
options          1676 lib/common/xml.c             options |= xml_log_option_diff_all;
options          1681 lib/common/xml.c         } else if (pcmk_is_set(options, xml_log_option_diff_minus)
options          1683 lib/common/xml.c             options |= xml_log_option_diff_all;
options          1690 lib/common/xml.c     if (pcmk_is_set(options, xml_log_option_diff_short)
options          1691 lib/common/xml.c                && !pcmk_is_set(options, xml_log_option_diff_all)) {
options          1695 lib/common/xml.c             log_data_element(log_level, file, function, line, prefix, a_child, depth + 1, options);
options          1699 lib/common/xml.c                      options|xml_log_option_open|xml_log_option_close
options          1706 lib/common/xml.c dump_filtered_xml(xmlNode * data, int options, char **buffer, int *offset, int *max)
options          1710 lib/common/xml.c             dump_xml_attr(a, options, buffer, offset, max);
options          1716 lib/common/xml.c dump_xml_element(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth)
options          1737 lib/common/xml.c     insert_prefix(options, buffer, offset, max, depth);
options          1740 lib/common/xml.c     if (options & xml_log_option_filtered) {
options          1741 lib/common/xml.c         dump_filtered_xml(data, options, buffer, offset, max);
options          1745 lib/common/xml.c             dump_xml_attr(a, options, buffer, offset, max);
options          1756 lib/common/xml.c     if (options & xml_log_option_formatted) {
options          1763 lib/common/xml.c             pcmk__xml2text(xChild, options, buffer, offset, max, depth + 1);
options          1766 lib/common/xml.c         insert_prefix(options, buffer, offset, max, depth);
options          1769 lib/common/xml.c         if (options & xml_log_option_formatted) {
options          1776 lib/common/xml.c dump_xml_text(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth)
options          1792 lib/common/xml.c     insert_prefix(options, buffer, offset, max, depth);
options          1796 lib/common/xml.c     if (options & xml_log_option_formatted) {
options          1802 lib/common/xml.c dump_xml_cdata(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth)
options          1818 lib/common/xml.c     insert_prefix(options, buffer, offset, max, depth);
options          1824 lib/common/xml.c     if (options & xml_log_option_formatted) {
options          1830 lib/common/xml.c dump_xml_comment(xmlNode * data, int options, char **buffer, int *offset, int *max, int depth)
options          1846 lib/common/xml.c     insert_prefix(options, buffer, offset, max, depth);
options          1852 lib/common/xml.c     if (options & xml_log_option_formatted) {
options          1871 lib/common/xml.c pcmk__xml2text(xmlNode *data, int options, char **buffer, int *offset,
options          1880 lib/common/xml.c     if (!pcmk_is_set(options, xml_log_option_filtered)
options          1881 lib/common/xml.c         && pcmk_is_set(options, xml_log_option_full_fledged)) {
options          1913 lib/common/xml.c                           (options & xml_log_option_formatted), NULL);
options          1937 lib/common/xml.c             dump_xml_element(data, options, buffer, offset, max, depth);
options          1941 lib/common/xml.c             if (options & xml_log_option_text) {
options          1942 lib/common/xml.c                 dump_xml_text(data, options, buffer, offset, max, depth);
options          1946 lib/common/xml.c             dump_xml_comment(data, options, buffer, offset, max, depth);
options          1949 lib/common/xml.c             dump_xml_cdata(data, options, buffer, offset, max, depth);
options           342 lib/fencing/st_client.c stonith_api_remove_level_full(stonith_t *st, int options,
options           366 lib/fencing/st_client.c     rc = stonith_send_command(st, STONITH_OP_LEVEL_DEL, data, NULL, options, 0);
options           373 lib/fencing/st_client.c stonith_api_remove_level(stonith_t * st, int options, const char *node, int level)
options           375 lib/fencing/st_client.c     return stonith_api_remove_level_full(st, options, node,
options           436 lib/fencing/st_client.c stonith_api_register_level_full(stonith_t * st, int options, const char *node,
options           446 lib/fencing/st_client.c     rc = stonith_send_command(st, STONITH_OP_LEVEL_ADD, data, NULL, options, 0);
options           453 lib/fencing/st_client.c stonith_api_register_level(stonith_t * st, int options, const char *node, int level,
options           456 lib/fencing/st_client.c     return stonith_api_register_level_full(st, options, node, NULL, NULL, NULL,
options          1650 lib/fencing/st_client.c stonith_api_add_callback(stonith_t * stonith, int call_id, int timeout, int options,
options          1665 lib/fencing/st_client.c         if (!(options & st_opt_report_only_success)) {
options          1676 lib/fencing/st_client.c     blob->only_success = (options & st_opt_report_only_success) ? TRUE : FALSE;
options          1679 lib/fencing/st_client.c     blob->allow_timeout_updates = (options & st_opt_timeout_updates) ? TRUE : FALSE;
options           512 lib/lrmd/lrmd_client.c                enum lrmd_call_options options)
options           524 lib/lrmd/lrmd_client.c     crm_xml_add_int(op_msg, F_LRMD_CALLOPTS, options);
options           531 lib/lrmd/lrmd_client.c               op, (long)options, options);
options           843 lib/lrmd/lrmd_client.c                   enum lrmd_call_options options, gboolean expect_reply)
options           863 lib/lrmd/lrmd_client.c     op_msg = lrmd_create_op(native->token, op, data, timeout, options);
options          1670 lib/lrmd/lrmd_client.c                       const char *provider, const char *type, enum lrmd_call_options options)
options          1690 lib/lrmd/lrmd_client.c     rc = lrmd_send_command(lrmd, LRMD_OP_RSC_REG, data, NULL, 0, options, TRUE);
options          1697 lib/lrmd/lrmd_client.c lrmd_api_unregister_rsc(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options)
options          1704 lib/lrmd/lrmd_client.c     rc = lrmd_send_command(lrmd, LRMD_OP_RSC_UNREG, data, NULL, 0, options, TRUE);
options          1757 lib/lrmd/lrmd_client.c lrmd_api_get_rsc_info(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options)
options          1768 lib/lrmd/lrmd_client.c     lrmd_send_command(lrmd, LRMD_OP_RSC_INFO, data, &output, 0, options, TRUE);
options          1807 lib/lrmd/lrmd_client.c                            enum lrmd_call_options options, GList **output)
options          1825 lib/lrmd/lrmd_client.c                            timeout_ms, options, TRUE);
options          1929 lib/lrmd/lrmd_client.c                       enum lrmd_call_options options)
options          1932 lib/lrmd/lrmd_client.c                                            output, options, NULL);
options          1938 lib/lrmd/lrmd_client.c                              char **output, enum lrmd_call_options options,
options          1995 lib/lrmd/lrmd_client.c               enum lrmd_call_options options, lrmd_key_value_t * params)
options          2014 lib/lrmd/lrmd_client.c     rc = lrmd_send_command(lrmd, LRMD_OP_RSC_EXEC, data, NULL, timeout, options, TRUE);
options           247 lib/pengine/bundle.c             if(mount->options) {
options           248 lib/pengine/bundle.c                 offset += snprintf(buffer+offset, max-offset, ":%s", mount->options);
options           413 lib/pengine/bundle.c             if(mount->options) {
options           414 lib/pengine/bundle.c                 offset += snprintf(buffer+offset, max-offset, ":%s", mount->options);
options           572 lib/pengine/bundle.c                 if(mount->options) {
options           573 lib/pengine/bundle.c                     offset += snprintf(buffer+offset, max-offset, ",%s", mount->options);
options           580 lib/pengine/bundle.c                 if(mount->options) {
options           581 lib/pengine/bundle.c                     offset += snprintf(buffer+offset, max-offset, ",%s", mount->options);
options           892 lib/pengine/bundle.c           const char *target, const char *options, uint32_t flags)
options           898 lib/pengine/bundle.c     if (options) {
options           899 lib/pengine/bundle.c         mount->options = strdup(options);
options           910 lib/pengine/bundle.c     free(mount->options);
options          1121 lib/pengine/bundle.c         const char *options = crm_element_value(xml_child, "options");
options          1131 lib/pengine/bundle.c             mount_add(bundle_data, source, target, options, flags);
options          1406 lib/pengine/bundle.c print_rsc_in_list(pe_resource_t *rsc, const char *pre_text, long options,
options          1410 lib/pengine/bundle.c         if (options & pe_print_html) {
options          1413 lib/pengine/bundle.c         rsc->fns->print(rsc, pre_text, options, print_data);
options          1414 lib/pengine/bundle.c         if (options & pe_print_html) {
options          1434 lib/pengine/bundle.c bundle_print_xml(pe_resource_t *rsc, const char *pre_text, long options,
options          1463 lib/pengine/bundle.c         print_rsc_in_list(replica->ip, child_text, options, print_data);
options          1464 lib/pengine/bundle.c         print_rsc_in_list(replica->child, child_text, options, print_data);
options          1465 lib/pengine/bundle.c         print_rsc_in_list(replica->container, child_text, options, print_data);
options          1466 lib/pengine/bundle.c         print_rsc_in_list(replica->remote, child_text, options, print_data);
options          1827 lib/pengine/bundle.c                      long options, void *print_data)
options          1852 lib/pengine/bundle.c     common_print(rsc, pre_text, buffer, node, options, print_data);
options          1856 lib/pengine/bundle.c pe__print_bundle(pe_resource_t *rsc, const char *pre_text, long options,
options          1863 lib/pengine/bundle.c     if (options & pe_print_xml) {
options          1864 lib/pengine/bundle.c         bundle_print_xml(rsc, pre_text, options, print_data);
options          1879 lib/pengine/bundle.c     if (options & pe_print_html) {
options          1889 lib/pengine/bundle.c         if (options & pe_print_html) {
options          1893 lib/pengine/bundle.c         if (pcmk_is_set(options, pe_print_implicit)) {
options          1898 lib/pengine/bundle.c             if (options & pe_print_html) {
options          1901 lib/pengine/bundle.c             print_rsc_in_list(replica->ip, child_text, options, print_data);
options          1902 lib/pengine/bundle.c             print_rsc_in_list(replica->container, child_text, options, print_data);
options          1903 lib/pengine/bundle.c             print_rsc_in_list(replica->remote, child_text, options, print_data);
options          1904 lib/pengine/bundle.c             print_rsc_in_list(replica->child, child_text, options, print_data);
options          1905 lib/pengine/bundle.c             if (options & pe_print_html) {
options          1910 lib/pengine/bundle.c             print_bundle_replica(replica, child_text, options, print_data);
options          1914 lib/pengine/bundle.c         if (options & pe_print_html) {
options          1918 lib/pengine/bundle.c     if (options & pe_print_html) {
options           318 lib/pengine/clone.c short_print(char *list, const char *prefix, const char *type, const char *suffix, long options, void *print_data)
options           325 lib/pengine/clone.c         if (options & pe_print_html) {
options           330 lib/pengine/clone.c         if (options & pe_print_html) {
options           333 lib/pengine/clone.c         } else if (options & pe_print_suppres_nl) {
options           335 lib/pengine/clone.c         } else if ((options & pe_print_printf) || (options & pe_print_ncurses)) {
options           367 lib/pengine/clone.c clone_print_xml(pe_resource_t * rsc, const char *pre_text, long options, void *print_data)
options           390 lib/pengine/clone.c         child_rsc->fns->print(child_rsc, child_text, options, print_data);
options           428 lib/pengine/clone.c clone_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data)
options           447 lib/pengine/clone.c     if (options & pe_print_xml) {
options           448 lib/pengine/clone.c         clone_print_xml(rsc, pre_text, options, print_data);
options           462 lib/pengine/clone.c     if (options & pe_print_html) {
options           465 lib/pengine/clone.c     } else if ((options & pe_print_log) == 0) {
options           474 lib/pengine/clone.c         if (options & pe_print_clone_details) {
options           486 lib/pengine/clone.c         } else if (pcmk_is_set(options, pe_print_pending)
options           495 lib/pengine/clone.c                 && !pcmk_is_set(options, pe_print_clone_active)) {
options           537 lib/pengine/clone.c             if (options & pe_print_html) {
options           540 lib/pengine/clone.c             child_rsc->fns->print(child_rsc, child_text, options, print_data);
options           541 lib/pengine/clone.c             if (options & pe_print_html) {
options           556 lib/pengine/clone.c     short_print(list_text, child_text, PROMOTED_INSTANCES, NULL, options,
options           577 lib/pengine/clone.c                         UNPROMOTED_INSTANCES " (target-role)", NULL, options,
options           581 lib/pengine/clone.c                         options, print_data);
options           585 lib/pengine/clone.c         short_print(list_text, child_text, "Started", NULL, options, print_data);
options           593 lib/pengine/clone.c     if (!pcmk_is_set(options, pe_print_clone_active)) {
options           631 lib/pengine/clone.c         short_print(stopped_list, child_text, state, NULL, options, print_data);
options           635 lib/pengine/clone.c     if (options & pe_print_html) {
options           302 lib/pengine/common.c verify_pe_options(GHashTable * options)
options           304 lib/pengine/common.c     pcmk__validate_cluster_options(options, pe_opts, PCMK__NELEM(pe_opts));
options           308 lib/pengine/common.c pe_pref(GHashTable * options, const char *name)
options           310 lib/pengine/common.c     return pcmk__cluster_option(options, pe_opts, PCMK__NELEM(pe_opts), name);
options           189 lib/pengine/group.c group_print_xml(pe_resource_t * rsc, const char *pre_text, long options, void *print_data)
options           201 lib/pengine/group.c         child_rsc->fns->print(child_rsc, child_text, options, print_data);
options           209 lib/pengine/group.c group_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data)
options           218 lib/pengine/group.c     if (options & pe_print_xml) {
options           219 lib/pengine/group.c         group_print_xml(rsc, pre_text, options, print_data);
options           227 lib/pengine/group.c     if (options & pe_print_html) {
options           230 lib/pengine/group.c     } else if ((options & pe_print_log) == 0) {
options           234 lib/pengine/group.c     if (options & pe_print_brief) {
options           235 lib/pengine/group.c         print_rscs_brief(rsc->children, child_text, options, print_data, TRUE);
options           241 lib/pengine/group.c             if (options & pe_print_html) {
options           244 lib/pengine/group.c             child_rsc->fns->print(child_rsc, child_text, options, print_data);
options           245 lib/pengine/group.c             if (options & pe_print_html) {
options           251 lib/pengine/group.c     if (options & pe_print_html) {
options           370 lib/pengine/native.c     long options;
options           452 lib/pengine/native.c native_print_xml(pe_resource_t * rsc, const char *pre_text, long options, void *print_data)
options           456 lib/pengine/native.c     const char *rsc_state = native_displayable_state(rsc, pcmk_is_set(options, pe_print_pending));
options           483 lib/pengine/native.c     if (options & pe_print_pending) {
options           492 lib/pengine/native.c     if (options & pe_print_rsconly) {
options           764 lib/pengine/native.c common_print(pe_resource_t * rsc, const char *pre_text, const char *name, pe_node_t *node, long options, void *print_data)
options           775 lib/pengine/native.c             && !pcmk_is_set(options, pe_print_implicit)) {
options           783 lib/pengine/native.c     if (options & pe_print_xml) {
options           784 lib/pengine/native.c         native_print_xml(rsc, pre_text, options, print_data);
options           788 lib/pengine/native.c     if ((pre_text == NULL) && (options & pe_print_printf)) {
options           792 lib/pengine/native.c     if (options & pe_print_html) {
options           814 lib/pengine/native.c         gchar *resource_s = pcmk__native_output_string(rsc, name, node, options,
options           820 lib/pengine/native.c     if (pcmk_is_set(options, pe_print_html)) {
options           824 lib/pengine/native.c     if (!pcmk_is_set(options, pe_print_rsconly)
options           830 lib/pengine/native.c         if (options & pe_print_html) {
options           832 lib/pengine/native.c         } else if ((options & pe_print_printf)
options           833 lib/pengine/native.c                    || (options & pe_print_ncurses)) {
options           842 lib/pengine/native.c             if (options & pe_print_html) {
options           845 lib/pengine/native.c             } else if ((options & pe_print_printf)
options           846 lib/pengine/native.c                        || (options & pe_print_ncurses)) {
options           849 lib/pengine/native.c             } else if ((options & pe_print_log)) {
options           855 lib/pengine/native.c             if (options & pe_print_html) {
options           861 lib/pengine/native.c         if (options & pe_print_html) {
options           863 lib/pengine/native.c         } else if ((options & pe_print_printf)
options           864 lib/pengine/native.c                    || (options & pe_print_ncurses)) {
options           869 lib/pengine/native.c     if (options & pe_print_html) {
options           871 lib/pengine/native.c     } else if (options & pe_print_suppres_nl) {
options           873 lib/pengine/native.c     } else if ((options & pe_print_printf) || (options & pe_print_ncurses)) {
options           879 lib/pengine/native.c native_print(pe_resource_t * rsc, const char *pre_text, long options, void *print_data)
options           884 lib/pengine/native.c     if (options & pe_print_xml) {
options           885 lib/pengine/native.c         native_print_xml(rsc, pre_text, options, print_data);
options           896 lib/pengine/native.c     common_print(rsc, pre_text, rsc_printable_id(rsc), node, options, print_data);
options          1184 lib/pengine/native.c print_rscs_brief(GList *rsc_list, const char *pre_text, long options,
options          1213 lib/pengine/native.c             if (options & pe_print_rsconly) {
options          1217 lib/pengine/native.c             if (options & pe_print_html) {
options          1232 lib/pengine/native.c             if (options & pe_print_html) {
options          1238 lib/pengine/native.c             if (options & pe_print_html) {
options          1246 lib/pengine/native.c             if (options & pe_print_html) {
options            18 lib/pengine/pe_status_private.h    if(options & pe_print_html) {           \
options            21 lib/pengine/pe_status_private.h    } else if(options & pe_print_printf || options & pe_print_ncurses) {      \
options            24 lib/pengine/pe_status_private.h    } else if(options & pe_print_xml) {     \
options            27 lib/pengine/pe_status_private.h    } else if(options & pe_print_log) {     \
options            64 lib/pengine/variant.h     char *options;
options           174 libltdl/loaders/dyld.c 						 unsigned long options) = 0;
options           177 libltdl/loaders/dyld.c 						 unsigned long options) = 0;
options            66 maint/mocked/based-notifyfenced.c     if (pcmk_is_set(client->options, cib_notify_diff)
options            82 maint/mocked/based-notifyfenced.c do_cib_notify(pcmk__client_t *cib_client, int options, const char *op,
options           137 maint/mocked/based-notifyfenced.c     int options;
options           140 maint/mocked/based-notifyfenced.c     cib__set_call_options(options, crm_system_name, cib_zero_copy);
options           169 maint/mocked/based-notifyfenced.c         do_cib_notify(cib_client, options, CIB_OP_CREATE, input, pcmk_ok,
options            56 tools/crm_attribute.c } options = {
options            67 tools/crm_attribute.c     options.command = 'D';
options            69 tools/crm_attribute.c     if (options.attr_value) {
options            70 tools/crm_attribute.c         free(options.attr_value);
options            73 tools/crm_attribute.c     options.attr_value = NULL;
options            81 tools/crm_attribute.c     options.promotion_score = TRUE;
options            83 tools/crm_attribute.c     if (options.attr_name) {
options            84 tools/crm_attribute.c         g_free(options.attr_name);
options            89 tools/crm_attribute.c         options.attr_name = g_strdup(score_name);
options            92 tools/crm_attribute.c         options.attr_name = NULL;
options           100 tools/crm_attribute.c     options.command = 'v';
options           102 tools/crm_attribute.c     if (options.attr_value) {
options           103 tools/crm_attribute.c         free(options.attr_value);
options           106 tools/crm_attribute.c     options.attr_value = strdup(optarg);
options           112 tools/crm_attribute.c     if (options.type) {
options           113 tools/crm_attribute.c         g_free(options.type);
options           116 tools/crm_attribute.c     options.type = g_strdup(XML_CIB_TAG_NODES);
options           118 tools/crm_attribute.c     if (options.set_type) {
options           119 tools/crm_attribute.c         free(options.set_type);
options           122 tools/crm_attribute.c     options.set_type = strdup(XML_TAG_UTILIZATION);
options           128 tools/crm_attribute.c     options.command = 'G';
options           130 tools/crm_attribute.c     if (options.attr_value) {
options           131 tools/crm_attribute.c         free(options.attr_value);
options           134 tools/crm_attribute.c     options.attr_value = NULL;
options           139 tools/crm_attribute.c     { "id", 'i', 0, G_OPTION_ARG_STRING, &options.attr_id,
options           145 tools/crm_attribute.c     { "name", 'n', 0, G_OPTION_ARG_STRING, &options.attr_name,
options           150 tools/crm_attribute.c     { "pattern", 'P', 0, G_OPTION_ARG_STRING, &options.attr_pattern,
options           164 tools/crm_attribute.c     { "set-name", 's', 0, G_OPTION_ARG_STRING, &options.set_name,
options           193 tools/crm_attribute.c     { "default", 'd', 0, G_OPTION_ARG_STRING, &options.attr_default,
options           198 tools/crm_attribute.c     { "lifetime", 'l', 0, G_OPTION_ARG_STRING, &options.type,
options           204 tools/crm_attribute.c     { "node", 'N', 0, G_OPTION_ARG_STRING, &options.dest_uname,
options           210 tools/crm_attribute.c     { "type", 't', 0, G_OPTION_ARG_STRING, &options.type,
options           221 tools/crm_attribute.c     { "inhibit-policy-engine", '!', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.inhibit,
options           229 tools/crm_attribute.c     { "attr-id", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.attr_id,
options           233 tools/crm_attribute.c     { "attr-name", 0, G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.attr_name,
options           249 tools/crm_attribute.c     { "node-uname", 'U', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.dest_uname,
options           332 tools/crm_attribute.c     if (options.promotion_score && options.attr_name == NULL) {
options           340 tools/crm_attribute.c     if (options.inhibit) {
options           360 tools/crm_attribute.c     if (options.type == NULL) {
options           361 tools/crm_attribute.c         if (options.promotion_score) {
options           363 tools/crm_attribute.c             options.type = g_strdup(XML_CIB_TAG_STATUS);
options           365 tools/crm_attribute.c         } else if (options.dest_uname != NULL) {
options           367 tools/crm_attribute.c             options.type = g_strdup(XML_CIB_TAG_NODES);
options           371 tools/crm_attribute.c             options.type = g_strdup(XML_CIB_TAG_CRMCONFIG);
options           373 tools/crm_attribute.c     } else if (pcmk__str_eq(options.type, "reboot", pcmk__str_casei)) {
options           374 tools/crm_attribute.c         options.type = g_strdup(XML_CIB_TAG_STATUS);
options           376 tools/crm_attribute.c     } else if (pcmk__str_eq(options.type, "forever", pcmk__str_casei)) {
options           377 tools/crm_attribute.c         options.type = g_strdup(XML_CIB_TAG_NODES);
options           381 tools/crm_attribute.c     if (!pcmk__strcase_any_of(options.type, XML_CIB_TAG_CRMCONFIG, XML_CIB_TAG_TICKETS,
options           387 tools/crm_attribute.c         const char *target = pcmk__node_attr_target(options.dest_uname);
options           390 tools/crm_attribute.c             g_free(options.dest_uname);
options           391 tools/crm_attribute.c             options.dest_uname = g_strdup(target);
options           394 tools/crm_attribute.c         if (options.dest_uname == NULL) {
options           395 tools/crm_attribute.c             options.dest_uname = g_strdup(get_local_node_name());
options           398 tools/crm_attribute.c         rc = query_node_uuid(the_cib, options.dest_uname, &options.dest_node, &is_remote_node);
options           400 tools/crm_attribute.c             fprintf(stderr, "Could not map name=%s to a UUID\n", options.dest_uname);
options           406 tools/crm_attribute.c     if ((options.command == 'D') && (options.attr_name == NULL) && (options.attr_pattern == NULL)) {
options           412 tools/crm_attribute.c     if (options.attr_pattern) {
options           413 tools/crm_attribute.c         if (((options.command != 'v') && (options.command != 'D'))
options           414 tools/crm_attribute.c             || !pcmk__str_eq(options.type, XML_CIB_TAG_STATUS, pcmk__str_casei)) {
options           420 tools/crm_attribute.c         options.command = 'u';
options           421 tools/crm_attribute.c         g_free(options.attr_name);
options           422 tools/crm_attribute.c         options.attr_name = options.attr_pattern;
options           426 tools/crm_attribute.c     try_attrd = pcmk__str_eq(options.type, XML_CIB_TAG_STATUS, pcmk__str_casei);
options           436 tools/crm_attribute.c     if (((options.command == 'v') || (options.command == 'D') || (options.command == 'u')) && try_attrd
options           437 tools/crm_attribute.c         && (pcmk__node_attr_request(NULL, options.command, options.dest_uname, options.attr_name,
options           438 tools/crm_attribute.c                                     options.attr_value, options.type, options.set_name, NULL, NULL,
options           441 tools/crm_attribute.c                  options.attr_name, ((options.command == 'D')? "<none>" : options.attr_value));
options           443 tools/crm_attribute.c     } else if (options.command == 'D') {
options           444 tools/crm_attribute.c         rc = delete_attr_delegate(the_cib, cib_opts, options.type, options.dest_node, options.set_type, options.set_name,
options           445 tools/crm_attribute.c                                   options.attr_id, options.attr_name, options.attr_value, TRUE, NULL);
options           455 tools/crm_attribute.c     } else if (options.command == 'v') {
options           456 tools/crm_attribute.c         CRM_LOG_ASSERT(options.type != NULL);
options           457 tools/crm_attribute.c         CRM_LOG_ASSERT(options.attr_name != NULL);
options           458 tools/crm_attribute.c         CRM_LOG_ASSERT(options.attr_value != NULL);
options           460 tools/crm_attribute.c         rc = update_attr_delegate(the_cib, cib_opts, options.type, options.dest_node, options.set_type, options.set_name,
options           461 tools/crm_attribute.c                                   options.attr_id, options.attr_name, options.attr_value, TRUE, NULL, is_remote_node ? "remote" : NULL);
options           467 tools/crm_attribute.c         rc = read_attr_delegate(the_cib, options.type, options.dest_node, options.set_type, options.set_name,
options           468 tools/crm_attribute.c                                 options.attr_id, options.attr_name, &read_value, TRUE, NULL);
options           470 tools/crm_attribute.c         if (rc == -ENXIO && options.attr_default) {
options           471 tools/crm_attribute.c             read_value = strdup(options.attr_default);
options           476 tools/crm_attribute.c                  options.attr_name, crm_str(read_value), options.set_name ? "in " : "", options.set_name ? options.set_name : "");
options           484 tools/crm_attribute.c                     options.type ? "scope=" : "", options.type ? options.type : "",
options           485 tools/crm_attribute.c                     options.attr_id ? "id=" : "", options.attr_id ? options.attr_id : "",
options           486 tools/crm_attribute.c                     options.attr_name ? "name=" : "", options.attr_name ? options.attr_name : "",
options           508 tools/crm_attribute.c     free(options.attr_default);
options           509 tools/crm_attribute.c     g_free(options.attr_id);
options           510 tools/crm_attribute.c     g_free(options.attr_name);
options           511 tools/crm_attribute.c     free(options.attr_value);
options           512 tools/crm_attribute.c     free(options.dest_node);
options           513 tools/crm_attribute.c     g_free(options.dest_uname);
options           514 tools/crm_attribute.c     g_free(options.set_name);
options           515 tools/crm_attribute.c     free(options.set_type);
options           516 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            89 tools/crm_diff.c     if (options.xml_file_2 != NULL) {
options            90 tools/crm_diff.c         free(options.xml_file_2);
options            93 tools/crm_diff.c     options.xml_file_2 = strdup(optarg);
options            99 tools/crm_diff.c     options.raw_1 = TRUE;
options           101 tools/crm_diff.c     if (options.xml_file_1 != NULL) {
options           102 tools/crm_diff.c         free(options.xml_file_1);
options           105 tools/crm_diff.c     options.xml_file_1 = strdup(optarg);
options           111 tools/crm_diff.c     options.apply = TRUE;
options           113 tools/crm_diff.c     if (options.xml_file_2 != NULL) {
options           114 tools/crm_diff.c         free(options.xml_file_2);
options           117 tools/crm_diff.c     options.xml_file_2 = strdup(optarg);
options           328 tools/crm_diff.c     if (options.apply && options.no_version) {
options           330 tools/crm_diff.c     } else if (options.as_cib && options.no_version) {
options           336 tools/crm_diff.c     if (options.raw_1) {
options           337 tools/crm_diff.c         object_1 = string2xml(options.xml_file_1);
options           339 tools/crm_diff.c     } else if (options.use_stdin) {
options           343 tools/crm_diff.c     } else if (options.xml_file_1 != NULL) {
options           344 tools/crm_diff.c         object_1 = filename2xml(options.xml_file_1);
options           347 tools/crm_diff.c     if (options.raw_2) {
options           348 tools/crm_diff.c         object_2 = string2xml(options.xml_file_2);
options           350 tools/crm_diff.c     } else if (options.use_stdin) {
options           354 tools/crm_diff.c     } else if (options.xml_file_2 != NULL) {
options           355 tools/crm_diff.c         object_2 = filename2xml(options.xml_file_2);
options           369 tools/crm_diff.c     if (options.apply) {
options           370 tools/crm_diff.c         int ret = apply_patch(object_1, object_2, options.as_cib);
options           373 tools/crm_diff.c         int ret = generate_patch(object_1, object_2, options.xml_file_2, options.as_cib, options.no_version);
options           380 tools/crm_diff.c     free(options.xml_file_1);
options           381 tools/crm_diff.c     free(options.xml_file_2);
options            24 tools/crm_error.c } options;
options            27 tools/crm_error.c     { "name", 'n', 0, G_OPTION_ARG_NONE, &options.with_name,
options            31 tools/crm_error.c     { "list", 'l', 0, G_OPTION_ARG_NONE, &options.do_list,
options            34 tools/crm_error.c     { "exit", 'X', 0, G_OPTION_ARG_NONE, &options.as_exit_code,
options            37 tools/crm_error.c     { "rc", 'r', 0, G_OPTION_ARG_NONE, &options.as_rc,
options            47 tools/crm_error.c     if (options.as_exit_code) {
options            50 tools/crm_error.c     } else if (options.as_rc) {
options            99 tools/crm_error.c     if (options.do_list) {
options           103 tools/crm_error.c         if (options.as_rc) {
options           121 tools/crm_error.c             } else if(options.with_name) {
options           141 tools/crm_error.c             if (options.with_name) {
options           132 tools/crm_mon.c } options = {
options           261 tools/crm_mon.c             if (options.neg_location_prefix != NULL) {
options           262 tools/crm_mon.c                 free(options.neg_location_prefix);
options           263 tools/crm_mon.c                 options.neg_location_prefix = NULL;
options           267 tools/crm_mon.c                 options.neg_location_prefix = strdup(*s+5);
options           327 tools/crm_mon.c     options.user_includes_excludes = g_slist_append(options.user_includes_excludes, s);
options           335 tools/crm_mon.c     options.includes_excludes = g_slist_append(options.includes_excludes, s);
options           347 tools/crm_mon.c     options.one_shot = TRUE;
options           380 tools/crm_mon.c     options.one_shot = TRUE;
options           405 tools/crm_mon.c             options.fence_connect = TRUE;
options           410 tools/crm_mon.c             options.fence_connect = TRUE;
options           415 tools/crm_mon.c             options.fence_connect = TRUE;
options           420 tools/crm_mon.c             options.fence_connect = FALSE;
options           479 tools/crm_mon.c         options.reconnect_ms = crm_parse_interval_spec(optarg);
options           520 tools/crm_mon.c     options.one_shot = TRUE;
options           532 tools/crm_mon.c     { "one-shot", '1', 0, G_OPTION_ARG_NONE, &options.one_shot,
options           536 tools/crm_mon.c     { "daemonize", 'd', 0, G_OPTION_ARG_NONE, &options.daemonize,
options           541 tools/crm_mon.c     { "pid-file", 'p', 0, G_OPTION_ARG_FILENAME, &options.pid_file,
options           545 tools/crm_mon.c     { "external-agent", 'E', 0, G_OPTION_ARG_FILENAME, &options.external_agent,
options           549 tools/crm_mon.c     { "external-recipient", 'e', 0, G_OPTION_ARG_STRING, &options.external_recipient,
options           553 tools/crm_mon.c     { "watch-fencing", 'W', 0, G_OPTION_ARG_NONE, &options.watch_fencing,
options           575 tools/crm_mon.c     { "node", 0, 0, G_OPTION_ARG_STRING, &options.only_node,
options           580 tools/crm_mon.c     { "resource", 0, 0, G_OPTION_ARG_STRING, &options.only_rsc,
options           636 tools/crm_mon.c     { "pending", 'j', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.print_pending,
options           697 tools/crm_mon.c     reconnect_timer = g_timeout_add(options.reconnect_ms,
options           728 tools/crm_mon.c         reconnect_timer = g_timeout_add(options.reconnect_ms,
options           776 tools/crm_mon.c     if (options.fence_connect && st == NULL) {
options           780 tools/crm_mon.c     if (!options.fence_connect || st == NULL || st->state != stonith_disconnected) {
options           787 tools/crm_mon.c         if (options.watch_fencing) {
options           873 tools/crm_mon.c             options.fence_connect = TRUE;
options           879 tools/crm_mon.c             options.fence_connect = TRUE;
options           885 tools/crm_mon.c             options.fence_connect = TRUE;
options           892 tools/crm_mon.c             options.fence_connect = FALSE;
options           981 tools/crm_mon.c                 rc = pcmk_poll_ipc(pacemakerd_api, options.reconnect_ms/2);
options          1318 tools/crm_mon.c     } else if (options.one_shot) {
options          1398 tools/crm_mon.c     options.pid_file = strdup("/tmp/ClusterMon.pid");
options          1406 tools/crm_mon.c         options.one_shot = TRUE;
options          1437 tools/crm_mon.c         if (options.watch_fencing) {
options          1439 tools/crm_mon.c             options.fence_connect = TRUE;
options          1465 tools/crm_mon.c                     options.one_shot = TRUE;
options          1482 tools/crm_mon.c         if (options.one_shot) {
options          1487 tools/crm_mon.c         } else if (options.daemonize) {
options          1493 tools/crm_mon.c             if (pcmk__str_eq(args->output_dest, "-", pcmk__str_null_matches | pcmk__str_casei) && !options.external_agent) {
options          1504 tools/crm_mon.c                 pcmk__daemonize(crm_system_name, options.pid_file);
options          1519 tools/crm_mon.c             options.one_shot = TRUE;
options          1557 tools/crm_mon.c     apply_include_exclude(options.includes_excludes, output_format, &error);
options          1563 tools/crm_mon.c     if (!apply_include_exclude(options.user_includes_excludes, output_format, &error)) {
options          1595 tools/crm_mon.c         } else if (options.external_agent != NULL) {
options          1598 tools/crm_mon.c         } else if (options.daemonize == TRUE) {
options          1607 tools/crm_mon.c         if (!options.daemonize) {
options          1608 tools/crm_mon.c             options.one_shot = TRUE;
options          1615 tools/crm_mon.c                               pcmk__itoa(options.reconnect_ms / 1000), NULL);
options          1622 tools/crm_mon.c     if (options.one_shot) {
options          1636 tools/crm_mon.c             pcmk__sleep_ms(options.reconnect_ms);
options          1776 tools/crm_mon.c     crm_debug("Sending external notification to '%s' via '%s'", options.external_recipient, options.external_agent);
options          1781 tools/crm_mon.c     if (options.external_recipient) {
options          1782 tools/crm_mon.c         setenv("CRM_notify_recipient", options.external_recipient, 1);
options          1797 tools/crm_mon.c         execl(options.external_agent, options.external_agent, NULL);
options          1801 tools/crm_mon.c     crm_trace("Finished running custom notification program '%s'.", options.external_agent);
options          1899 tools/crm_mon.c     if (notify && options.external_agent) {
options          2075 tools/crm_mon.c     if (options.external_agent) {
options          2169 tools/crm_mon.c     if (options.daemonize) {
options          2173 tools/crm_mon.c     unames = pe__build_node_name_list(mon_data_set, options.only_node);
options          2174 tools/crm_mon.c     resources = pe__build_rsc_list(mon_data_set, options.only_rsc);
options          2181 tools/crm_mon.c                              options.neg_location_prefix, unames, resources) != 0) {
options          2203 tools/crm_mon.c                          options.neg_location_prefix, unames, resources);
options          2207 tools/crm_mon.c     if (options.daemonize) {
options          2229 tools/crm_mon.c     } else if (options.external_agent) {
options          2275 tools/crm_mon.c         ((now - last_refresh) > (options.reconnect_ms / 1000)) ||
options          2347 tools/crm_mon.c     free(options.neg_location_prefix);
options          2348 tools/crm_mon.c     free(options.only_node);
options          2349 tools/crm_mon.c     free(options.only_rsc);
options          2350 tools/crm_mon.c     free(options.pid_file);
options          2351 tools/crm_mon.c     g_slist_free_full(options.includes_excludes, free);
options          2402 tools/crm_mon.c         if (!options.daemonize) {
options            35 tools/crm_node.c } options = {
options            78 tools/crm_node.c     { "force", 'f', 0, G_OPTION_ARG_NONE, &options.force_flag,
options            83 tools/crm_node.c     { "corosync", 'C', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.corosync,
options            96 tools/crm_node.c         options.command = 'i';
options            98 tools/crm_node.c         options.command = 'l';
options           100 tools/crm_node.c         options.command = 'n';
options           102 tools/crm_node.c         options.command = 'p';
options           104 tools/crm_node.c         options.command = 'q';
options           115 tools/crm_node.c     options.command = 'N';
options           116 tools/crm_node.c     pcmk__scan_min_int(optarg, &(options.nodeid), 0);
options           128 tools/crm_node.c     options.command = 'R';
options           129 tools/crm_node.c     options.dangerous_cmd = TRUE;
options           130 tools/crm_node.c     options.target_uname = strdup(optarg);
options           173 tools/crm_node.c     switch (options.command) {
options           236 tools/crm_node.c                 if (options.command == 'l') {
options           245 tools/crm_node.c             if (options.command == 'p') {
options           555 tools/crm_node.c     if (options.command == 0) {
options           564 tools/crm_node.c     if (options.dangerous_cmd && options.force_flag == FALSE) {
options           572 tools/crm_node.c     switch (options.command) {
options           577 tools/crm_node.c             remove_node(options.target_uname);
options           582 tools/crm_node.c             run_controller_mainloop(options.nodeid, false);
options           115 tools/crm_resource.c } options = {
options           127 tools/crm_resource.c         if (options.rsc_cmd != cmd_none) {                                  \
options           132 tools/crm_resource.c         options.rsc_cmd = (cmd);                                            \
options           135 tools/crm_resource.c #define SET_COMMAND(cmd) do { options.rsc_cmd = (cmd); } while (0)
options           486 tools/crm_resource.c     { "lifetime", 'u', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.move_lifetime,
options           491 tools/crm_resource.c       &options.promoted_role_only,
options           499 tools/crm_resource.c       &options.promoted_role_only,
options           563 tools/crm_resource.c     { "node", 'N', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.host_uname,
options           566 tools/crm_resource.c     { "recursive", 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.recursive,
options           569 tools/crm_resource.c     { "resource-type", 't', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.rsc_type,
options           572 tools/crm_resource.c     { "parameter-value", 'v', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_value,
options           583 tools/crm_resource.c     { "operation", 'n', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.operation,
options           586 tools/crm_resource.c     { "interval", 'I', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.interval_spec,
options           606 tools/crm_resource.c     { "set-name", 's', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_set,
options           609 tools/crm_resource.c     { "nvpair", 'i', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.prop_id,
options           616 tools/crm_resource.c     { "force", 'f', G_OPTION_FLAG_NONE, G_OPTION_ARG_NONE, &options.force,
options           620 tools/crm_resource.c     { "xml-file", 'x', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_FILENAME, &options.xml_file,
options           623 tools/crm_resource.c     { "host-uname", 'H', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_STRING, &options.host_uname,
options           632 tools/crm_resource.c     options.cmdline_config = TRUE;
options           633 tools/crm_resource.c     options.require_resource = FALSE;
options           636 tools/crm_resource.c         if (options.v_provider) {
options           637 tools/crm_resource.c            free(options.v_provider);
options           639 tools/crm_resource.c         options.v_provider = strdup(optarg);
options           641 tools/crm_resource.c         if (options.v_agent) {
options           642 tools/crm_resource.c            free(options.v_agent);
options           644 tools/crm_resource.c         options.v_agent = strdup(optarg);
options           653 tools/crm_resource.c         options.attr_set_type = XML_TAG_META_SETS;
options           655 tools/crm_resource.c         options.attr_set_type = XML_TAG_UTILIZATION;
options           663 tools/crm_resource.c     if (options.v_class != NULL) {
options           664 tools/crm_resource.c         free(options.v_class);
options           667 tools/crm_resource.c     options.v_class = strdup(optarg);
options           669 tools/crm_resource.c     options.cmdline_config = TRUE;
options           670 tools/crm_resource.c     options.require_resource = FALSE;
options           682 tools/crm_resource.c     options.require_resource = FALSE;
options           684 tools/crm_resource.c         options.require_crmd = TRUE;
options           686 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_anon;
options           692 tools/crm_resource.c     options.require_dataset = FALSE;
options           694 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_any;
options           700 tools/crm_resource.c     options.clear_expired = TRUE;
options           701 tools/crm_resource.c     options.require_resource = FALSE;
options           708 tools/crm_resource.c     options.require_cib = FALSE;
options           709 tools/crm_resource.c     options.require_dataset = FALSE;
options           710 tools/crm_resource.c     options.require_resource = FALSE;
options           711 tools/crm_resource.c     if (options.agent_spec != NULL) {
options           712 tools/crm_resource.c         free(options.agent_spec);
options           713 tools/crm_resource.c         options.agent_spec = NULL;
options           716 tools/crm_resource.c         options.agent_spec = strdup(optarg);
options           743 tools/crm_resource.c     options.require_cib = FALSE;
options           744 tools/crm_resource.c     options.require_dataset = FALSE;
options           745 tools/crm_resource.c     options.require_resource = FALSE;
options           777 tools/crm_resource.c     if (options.cmdline_params == NULL) {
options           778 tools/crm_resource.c         options.cmdline_params = pcmk__strkey_table(free, free);
options           780 tools/crm_resource.c     g_hash_table_replace(options.cmdline_params, name, value);
options           786 tools/crm_resource.c     options.require_crmd = TRUE;
options           787 tools/crm_resource.c     options.require_node = TRUE;
options           795 tools/crm_resource.c         options.find_flags = pe_find_renamed|pe_find_anon;
options           798 tools/crm_resource.c         options.find_flags = pe_find_renamed|pe_find_anon;
options           801 tools/crm_resource.c         options.find_flags = pe_find_renamed|pe_find_anon;
options           804 tools/crm_resource.c         options.find_flags = pe_find_renamed|pe_find_any;
options           807 tools/crm_resource.c         options.find_flags = pe_find_renamed|pe_find_any;
options           810 tools/crm_resource.c         options.find_flags = pe_find_renamed|pe_find_anon;
options           813 tools/crm_resource.c         options.find_flags = pe_find_renamed|pe_find_anon;
options           816 tools/crm_resource.c         options.find_flags = pe_find_renamed|pe_find_anon;
options           831 tools/crm_resource.c     if (options.prop_name) {
options           832 tools/crm_resource.c         free(options.prop_name);
options           835 tools/crm_resource.c     options.prop_name = strdup(optarg);
options           836 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_any;
options           854 tools/crm_resource.c     options.require_resource = FALSE;
options           866 tools/crm_resource.c     if (options.prop_name) {
options           867 tools/crm_resource.c         free(options.prop_name);
options           870 tools/crm_resource.c     options.prop_name = strdup(optarg);
options           871 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_any;
options           877 tools/crm_resource.c     options.require_dataset = FALSE;
options           879 tools/crm_resource.c     if (options.prop_name) {
options           880 tools/crm_resource.c         free(options.prop_name);
options           883 tools/crm_resource.c     options.prop_name = strdup(optarg);
options           885 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_any;
options           891 tools/crm_resource.c     options.timeout_ms = crm_get_msec(optarg);
options           900 tools/crm_resource.c     if (options.operation) {
options           901 tools/crm_resource.c         g_free(options.operation);
options           903 tools/crm_resource.c     options.operation = g_strdup(option_name + 2); // skip "--"
options           904 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_anon;
options           905 tools/crm_resource.c     if (options.override_params == NULL) {
options           906 tools/crm_resource.c         options.override_params = pcmk__strkey_table(free, free);
options           910 tools/crm_resource.c         if (pcmk__scan_min_int(optarg, &options.check_level, 0) != pcmk_rc_ok) {
options           925 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_anon;
options           934 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_anon;
options           935 tools/crm_resource.c     if (options.override_params == NULL) {
options           936 tools/crm_resource.c         options.override_params = pcmk__strkey_table(free, free);
options           938 tools/crm_resource.c     options.require_node = TRUE;
options           939 tools/crm_resource.c     options.require_dataset = TRUE;
options           946 tools/crm_resource.c     options.require_resource = FALSE;
options           947 tools/crm_resource.c     options.require_dataset = FALSE;
options           953 tools/crm_resource.c     options.require_resource = FALSE;
options           955 tools/crm_resource.c     options.find_flags = pe_find_renamed|pe_find_anon;
options           971 tools/crm_resource.c         rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL,
options           972 tools/crm_resource.c                               cib_conn, options.cib_options, options.promoted_role_only);
options           990 tools/crm_resource.c             rc = cli_resource_ban(out, options.rsc_id, current->details->uname, move_lifetime, NULL,
options           991 tools/crm_resource.c                                   cib_conn, options.cib_options, options.promoted_role_only);
options          1001 tools/crm_resource.c                         options.rsc_id, nactive, count, options.rsc_id, options.rsc_id);
options          1010 tools/crm_resource.c                     options.rsc_id, nactive, options.rsc_id);
options          1021 tools/crm_resource.c     if (options.force == FALSE) {
options          1026 tools/crm_resource.c               rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes"));
options          1027 tools/crm_resource.c     rc = cli_resource_delete(controld_api, options.host_uname, rsc, options.operation,
options          1028 tools/crm_resource.c                              options.interval_spec, TRUE, data_set, options.force);
options          1054 tools/crm_resource.c     if (options.clear_expired) {
options          1055 tools/crm_resource.c         rc = cli_resource_clear_all_expired(data_set->input, cib_conn, options.cib_options,
options          1056 tools/crm_resource.c                                             options.rsc_id, options.host_uname,
options          1057 tools/crm_resource.c                                             options.promoted_role_only);
options          1059 tools/crm_resource.c     } else if (options.host_uname) {
options          1060 tools/crm_resource.c         dest = pe_find_node(data_set->nodes, options.host_uname);
options          1068 tools/crm_resource.c         rc = cli_resource_clear(options.rsc_id, dest->details->uname, NULL,
options          1069 tools/crm_resource.c                                 cib_conn, options.cib_options, TRUE, options.force);
options          1072 tools/crm_resource.c         rc = cli_resource_clear(options.rsc_id, NULL, data_set->nodes,
options          1073 tools/crm_resource.c                                 cib_conn, options.cib_options, TRUE, options.force);
options          1113 tools/crm_resource.c     if (options.rsc_type == NULL) {
options          1120 tools/crm_resource.c     msg_data = create_xml_node(NULL, options.rsc_type);
options          1121 tools/crm_resource.c     crm_xml_add(msg_data, XML_ATTR_ID, options.rsc_id);
options          1124 tools/crm_resource.c                                 options.cib_options);
options          1173 tools/crm_resource.c     switch (options.rsc_cmd) {
options          1235 tools/crm_resource.c     if (options.xml_file != NULL) {
options          1236 tools/crm_resource.c         *cib_xml_copy = filename2xml(options.xml_file);
options          1271 tools/crm_resource.c     const char *router_node = options.host_uname;
options          1274 tools/crm_resource.c     if (options.host_uname) {
options          1275 tools/crm_resource.c         pe_node_t *node = pe_find_node(data_set->nodes, options.host_uname);
options          1283 tools/crm_resource.c                             options.host_uname);
options          1293 tools/crm_resource.c                   options.host_uname? options.host_uname : "all nodes");
options          1298 tools/crm_resource.c     crm_debug("Re-checking the state of all resources on %s", options.host_uname?options.host_uname:"all nodes");
options          1300 tools/crm_resource.c     rc = pcmk__node_attr_request_clear(NULL, options.host_uname,
options          1304 tools/crm_resource.c     if (pcmk_controld_api_reprobe(controld_api, options.host_uname,
options          1317 tools/crm_resource.c     if (options.force == FALSE) {
options          1322 tools/crm_resource.c               rsc->id, options.rsc_id, (options.host_uname? options.host_uname: "all nodes"));
options          1323 tools/crm_resource.c     rc = cli_resource_delete(controld_api, options.host_uname, rsc, NULL,
options          1324 tools/crm_resource.c                              0, FALSE, data_set, options.force);
options          1342 tools/crm_resource.c     if (pcmk__str_empty(options.rsc_type)) {
options          1348 tools/crm_resource.c     } else if (pcmk__str_empty(options.prop_value)) {
options          1355 tools/crm_resource.c     CRM_LOG_ASSERT(options.prop_name != NULL);
options          1357 tools/crm_resource.c     msg_data = create_xml_node(NULL, options.rsc_type);
options          1358 tools/crm_resource.c     crm_xml_add(msg_data, XML_ATTR_ID, options.rsc_id);
options          1359 tools/crm_resource.c     crm_xml_add(msg_data, options.prop_name, options.prop_value);
options          1362 tools/crm_resource.c                                 options.cib_options);
options          1415 tools/crm_resource.c     if (options.rsc_id != NULL) {
options          1420 tools/crm_resource.c     } else if (options.rsc_cmd != cmd_execute_agent) {
options          1428 tools/crm_resource.c     } else if (pcmk__str_eq(options.v_class, "stonith", pcmk__str_none)) {
options          1429 tools/crm_resource.c         if (options.v_provider != NULL) {
options          1433 tools/crm_resource.c         } else if (stonith_agent_exists(options.v_agent, 0) == FALSE) {
options          1435 tools/crm_resource.c                         "%s is not a known stonith agent", options.v_agent ? options.v_agent : "");
options          1438 tools/crm_resource.c     } else if (resources_agent_exists(options.v_class, options.v_provider, options.v_agent) == FALSE) {
options          1441 tools/crm_resource.c                     options.v_class ? options.v_class : "",
options          1442 tools/crm_resource.c                     options.v_provider ? options.v_provider : "",
options          1443 tools/crm_resource.c                     options.v_agent ? options.v_agent : "");
options          1450 tools/crm_resource.c     if (options.cmdline_params == NULL) {
options          1451 tools/crm_resource.c         options.cmdline_params = pcmk__strkey_table(free, free);
options          1453 tools/crm_resource.c     options.require_resource = FALSE;
options          1454 tools/crm_resource.c     options.require_dataset = FALSE;
options          1455 tools/crm_resource.c     options.require_cib = FALSE;
options          1466 tools/crm_resource.c         { "resource", 'r', G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING, &options.rsc_id,
options          1469 tools/crm_resource.c         { G_OPTION_REMAINING, 0, G_OPTION_FLAG_NONE, G_OPTION_ARG_STRING_ARRAY, &options.remainder,
options          1573 tools/crm_resource.c     if (options.rsc_cmd == cmd_none) {
options          1574 tools/crm_resource.c         options.rsc_cmd = cmd_list_resources;
options          1575 tools/crm_resource.c         options.require_resource = FALSE;
options          1579 tools/crm_resource.c     if (options.clear_expired && (options.rsc_cmd != cmd_clear)) {
options          1585 tools/crm_resource.c     if ((options.remainder != NULL) && (options.override_params != NULL)) {
options          1587 tools/crm_resource.c         for (gchar **s = options.remainder; *s; s++) {
options          1593 tools/crm_resource.c                 g_hash_table_replace(options.override_params, name, value);
options          1606 tools/crm_resource.c     } else if (options.remainder != NULL) {
options          1612 tools/crm_resource.c         for (gchar **s = options.remainder; *s; s++) {
options          1621 tools/crm_resource.c         for (gchar **s = options.remainder; *s; s++) {
options          1643 tools/crm_resource.c         switch (options.rsc_cmd) {
options          1660 tools/crm_resource.c         if (options.rsc_cmd == cmd_colocations || options.rsc_cmd == cmd_colocations_deep ||
options          1661 tools/crm_resource.c             options.rsc_cmd == cmd_list_resources) {
options          1671 tools/crm_resource.c     if (options.cmdline_config) {
options          1681 tools/crm_resource.c     } else if (options.cmdline_params != NULL) {
options          1683 tools/crm_resource.c         g_hash_table_destroy(options.cmdline_params);
options          1684 tools/crm_resource.c         options.cmdline_params = NULL;
options          1687 tools/crm_resource.c     if (options.require_resource && (options.rsc_id == NULL)) {
options          1693 tools/crm_resource.c     if (options.require_node && (options.host_uname == NULL)) {
options          1704 tools/crm_resource.c     if (options.force) {
options          1706 tools/crm_resource.c         cib__set_call_options(options.cib_options, crm_system_name,
options          1710 tools/crm_resource.c     if (options.find_flags && options.rsc_id) {
options          1711 tools/crm_resource.c         options.require_dataset = TRUE;
options          1715 tools/crm_resource.c     if (options.require_cib) {
options          1734 tools/crm_resource.c     if (options.require_dataset) {
options          1743 tools/crm_resource.c     if (options.find_flags && options.rsc_id) {
options          1744 tools/crm_resource.c         rsc = pe_find_resource_with_flags(data_set->resources, options.rsc_id,
options          1745 tools/crm_resource.c                                           options.find_flags);
options          1749 tools/crm_resource.c                         "Resource '%s' not found", options.rsc_id);
options          1755 tools/crm_resource.c     if ((options.host_uname != NULL) && (data_set != NULL)) {
options          1756 tools/crm_resource.c         node = pe_find_node(data_set->nodes, options.host_uname);
options          1760 tools/crm_resource.c     if (options.require_crmd) {
options          1783 tools/crm_resource.c     switch (options.rsc_cmd) {
options          1810 tools/crm_resource.c             rc = list_providers(out, options.agent_spec);
options          1814 tools/crm_resource.c             rc = list_agents(out, options.agent_spec);
options          1818 tools/crm_resource.c             rc = show_metadata(out, options.agent_spec);
options          1827 tools/crm_resource.c             rc = cli_resource_restart(out, rsc, options.host_uname,
options          1828 tools/crm_resource.c                                       options.move_lifetime, options.timeout_ms,
options          1829 tools/crm_resource.c                                       cib_conn, options.cib_options,
options          1830 tools/crm_resource.c                                       options.promoted_role_only,
options          1831 tools/crm_resource.c                                       options.force);
options          1835 tools/crm_resource.c             rc = wait_till_stable(out, options.timeout_ms, cib_conn);
options          1839 tools/crm_resource.c             if (options.cmdline_config) {
options          1841 tools/crm_resource.c                     options.v_class, options.v_provider, options.v_agent,
options          1842 tools/crm_resource.c                     options.operation, options.cmdline_params,
options          1843 tools/crm_resource.c                     options.override_params, options.timeout_ms,
options          1844 tools/crm_resource.c                     args->verbosity, options.force, options.check_level);
options          1846 tools/crm_resource.c                 exit_code = cli_resource_execute(rsc, options.rsc_id,
options          1847 tools/crm_resource.c                     options.operation, options.override_params,
options          1848 tools/crm_resource.c                     options.timeout_ms, cib_conn, data_set,
options          1849 tools/crm_resource.c                     args->verbosity, options.force, options.check_level);
options          1854 tools/crm_resource.c             node = pe_find_node(data_set->nodes, options.host_uname);
options          1859 tools/crm_resource.c                                             options.override_params, data_set);
options          1885 tools/crm_resource.c             rc = cli_resource_fail(controld_api, options.host_uname,
options          1886 tools/crm_resource.c                                    options.rsc_id, data_set);
options          1893 tools/crm_resource.c             rc = cli_resource_print_operations(options.rsc_id,
options          1894 tools/crm_resource.c                                                options.host_uname, TRUE,
options          1899 tools/crm_resource.c             rc = cli_resource_print_operations(options.rsc_id,
options          1900 tools/crm_resource.c                                                options.host_uname, FALSE,
options          1905 tools/crm_resource.c             GList *nodes = cli_resource_search(rsc, options.rsc_id, data_set);
options          1906 tools/crm_resource.c             rc = out->message(out, "resource-search-list", nodes, options.rsc_id);
options          1920 tools/crm_resource.c             if ((options.host_uname != NULL) && (node == NULL)) {
options          1933 tools/crm_resource.c             if (options.host_uname == NULL) {
options          1934 tools/crm_resource.c                 rc = ban_or_move(out, rsc, options.move_lifetime);
options          1936 tools/crm_resource.c                 rc = cli_resource_move(rsc, options.rsc_id, options.host_uname,
options          1937 tools/crm_resource.c                                        options.move_lifetime, cib_conn,
options          1938 tools/crm_resource.c                                        options.cib_options, data_set,
options          1939 tools/crm_resource.c                                        options.promoted_role_only,
options          1940 tools/crm_resource.c                                        options.force);
options          1951 tools/crm_resource.c             if (options.host_uname == NULL) {
options          1952 tools/crm_resource.c                 rc = ban_or_move(out, rsc, options.move_lifetime);
options          1956 tools/crm_resource.c                 rc = cli_resource_ban(out, options.rsc_id, node->details->uname,
options          1957 tools/crm_resource.c                                       options.move_lifetime, NULL, cib_conn,
options          1958 tools/crm_resource.c                                       options.cib_options,
options          1959 tools/crm_resource.c                                       options.promoted_role_only);
options          1970 tools/crm_resource.c             rc = out->message(out, "property-list", rsc, options.prop_name);
options          1989 tools/crm_resource.c                          " returning the default value for %s", rsc->id, crm_str(options.prop_name));
options          1993 tools/crm_resource.c             crm_debug("Looking up %s in %s", options.prop_name, rsc->id);
options          1995 tools/crm_resource.c             if (pcmk__str_eq(options.attr_set_type, XML_TAG_ATTR_SETS, pcmk__str_casei)) {
options          1999 tools/crm_resource.c             } else if (pcmk__str_eq(options.attr_set_type, XML_TAG_META_SETS, pcmk__str_casei)) {
options          2009 tools/crm_resource.c             rc = out->message(out, "attribute-list", rsc, options.prop_name, params);
options          2017 tools/crm_resource.c             if (pcmk__str_empty(options.prop_value)) {
options          2025 tools/crm_resource.c             rc = cli_resource_update_attribute(rsc, options.rsc_id,
options          2026 tools/crm_resource.c                                                options.prop_set,
options          2027 tools/crm_resource.c                                                options.attr_set_type,
options          2028 tools/crm_resource.c                                                options.prop_id,
options          2029 tools/crm_resource.c                                                options.prop_name,
options          2030 tools/crm_resource.c                                                options.prop_value,
options          2031 tools/crm_resource.c                                                options.recursive, cib_conn,
options          2032 tools/crm_resource.c                                                options.cib_options, data_set,
options          2033 tools/crm_resource.c                                                options.force);
options          2038 tools/crm_resource.c             rc = cli_resource_delete_attribute(rsc, options.rsc_id,
options          2039 tools/crm_resource.c                                                options.prop_set,
options          2040 tools/crm_resource.c                                                options.attr_set_type,
options          2041 tools/crm_resource.c                                                options.prop_id,
options          2042 tools/crm_resource.c                                                options.prop_name, cib_conn,
options          2043 tools/crm_resource.c                                                options.cib_options, data_set,
options          2044 tools/crm_resource.c                                                options.force);
options          2049 tools/crm_resource.c                 rc = cli_cleanup_all(controld_api, options.host_uname,
options          2050 tools/crm_resource.c                                      options.operation, options.interval_spec,
options          2075 tools/crm_resource.c                         "Unimplemented command: %d", (int) options.rsc_cmd);
options          2113 tools/crm_resource.c     g_free(options.host_uname);
options          2114 tools/crm_resource.c     g_free(options.interval_spec);
options          2115 tools/crm_resource.c     g_free(options.move_lifetime);
options          2116 tools/crm_resource.c     g_free(options.operation);
options          2117 tools/crm_resource.c     g_free(options.prop_id);
options          2118 tools/crm_resource.c     free(options.prop_name);
options          2119 tools/crm_resource.c     g_free(options.prop_set);
options          2120 tools/crm_resource.c     g_free(options.prop_value);
options          2121 tools/crm_resource.c     g_free(options.rsc_id);
options          2122 tools/crm_resource.c     g_free(options.rsc_type);
options          2123 tools/crm_resource.c     free(options.agent_spec);
options          2124 tools/crm_resource.c     free(options.v_agent);
options          2125 tools/crm_resource.c     free(options.v_class);
options          2126 tools/crm_resource.c     free(options.v_provider);
options          2127 tools/crm_resource.c     g_free(options.xml_file);
options          2128 tools/crm_resource.c     g_strfreev(options.remainder);
options          2130 tools/crm_resource.c     if (options.override_params != NULL) {
options          2131 tools/crm_resource.c         g_hash_table_destroy(options.override_params);
options            35 tools/crm_rule.c } options = {
options            52 tools/crm_rule.c     { "xml-text", 'X', 0, G_OPTION_ARG_STRING, &options.input_xml,
options            60 tools/crm_rule.c     { "date", 'd', 0, G_OPTION_ARG_STRING, &options.date,
options            63 tools/crm_rule.c     { "rule", 'r', 0, G_OPTION_ARG_STRING, &options.rule,
options            73 tools/crm_rule.c         options.mode = crm_rule_mode_check;
options           261 tools/crm_rule.c     switch(options.mode) {
options           263 tools/crm_rule.c             if (options.rule == NULL) {
options           279 tools/crm_rule.c     rule_date = crm_time_new(options.date);
options           289 tools/crm_rule.c     if (pcmk__str_eq(options.input_xml, "-", pcmk__str_casei)) {
options           297 tools/crm_rule.c     } else if (options.input_xml != NULL) {
options           298 tools/crm_rule.c         input = string2xml(options.input_xml);
options           301 tools/crm_rule.c             CMD_ERR("Couldn't parse input string: %s\n", options.input_xml);
options           344 tools/crm_rule.c     switch(options.mode) {
options           346 tools/crm_rule.c             rc = crm_rule_check(data_set, options.rule, rule_date);
options            64 tools/crm_simulate.c } options = {
options            86 tools/crm_simulate.c     options.store = TRUE;
options            87 tools/crm_simulate.c     options.process = TRUE;
options            88 tools/crm_simulate.c     options.simulate = TRUE;
options            94 tools/crm_simulate.c     if (options.xml_file) {
options            95 tools/crm_simulate.c         free(options.xml_file);
options            98 tools/crm_simulate.c     options.xml_file = NULL;
options           104 tools/crm_simulate.c     options.modified++;
options           105 tools/crm_simulate.c     options.node_down = g_list_append(options.node_down, (gchar *) g_strdup(optarg));
options           111 tools/crm_simulate.c     options.modified++;
options           112 tools/crm_simulate.c     options.node_fail = g_list_append(options.node_fail, (gchar *) g_strdup(optarg));
options           118 tools/crm_simulate.c     options.modified++;
options           120 tools/crm_simulate.c     options.node_up = g_list_append(options.node_up, (gchar *) g_strdup(optarg));
options           126 tools/crm_simulate.c     options.process = TRUE;
options           127 tools/crm_simulate.c     options.simulate = TRUE;
options           128 tools/crm_simulate.c     options.op_fail = g_list_append(options.op_fail, (gchar *) g_strdup(optarg));
options           134 tools/crm_simulate.c     options.modified++;
options           135 tools/crm_simulate.c     options.op_inject = g_list_append(options.op_inject, (gchar *) g_strdup(optarg));
options           141 tools/crm_simulate.c     if (options.quorum) {
options           142 tools/crm_simulate.c         free(options.quorum);
options           145 tools/crm_simulate.c     options.modified++;
options           146 tools/crm_simulate.c     options.quorum = strdup(optarg);
options           152 tools/crm_simulate.c     if (options.dot_file) {
options           153 tools/crm_simulate.c         free(options.dot_file);
options           156 tools/crm_simulate.c     options.process = TRUE;
options           157 tools/crm_simulate.c     options.dot_file = strdup(optarg);
options           163 tools/crm_simulate.c     if (options.graph_file) {
options           164 tools/crm_simulate.c         free(options.graph_file);
options           167 tools/crm_simulate.c     options.process = TRUE;
options           168 tools/crm_simulate.c     options.graph_file = strdup(optarg);
options           174 tools/crm_simulate.c     options.process = TRUE;
options           175 tools/crm_simulate.c     options.show_scores = TRUE;
options           181 tools/crm_simulate.c     options.process = TRUE;
options           182 tools/crm_simulate.c     options.simulate = TRUE;
options           188 tools/crm_simulate.c     options.modified++;
options           189 tools/crm_simulate.c     options.ticket_activate = g_list_append(options.ticket_activate, (gchar *) g_strdup(optarg));
options           195 tools/crm_simulate.c     options.modified++;
options           196 tools/crm_simulate.c     options.ticket_grant = g_list_append(options.ticket_grant, (gchar *) g_strdup(optarg));
options           202 tools/crm_simulate.c     options.modified++;
options           203 tools/crm_simulate.c     options.ticket_revoke = g_list_append(options.ticket_revoke, (gchar *) g_strdup(optarg));
options           209 tools/crm_simulate.c     options.modified++;
options           210 tools/crm_simulate.c     options.ticket_standby = g_list_append(options.ticket_standby, (gchar *) g_strdup(optarg));
options           216 tools/crm_simulate.c     options.process = TRUE;
options           217 tools/crm_simulate.c     options.show_utilization = TRUE;
options           223 tools/crm_simulate.c     if (options.watchdog) {
options           224 tools/crm_simulate.c         free(options.watchdog);
options           227 tools/crm_simulate.c     options.modified++;
options           228 tools/crm_simulate.c     options.watchdog = strdup(optarg);
options           234 tools/crm_simulate.c     if (options.xml_file) {
options           235 tools/crm_simulate.c         free(options.xml_file);
options           238 tools/crm_simulate.c     options.xml_file = strdup(optarg);
options           244 tools/crm_simulate.c     if (options.xml_file) {
options           245 tools/crm_simulate.c         free(options.xml_file);
options           248 tools/crm_simulate.c     options.xml_file = strdup("-");
options           253 tools/crm_simulate.c     { "run", 'R', 0, G_OPTION_ARG_NONE, &options.process,
options           262 tools/crm_simulate.c     { "show-attrs", 'A', 0, G_OPTION_ARG_NONE, &options.show_attrs,
options           265 tools/crm_simulate.c     { "show-failcounts", 'c', 0, G_OPTION_ARG_NONE, &options.show_failcounts,
options           274 tools/crm_simulate.c     { "profile", 'P', 0, G_OPTION_ARG_FILENAME, &options.test_dir,
options           277 tools/crm_simulate.c     { "repeat", 'N', 0, G_OPTION_ARG_INT, &options.repeat,
options           281 tools/crm_simulate.c     { "pending", 'j', G_OPTION_FLAG_HIDDEN, G_OPTION_ARG_NONE, &options.print_pending,
options           308 tools/crm_simulate.c     { "set-datetime", 't', 0, G_OPTION_ARG_STRING, &options.use_date,
options           334 tools/crm_simulate.c     { "save-input", 'I', 0, G_OPTION_ARG_FILENAME, &options.input_file,
options           337 tools/crm_simulate.c     { "save-output", 'O', 0, G_OPTION_ARG_FILENAME, &options.output_file,
options           346 tools/crm_simulate.c     { "all-actions", 'a', 0, G_OPTION_ARG_NONE, &options.all_actions,
options           411 tools/crm_simulate.c     if (options.show_attrs) {
options           416 tools/crm_simulate.c     if (options.show_failcounts) {
options           872 tools/crm_simulate.c     options.xml_file = strdup("-");
options           891 tools/crm_simulate.c         !options.show_scores && !options.show_utilization) {
options           924 tools/crm_simulate.c     if (options.show_scores) {
options           927 tools/crm_simulate.c     if (options.show_utilization) {
options           932 tools/crm_simulate.c     if (options.test_dir != NULL) {
options           934 tools/crm_simulate.c         profile_all(options.test_dir, options.repeat, data_set, options.use_date);
options           939 tools/crm_simulate.c     rc = setup_input(options.xml_file, options.store ? options.xml_file : options.output_file, &error);
options           963 tools/crm_simulate.c     get_date(data_set, true, options.use_date);
options           964 tools/crm_simulate.c     if(options.xml_file) {
options           967 tools/crm_simulate.c     if (options.show_scores) {
options           970 tools/crm_simulate.c     if (options.show_utilization) {
options           976 tools/crm_simulate.c         unsigned int show_opts = options.print_pending ? pcmk_show_pending : 0;
options          1000 tools/crm_simulate.c     if (options.modified) {
options          1002 tools/crm_simulate.c         modify_configuration(data_set, global_cib, options.quorum, options.watchdog, options.node_up,
options          1003 tools/crm_simulate.c                              options.node_down, options.node_fail, options.op_inject,
options          1004 tools/crm_simulate.c                              options.ticket_grant, options.ticket_revoke, options.ticket_standby,
options          1005 tools/crm_simulate.c                              options.ticket_activate);
options          1019 tools/crm_simulate.c         get_date(data_set, true, options.use_date);
options          1021 tools/crm_simulate.c         if(options.xml_file) {
options          1024 tools/crm_simulate.c         if (options.show_scores) {
options          1027 tools/crm_simulate.c         if (options.show_utilization) {
options          1033 tools/crm_simulate.c     if (options.input_file != NULL) {
options          1034 tools/crm_simulate.c         rc = write_xml_file(input, options.input_file, FALSE);
options          1038 tools/crm_simulate.c                         "Could not create '%s': %s", options.input_file, pcmk_rc_str(rc));
options          1043 tools/crm_simulate.c     if (options.process || options.simulate) {
options          1080 tools/crm_simulate.c         if (options.graph_file != NULL) {
options          1081 tools/crm_simulate.c             write_xml_file(data_set->graph, options.graph_file, FALSE);
options          1084 tools/crm_simulate.c         if (options.dot_file != NULL) {
options          1085 tools/crm_simulate.c             if (!create_dotfile(data_set, options.dot_file, options.all_actions, &error)) {
options          1110 tools/crm_simulate.c     if (options.simulate) {
options          1112 tools/crm_simulate.c         if (run_simulation(data_set, global_cib, options.op_fail) != pcmk_rc_ok) {
options          1119 tools/crm_simulate.c             get_date(data_set, true, options.use_date);
options          1124 tools/crm_simulate.c             if (options.show_scores) {
options          1127 tools/crm_simulate.c             if (options.show_utilization) {
options          1142 tools/crm_simulate.c     free(options.dot_file);
options          1143 tools/crm_simulate.c     free(options.graph_file);
options          1144 tools/crm_simulate.c     g_free(options.input_file);
options          1145 tools/crm_simulate.c     g_list_free_full(options.node_up, g_free);
options          1146 tools/crm_simulate.c     g_list_free_full(options.node_down, g_free);
options          1147 tools/crm_simulate.c     g_list_free_full(options.node_fail, g_free);
options          1148 tools/crm_simulate.c     g_list_free_full(options.op_fail, g_free);
options          1149 tools/crm_simulate.c     g_list_free_full(options.op_inject, g_free);
options          1150 tools/crm_simulate.c     g_free(options.output_file);
options          1151 tools/crm_simulate.c     free(options.quorum);
options          1152 tools/crm_simulate.c     g_free(options.test_dir);
options          1153 tools/crm_simulate.c     g_list_free_full(options.ticket_grant, g_free);
options          1154 tools/crm_simulate.c     g_list_free_full(options.ticket_revoke, g_free);
options          1155 tools/crm_simulate.c     g_list_free_full(options.ticket_standby, g_free);
options          1156 tools/crm_simulate.c     g_list_free_full(options.ticket_activate, g_free);
options          1157 tools/crm_simulate.c     free(options.use_date);
options          1158 tools/crm_simulate.c     free(options.watchdog);
options          1159 tools/crm_simulate.c     free(options.xml_file);
options            45 tools/crm_verify.c } options;
options            51 tools/crm_verify.c       &options.use_live_cib, "Check the configuration used by the running cluster",
options            54 tools/crm_verify.c       &options.xml_file, "Check the configuration in the named file",
options            57 tools/crm_verify.c       &options.xml_stdin, "Check the configuration piped in via stdin",
options            60 tools/crm_verify.c       &options.xml_string, "Check the configuration in the supplied string",
options            68 tools/crm_verify.c       &options.cib_save, "Save verified XML to named file (most useful with -L)",
options           150 tools/crm_verify.c     if (options.use_live_cib) {
options           156 tools/crm_verify.c     if (options.use_live_cib) {
options           158 tools/crm_verify.c             int options = cib_scope_local | cib_sync_call;
options           161 tools/crm_verify.c             rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, options);
options           175 tools/crm_verify.c     } else if (options.xml_file != NULL) {
options           176 tools/crm_verify.c         cib_object = filename2xml(options.xml_file);
options           179 tools/crm_verify.c             g_set_error(&error, PCMK__RC_ERROR, rc, "Couldn't parse input file: %s", options.xml_file);
options           183 tools/crm_verify.c     } else if (options.xml_string != NULL) {
options           184 tools/crm_verify.c         cib_object = string2xml(options.xml_string);
options           187 tools/crm_verify.c             g_set_error(&error, PCMK__RC_ERROR, rc, "Couldn't parse input string: %s", options.xml_string);
options           190 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           246 tools/crm_verify.c     } else if (status != NULL || options.use_live_cib) {
options           280 tools/crm_verify.c     if (options.use_live_cib && cib_conn) {
options           288 tools/crm_verify.c     free(options.cib_save);
options           289 tools/crm_verify.c     free(options.xml_file);
options           290 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           128 tools/crmadmin.c         if (options.optarg != NULL) {
options           129 tools/crmadmin.c             free(options.optarg);
options           131 tools/crmadmin.c         options.optarg = strdup(optarg);
options           223 tools/crmadmin.c     if (options.health) {
options           244 tools/crmadmin.c             rc = pcmk__controller_status(out, options.optarg, options.timeout);
options           247 tools/crmadmin.c             rc = pcmk__pacemakerd_status(out, options.ipc_name, options.timeout);
options           250 tools/crmadmin.c             rc = pcmk__list_nodes(out, options.optarg, options.BASH_EXPORT);
options           253 tools/crmadmin.c             rc = pcmk__designated_controller(out, options.timeout);
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           380 tools/stonith_admin.c     if (options.validate_cfg) {
options           386 tools/stonith_admin.c     if (options.installed) {
options           391 tools/stonith_admin.c     if (options.registered) {
options           395 tools/stonith_admin.c     if (options.register_dev != NULL) {
options           398 tools/stonith_admin.c         device = options.register_dev;
options           401 tools/stonith_admin.c     if (options.query != NULL) {
options           403 tools/stonith_admin.c         device = options.query;
options           406 tools/stonith_admin.c     if (options.unregister_dev != NULL) {
options           408 tools/stonith_admin.c         device = options.unregister_dev;
options           411 tools/stonith_admin.c     if (options.targets != NULL) {
options           413 tools/stonith_admin.c         device = options.targets;
options           416 tools/stonith_admin.c     if (options.terminate != NULL) {
options           418 tools/stonith_admin.c         target = options.terminate;
options           421 tools/stonith_admin.c     if (options.metadata) {
options           427 tools/stonith_admin.c     if (options.reboot_host != NULL) {
options           430 tools/stonith_admin.c         target = options.reboot_host;
options           434 tools/stonith_admin.c     if (options.fence_host != NULL) {
options           437 tools/stonith_admin.c         target = options.fence_host;
options           441 tools/stonith_admin.c     if (options.unfence_host != NULL) {
options           444 tools/stonith_admin.c         target = options.unfence_host;
options           448 tools/stonith_admin.c     if (options.confirm_host != NULL) {
options           450 tools/stonith_admin.c         target = options.confirm_host;
options           454 tools/stonith_admin.c     if (options.last_fenced != NULL) {
options           456 tools/stonith_admin.c         target = options.last_fenced;
options           459 tools/stonith_admin.c     if (options.history != NULL) {
options           461 tools/stonith_admin.c         target = options.history;
options           464 tools/stonith_admin.c     if (options.register_level != NULL) {
options           466 tools/stonith_admin.c         target = options.register_level;
options           469 tools/stonith_admin.c     if (options.unregister_level != NULL) {
options           471 tools/stonith_admin.c         target = options.unregister_level;
options           483 tools/stonith_admin.c     if (required_agent && options.agent == NULL) {
options           509 tools/stonith_admin.c             rc = pcmk__fence_installed(out, st, options.timeout*1000);
options           517 tools/stonith_admin.c             rc = pcmk__fence_registered(out, st, target, options.timeout*1000);
options           525 tools/stonith_admin.c             rc = st->cmds->monitor(st, st_opts, device, options.timeout);
options           527 tools/stonith_admin.c                 rc = st->cmds->list(st, st_opts, device, NULL, options.timeout);
options           533 tools/stonith_admin.c             rc = pcmk__fence_list_targets(out, st, device, options.timeout*1000);
options           541 tools/stonith_admin.c             rc = st->cmds->register_device(st, st_opts, device, NULL, options.agent,
options           542 tools/stonith_admin.c                                            options.params);
options           552 tools/stonith_admin.c             rc = pcmk__fence_unregister_level(st, target, options.fence_level);
options           556 tools/stonith_admin.c             rc = pcmk__fence_register_level(st, target, options.fence_level, options.devices);
options           560 tools/stonith_admin.c             rc = pcmk__fence_metadata(out, st, options.agent, options.timeout*1000);
options           573 tools/stonith_admin.c             rc = pcmk__fence_action(st, target, "reboot", name, options.timeout*1000,
options           574 tools/stonith_admin.c                                     options.tolerance*1000, options.delay);
options           578 tools/stonith_admin.c             rc = pcmk__fence_action(st, target, "off", name, options.timeout*1000,
options           579 tools/stonith_admin.c                                     options.tolerance*1000, options.delay);
options           583 tools/stonith_admin.c             rc = pcmk__fence_action(st, target, "on", name, options.timeout*1000,
options           584 tools/stonith_admin.c                                     options.tolerance*1000, options.delay);
options           588 tools/stonith_admin.c             rc = pcmk__fence_last(out, target, options.as_nodeid);
options           592 tools/stonith_admin.c             rc = pcmk__fence_history(out, st, target, options.timeout*1000, args->verbosity,
options           593 tools/stonith_admin.c                                      options.broadcast, options.cleanup);
options           597 tools/stonith_admin.c             device = options.devices ? options.devices->key : NULL;
options           598 tools/stonith_admin.c             rc = pcmk__fence_validate(out, st, options.agent, device, options.params,
options           599 tools/stonith_admin.c                                         options.timeout*1000);
options           617 tools/stonith_admin.c     stonith_key_value_freeall(options.params, 1, 1);