command 378 daemons/based/based_remote.c cib_handle_remote_msg(pcmk__client_t *client, xmlNode *command) command 380 daemons/based/based_remote.c if (!pcmk__xe_is(command, PCMK__XE_CIB_COMMAND)) { command 381 daemons/based/based_remote.c crm_log_xml_trace(command, "bad"); command 390 daemons/based/based_remote.c pcmk__xe_remove_attr(command, PCMK__XA_SRC); command 391 daemons/based/based_remote.c pcmk__xe_remove_attr(command, PCMK__XA_CIB_HOST); command 392 daemons/based/based_remote.c pcmk__xe_remove_attr(command, PCMK__XA_CIB_UPDATE); command 394 daemons/based/based_remote.c crm_xml_add(command, PCMK__XA_T, PCMK__VALUE_CIB); command 395 daemons/based/based_remote.c crm_xml_add(command, PCMK__XA_CIB_CLIENTID, client->id); command 396 daemons/based/based_remote.c crm_xml_add(command, PCMK__XA_CIB_CLIENTNAME, client->name); command 397 daemons/based/based_remote.c crm_xml_add(command, PCMK__XA_CIB_USER, client->user); command 399 daemons/based/based_remote.c if (crm_element_value(command, PCMK__XA_CIB_CALLID) == NULL) { command 403 daemons/based/based_remote.c crm_xml_add(command, PCMK__XA_CIB_CALLID, call_uuid); command 407 daemons/based/based_remote.c if (crm_element_value(command, PCMK__XA_CIB_CALLOPT) == NULL) { command 408 daemons/based/based_remote.c crm_xml_add_int(command, PCMK__XA_CIB_CALLOPT, 0); command 411 daemons/based/based_remote.c crm_log_xml_trace(command, "Remote command: "); command 412 daemons/based/based_remote.c cib_common_callback_worker(0, 0, command, client, TRUE); command 418 daemons/based/based_remote.c xmlNode *command = NULL; command 480 daemons/based/based_remote.c command = pcmk__remote_message_xml(client->remote); command 481 daemons/based/based_remote.c if (cib_remote_auth(command) == FALSE) { command 482 daemons/based/based_remote.c pcmk__xml_free(command); command 489 daemons/based/based_remote.c client->name = crm_element_value_copy(command, PCMK_XA_NAME); command 491 daemons/based/based_remote.c user = crm_element_value(command, PCMK_XA_USER); command 506 daemons/based/based_remote.c pcmk__xml_free(command); command 509 daemons/based/based_remote.c command = pcmk__remote_message_xml(client->remote); command 510 daemons/based/based_remote.c if (command != NULL) { command 512 daemons/based/based_remote.c cib_handle_remote_msg(client, command); command 513 daemons/based/based_remote.c pcmk__xml_free(command); command 76 include/crm/common/messages_internal.h const char *command; command 47 lib/cib/cib_remote.c pcmk__remote_t command; command 98 lib/cib/cib_remote.c pcmk__remote_send_xml(&private->command, op_msg); command 120 lib/cib/cib_remote.c rc = pcmk__read_remote_message(&private->command, command 122 lib/cib/cib_remote.c op_reply = pcmk__remote_message_xml(&private->command); command 277 lib/cib/cib_remote.c rc = pcmk__read_available_remote_data(&private->command); command 290 lib/cib/cib_remote.c free(private->command.buffer); command 291 lib/cib/cib_remote.c private->command.buffer = NULL; command 310 lib/cib/cib_remote.c if (private->command.tls_session) { command 311 lib/cib/cib_remote.c gnutls_bye(private->command.tls_session, GNUTLS_SHUT_RDWR); command 312 lib/cib/cib_remote.c gnutls_deinit(private->command.tls_session); command 320 lib/cib/cib_remote.c private->command.tls_session = NULL; command 326 lib/cib/cib_remote.c if (private->command.tcp_socket) { command 327 lib/cib/cib_remote.c shutdown(private->command.tcp_socket, SHUT_RDWR); /* no more receptions */ command 328 lib/cib/cib_remote.c close(private->command.tcp_socket); command 334 lib/cib/cib_remote.c private->command.tcp_socket = 0; command 337 lib/cib/cib_remote.c free(private->command.buffer); command 339 lib/cib/cib_remote.c private->command.buffer = NULL; command 494 lib/cib/cib_remote.c rc = cib_tls_signon(cib, &(private->command), FALSE); command 510 lib/cib/cib_remote.c rc = pcmk__remote_send_xml(&private->command, hello); command 617 lib/cib/cib_remote.c *sync_id = private->command.token; command 45 lib/common/ipc_attrd.c const char *command = crm_element_value(request, PCMK_XA_TASK); command 47 lib/common/ipc_attrd.c return pcmk__str_any_of(command, command 183 lib/common/ipc_pacemakerd.c const char *command = crm_element_value(request, PCMK__XA_CRM_TASK); command 185 lib/common/ipc_pacemakerd.c if (command == NULL) { command 190 lib/common/ipc_pacemakerd.c return pcmk__str_any_of(command, CRM_OP_PING, CRM_OP_QUIT, NULL); command 66 lib/common/ipc_schedulerd.c const char *command = crm_element_value(request, PCMK__XA_CRM_TASK); command 68 lib/common/ipc_schedulerd.c if (command == NULL) { command 73 lib/common/ipc_schedulerd.c return pcmk__str_any_of(command, CRM_OP_PECALC, NULL); command 188 lib/common/messages.c for (i = 0; handlers[i].command != NULL; ++i) { command 189 lib/common/messages.c g_hash_table_insert(commands, (gpointer) handlers[i].command, command 44 tools/attrd_updater.c char command; command 56 tools/attrd_updater.c .command = 'Q', command 64 tools/attrd_updater.c options.command = 'B'; command 66 tools/attrd_updater.c options.command = 'D'; command 68 tools/attrd_updater.c options.command = 'Q'; command 70 tools/attrd_updater.c options.command = 'R'; command 72 tools/attrd_updater.c options.command = 'U'; command 74 tools/attrd_updater.c options.command = 'Y'; command 260 tools/attrd_updater.c static int send_attrd_update(char command, const char *attr_node, const char *attr_name, command 270 tools/attrd_updater.c return options.command == 'B' || options.command == 'D' || options.command == 'U' || options.command == 'Y'; command 345 tools/attrd_updater.c if (options.command != 'R' && options.attr_name == NULL) { command 349 tools/attrd_updater.c } else if ((options.command == 'B'|| options.command == 'Y') && options.attr_dampen == NULL) { command 350 tools/attrd_updater.c out->info(out, "Warning: '%c' command given without required --delay", options.command); command 355 tools/attrd_updater.c if (options.command == 'Q') { command 364 tools/attrd_updater.c int rc = send_attrd_update(options.command, options.attr_node, command 489 tools/attrd_updater.c send_attrd_update(char command, const char *attr_node, const char *attr_name, command 495 tools/attrd_updater.c switch (command) { command 63 tools/crm_attribute.c enum attr_cmd command; command 81 tools/crm_attribute.c .command = attr_cmd_query, command 89 tools/crm_attribute.c options.command = attr_cmd_list; command 96 tools/crm_attribute.c options.command = attr_cmd_delete; command 137 tools/crm_attribute.c options.command = attr_cmd_update; command 155 tools/crm_attribute.c options.command = attr_cmd_query; command 371 tools/crm_attribute.c send_attrd_update(enum attr_cmd command, const char *attr_node, command 379 tools/crm_attribute.c switch (command) { command 678 tools/crm_attribute.c && ((options.command == attr_cmd_delete) command 679 tools/crm_attribute.c || (options.command == attr_cmd_update)); command 688 tools/crm_attribute.c switch (options.command) { command 701 tools/crm_attribute.c return (options.command != attr_cmd_delete) command 709 tools/crm_attribute.c return (options.command != attr_cmd_update) command 805 tools/crm_attribute.c if (options.command == attr_cmd_list) { command 935 tools/crm_attribute.c (send_attrd_update(options.command, options.dest_uname, options.attr_name, command 940 tools/crm_attribute.c if (options.command == attr_cmd_delete) { command 946 tools/crm_attribute.c } else if (options.command == attr_cmd_delete) { command 949 tools/crm_attribute.c } else if (options.command == attr_cmd_update) { command 36 tools/crm_node.c char command; command 40 tools/crm_node.c .command = '\0', command 109 tools/crm_node.c options.command = 'i'; command 111 tools/crm_node.c options.command = 'l'; command 113 tools/crm_node.c options.command = 'n'; command 115 tools/crm_node.c options.command = 'p'; command 117 tools/crm_node.c options.command = 'q'; command 128 tools/crm_node.c options.command = 'N'; command 140 tools/crm_node.c options.command = 'R'; command 374 tools/crm_node.c if (options.command == 'p') { command 376 tools/crm_node.c } else if (options.command == 'l') { command 812 tools/crm_node.c if (options.command == 0) { command 833 tools/crm_node.c switch (options.command) { command 32 tools/crmadmin.c } command = cmd_none; command 105 tools/crmadmin.c command = cmd_health; command 110 tools/crmadmin.c command = cmd_pacemakerd_health; command 114 tools/crmadmin.c command = cmd_whois_dc; command 118 tools/crmadmin.c command = cmd_list_nodes; command 217 tools/crmadmin.c if (command == cmd_none) { command 231 tools/crmadmin.c switch (command) { command 353 tools/stonith_admin.c request_fencing(stonith_t *st, const char *target, const char *command, command 357 tools/stonith_admin.c int rc = pcmk__request_fencing(st, target, command, name, command 366 tools/stonith_admin.c if (strcmp(command, PCMK_ACTION_ON) == 0) {