client            435 daemons/attrd/attrd_ipc.c     pcmk__client_t *client = pcmk__find_client(c);
client            437 daemons/attrd/attrd_ipc.c     if (client == NULL) {
client            441 daemons/attrd/attrd_ipc.c         pcmk__free_client(client);
client            467 daemons/attrd/attrd_ipc.c     pcmk__client_t *client = pcmk__find_client(c);
client            471 daemons/attrd/attrd_ipc.c     CRM_CHECK((c != NULL) && (client != NULL), return 0);
client            477 daemons/attrd/attrd_ipc.c     xml = pcmk__client_data2xml(client, data, &id, &flags);
client            481 daemons/attrd/attrd_ipc.c         pcmk__ipc_send_ack(client, id, flags, "ack", NULL, CRM_EX_PROTOCOL);
client            486 daemons/attrd/attrd_ipc.c             .ipc_client     = client,
client            495 daemons/attrd/attrd_ipc.c         CRM_ASSERT(client->user != NULL);
client            496 daemons/attrd/attrd_ipc.c         pcmk__update_acl_user(xml, PCMK__XA_ATTR_USER, client->user);
client             47 daemons/attrd/pacemaker-attrd.h #define attrd_send_ack(client, id, flags) \
client             48 daemons/attrd/pacemaker-attrd.h     pcmk__ipc_send_ack((client), (id), (flags), "ack", ATTRD_PROTOCOL_VERSION, CRM_EX_INDETERMINATE)
client             87 daemons/based/based_callbacks.c     pcmk__client_t *client = pcmk__find_client(c);
client             89 daemons/based/based_callbacks.c     crm_trace("%p message from %s", c, client->id);
client             96 daemons/based/based_callbacks.c     pcmk__client_t *client = pcmk__find_client(c);
client             98 daemons/based/based_callbacks.c     crm_trace("%p message from %s", c, client->id);
client            106 daemons/based/based_callbacks.c     pcmk__client_t *client = pcmk__find_client(c);
client            108 daemons/based/based_callbacks.c     if (client == NULL) {
client            112 daemons/based/based_callbacks.c     pcmk__free_client(client);
client           1405 daemons/based/based_callbacks.c         const char *client = crm_element_value(request, F_CIB_CLIENTNAME);
client           1409 daemons/based/based_callbacks.c         cib_diff_notify(call_options, client, call_id, op, input, rc, *cib_diff);
client             53 daemons/based/based_notify.c     pcmk__client_t *client = value;
client             56 daemons/based/based_notify.c     if (client->ipcs == NULL && client->remote == NULL) {
client             64 daemons/based/based_notify.c     if (pcmk_is_set(client->flags, cib_notify_diff)
client             69 daemons/based/based_notify.c     } else if (pcmk_is_set(client->flags, cib_notify_replace)
client             73 daemons/based/based_notify.c     } else if (pcmk_is_set(client->flags, cib_notify_confirm)
client             77 daemons/based/based_notify.c     } else if (pcmk_is_set(client->flags, cib_notify_pre)
client             81 daemons/based/based_notify.c     } else if (pcmk_is_set(client->flags, cib_notify_post)
client             88 daemons/based/based_notify.c         switch (PCMK__CLIENT_TYPE(client)) {
client             90 daemons/based/based_notify.c                 rc = pcmk__ipc_send_iov(client, update->iov,
client             94 daemons/based/based_notify.c                              pcmk__client_name(client), pcmk_rc_str(rc),
client             95 daemons/based/based_notify.c                              client->id);
client            103 daemons/based/based_notify.c                           type, pcmk__client_name(client), client->id);
client            104 daemons/based/based_notify.c                 pcmk__remote_send_xml(client->remote, update->msg);
client            109 daemons/based/based_notify.c                         pcmk__client_name(client), client->flags);
client            137 daemons/based/based_notify.c cib_diff_notify(int options, const char *client, const char *call_id, const char *op,
client            164 daemons/based/based_notify.c                    client, call_id ? ", call:" : "", call_id ? call_id : "",
client            171 daemons/based/based_notify.c                    client, call_id ? ", call: " : "", call_id ? call_id : "",
client            263 daemons/based/based_remote.c     pcmk__client_t *client = data;
client            265 daemons/based/based_remote.c     client->remote->auth_timeout = 0;
client            267 daemons/based/based_remote.c     if (pcmk_is_set(client->flags, pcmk__client_authenticated)) {
client            271 daemons/based/based_remote.c     mainloop_del_fd(client->remote->source);
client            356 daemons/based/based_remote.c     pcmk__client_t *client = user_data;
client            359 daemons/based/based_remote.c     if (client == NULL) {
client            364 daemons/based/based_remote.c               pcmk__client_name(client));
client            369 daemons/based/based_remote.c     switch (PCMK__CLIENT_TYPE(client)) {
client            371 daemons/based/based_remote.c             csock = client->remote->tcp_socket;
client            375 daemons/based/based_remote.c             if (client->remote->tls_session) {
client            376 daemons/based/based_remote.c                 void *sock_ptr = gnutls_transport_get_ptr(*client->remote->tls_session);
client            379 daemons/based/based_remote.c                 if (pcmk_is_set(client->flags,
client            381 daemons/based/based_remote.c                     gnutls_bye(*client->remote->tls_session, GNUTLS_SHUT_WR);
client            383 daemons/based/based_remote.c                 gnutls_deinit(*client->remote->tls_session);
client            384 daemons/based/based_remote.c                 gnutls_free(client->remote->tls_session);
client            385 daemons/based/based_remote.c                 client->remote->tls_session = NULL;
client            392 daemons/based/based_remote.c                      pcmk__client_name(client), client->flags);
client            399 daemons/based/based_remote.c     pcmk__free_client(client);
client            410 daemons/based/based_remote.c cib_handle_remote_msg(pcmk__client_t *client, xmlNode *command)
client            420 daemons/based/based_remote.c     if (client->name == NULL) {
client            423 daemons/based/based_remote.c             client->name = strdup(client->id);
client            425 daemons/based/based_remote.c             client->name = strdup(value);
client            429 daemons/based/based_remote.c     if (client->userdata == NULL) {
client            432 daemons/based/based_remote.c             client->userdata = strdup(value);
client            433 daemons/based/based_remote.c             crm_trace("Callback channel for %s is %s", client->id, (char*)client->userdata);
client            436 daemons/based/based_remote.c             client->userdata = strdup(client->id);
client            446 daemons/based/based_remote.c     crm_xml_add(command, F_CIB_CLIENTID, client->id);
client            447 daemons/based/based_remote.c     crm_xml_add(command, F_CIB_CLIENTNAME, client->name);
client            448 daemons/based/based_remote.c     crm_xml_add(command, F_CIB_USER, client->user);
client            463 daemons/based/based_remote.c     cib_common_callback_worker(0, 0, command, client, TRUE);
client            470 daemons/based/based_remote.c     pcmk__client_t *client = data;
client            474 daemons/based/based_remote.c     if (pcmk_is_set(client->flags, pcmk__client_authenticated)) {
client            479 daemons/based/based_remote.c               pcmk__client_type_str(PCMK__CLIENT_TYPE(client)),
client            480 daemons/based/based_remote.c               pcmk__client_name(client));
client            483 daemons/based/based_remote.c     if ((PCMK__CLIENT_TYPE(client) == pcmk__client_tls)
client            484 daemons/based/based_remote.c         && !pcmk_is_set(client->flags, pcmk__client_tls_handshake_complete)) {
client            486 daemons/based/based_remote.c         int rc = pcmk__read_handshake_data(client);
client            498 daemons/based/based_remote.c         pcmk__set_client_flags(client, pcmk__client_tls_handshake_complete);
client            499 daemons/based/based_remote.c         if (client->remote->auth_timeout) {
client            500 daemons/based/based_remote.c             g_source_remove(client->remote->auth_timeout);
client            504 daemons/based/based_remote.c         client->remote->auth_timeout = g_timeout_add(REMOTE_AUTH_TIMEOUT,
client            506 daemons/based/based_remote.c                                                      client);
client            511 daemons/based/based_remote.c     rc = pcmk__read_remote_message(client->remote, timeout);
client            514 daemons/based/based_remote.c     if (!pcmk_is_set(client->flags, pcmk__client_authenticated)) {
client            518 daemons/based/based_remote.c         command = pcmk__remote_message_xml(client->remote);
client            525 daemons/based/based_remote.c         pcmk__set_client_flags(client, pcmk__client_authenticated);
client            526 daemons/based/based_remote.c         g_source_remove(client->remote->auth_timeout);
client            527 daemons/based/based_remote.c         client->remote->auth_timeout = 0;
client            528 daemons/based/based_remote.c         client->name = crm_element_value_copy(command, "name");
client            532 daemons/based/based_remote.c             client->user = strdup(user);
client            538 daemons/based/based_remote.c         crm_xml_add(reg, F_CIB_CLIENTID, client->id);
client            539 daemons/based/based_remote.c         pcmk__remote_send_xml(client->remote, reg);
client            544 daemons/based/based_remote.c     command = pcmk__remote_message_xml(client->remote);
client            547 daemons/based/based_remote.c         cib_handle_remote_msg(client, command);
client            549 daemons/based/based_remote.c         command = pcmk__remote_message_xml(client->remote);
client            145 daemons/based/pacemaker-based.h void cib_diff_notify(int options, const char *client, const char *call_id,
client            382 daemons/controld/controld_control.c     pcmk__client_t *client = pcmk__find_client(c);
client            384 daemons/controld/controld_control.c     xmlNode *msg = pcmk__client_data2xml(client, data, &id, &flags);
client            387 daemons/controld/controld_control.c         pcmk__ipc_send_ack(client, id, flags, "ack", NULL, CRM_EX_PROTOCOL);
client            390 daemons/controld/controld_control.c     pcmk__ipc_send_ack(client, id, flags, "ack", NULL, CRM_EX_INDETERMINATE);
client            392 daemons/controld/controld_control.c     CRM_ASSERT(client->user != NULL);
client            393 daemons/controld/controld_control.c     pcmk__update_acl_user(msg, F_CRM_USER, client->user);
client            395 daemons/controld/controld_control.c     crm_xml_add(msg, F_CRM_SYS_FROM, client->id);
client            396 daemons/controld/controld_control.c     if (controld_authorize_ipc_message(msg, client, NULL)) {
client            398 daemons/controld/controld_control.c                   pcmk__client_name(client));
client            410 daemons/controld/controld_control.c     pcmk__client_t *client = pcmk__find_client(c);
client            412 daemons/controld/controld_control.c     if (client) {
client            414 daemons/controld/controld_control.c                   (client->userdata? "" : "un"), pcmk__client_name(client),
client            415 daemons/controld/controld_control.c                   c, client);
client            416 daemons/controld/controld_control.c         free(client->userdata);
client            417 daemons/controld/controld_control.c         pcmk__free_client(client);
client            451 daemons/controld/controld_fencing.c     const char *client = "a client";
client            469 daemons/controld/controld_fencing.c         client = event->client_origin;
client            488 daemons/controld/controld_fencing.c                        event->target, executioner, client, event->origin);
client            536 daemons/controld/controld_fencing.c                event->action, executioner, client, event->origin,
client            566 daemons/controld/controld_fencing.c             if (!pcmk__str_eq(client, te_client_id, pcmk__str_casei)) {
client            571 daemons/controld/controld_fencing.c                          client, event->target);
client            104 daemons/execd/execd_alerts.c process_lrmd_alert_exec(pcmk__client_t *client, uint32_t id, xmlNode *request)
client            118 daemons/execd/execd_alerts.c         (client == NULL) || (client->id == NULL)) { /* hint static analyzer */
client            127 daemons/execd/execd_alerts.c     crm_info("Executing alert %s for %s", alert_id, client->id);
client            140 daemons/execd/execd_alerts.c     cb_data->client_id = strdup(client->id);
client            298 daemons/execd/execd_commands.c create_lrmd_cmd(xmlNode *msg, pcmk__client_t *client)
client            308 daemons/execd/execd_commands.c     cmd->client_id = strdup(client->id);
client            550 daemons/execd/execd_commands.c     pcmk__client_t *client = value;
client            555 daemons/execd/execd_commands.c     CRM_CHECK(client != NULL, return);
client            556 daemons/execd/execd_commands.c     if (client->name == NULL) {
client            560 daemons/execd/execd_commands.c     if (pcmk_is_set(client->flags, pcmk__client_to_proxy)) {
client            566 daemons/execd/execd_commands.c                   pcmk__client_name(client));
client            570 daemons/execd/execd_commands.c     rc = lrmd_server_send_notify(client, update_msg);
client            587 daemons/execd/execd_commands.c                pcmk__client_name(client), msg, rc);
client            669 daemons/execd/execd_commands.c         pcmk__client_t *client = pcmk__find_client_by_id(cmd->client_id);
client            671 daemons/execd/execd_commands.c         if (client != NULL) {
client            672 daemons/execd/execd_commands.c             send_client_notify(client->id, client, notify);
client            767 daemons/execd/execd_commands.c     pcmk__client_t *client = value;
client            770 daemons/execd/execd_commands.c     if (!pcmk__str_eq(client->id, data->new_client->id, pcmk__str_casei)) {
client            771 daemons/execd/execd_commands.c         send_client_notify(key, (gpointer) client, (gpointer) data->notify);
client           1471 daemons/execd/execd_commands.c process_lrmd_signon(pcmk__client_t *client, xmlNode *request, int call_id,
client           1485 daemons/execd/execd_commands.c         if ((client->remote != NULL)
client           1486 daemons/execd/execd_commands.c             && pcmk_is_set(client->flags,
client           1490 daemons/execd/execd_commands.c             ipc_proxy_add_provider(client);
client           1501 daemons/execd/execd_commands.c     crm_xml_add(*reply, F_LRMD_CLIENTID, client->id);
client           1508 daemons/execd/execd_commands.c process_lrmd_rsc_register(pcmk__client_t *client, uint32_t id, xmlNode *request)
client           1558 daemons/execd/execd_commands.c process_lrmd_rsc_unregister(pcmk__client_t *client, uint32_t id,
client           1590 daemons/execd/execd_commands.c process_lrmd_rsc_exec(pcmk__client_t *client, uint32_t id, xmlNode *request)
client           1607 daemons/execd/execd_commands.c     cmd = create_lrmd_cmd(request, client);
client           1715 daemons/execd/execd_commands.c process_lrmd_rsc_cancel(pcmk__client_t *client, uint32_t id, xmlNode *request)
client           1795 daemons/execd/execd_commands.c process_lrmd_message(pcmk__client_t *client, uint32_t id, xmlNode *request)
client           1808 daemons/execd/execd_commands.c     bool allowed = pcmk_is_set(client->flags, pcmk__client_privileged);
client           1810 daemons/execd/execd_commands.c     crm_trace("Processing %s operation from %s", op, client->id);
client           1816 daemons/execd/execd_commands.c             ipc_proxy_forward_client(client, request);
client           1825 daemons/execd/execd_commands.c         rc = process_lrmd_signon(client, request, call_id, &reply);
client           1829 daemons/execd/execd_commands.c             rc = process_lrmd_rsc_register(client, id, request);
client           1844 daemons/execd/execd_commands.c             rc = process_lrmd_rsc_unregister(client, id, request);
client           1855 daemons/execd/execd_commands.c             rc = process_lrmd_rsc_exec(client, id, request);
client           1862 daemons/execd/execd_commands.c             rc = process_lrmd_rsc_cancel(client, id, request);
client           1881 daemons/execd/execd_commands.c             rc = process_lrmd_alert_exec(client, id, request);
client           1897 daemons/execd/execd_commands.c                 op, pcmk__client_name(client));
client           1902 daemons/execd/execd_commands.c                  op, pcmk__client_name(client));
client           1906 daemons/execd/execd_commands.c               op, client->id, rc, do_reply, do_notify);
client           1914 daemons/execd/execd_commands.c         send_rc = lrmd_server_send_reply(client, id, reply);
client           1918 daemons/execd/execd_commands.c                      pcmk__client_name(client), pcmk_rc_str(send_rc), send_rc);
client            108 daemons/execd/pacemaker-execd.c     pcmk__client_t *client = pcmk__find_client(c);
client            109 daemons/execd/pacemaker-execd.c     xmlNode *request = pcmk__client_data2xml(client, data, &id, &flags);
client            111 daemons/execd/pacemaker-execd.c     CRM_CHECK(client != NULL, crm_err("Invalid client");
client            113 daemons/execd/pacemaker-execd.c     CRM_CHECK(client->id != NULL, crm_err("Invalid client: %p", client);
client            116 daemons/execd/pacemaker-execd.c     CRM_CHECK(flags & crm_ipc_client_response, crm_err("Invalid client request: %p", client);
client            123 daemons/execd/pacemaker-execd.c     if (!client->name) {
client            127 daemons/execd/pacemaker-execd.c             client->name = pcmk__itoa(pcmk__client_pid(c));
client            129 daemons/execd/pacemaker-execd.c             client->name = strdup(value);
client            138 daemons/execd/pacemaker-execd.c     crm_xml_add(request, F_LRMD_CLIENTID, client->id);
client            139 daemons/execd/pacemaker-execd.c     crm_xml_add(request, F_LRMD_CLIENTNAME, client->name);
client            142 daemons/execd/pacemaker-execd.c     process_lrmd_message(client, id, request);
client            155 daemons/execd/pacemaker-execd.c lrmd_client_destroy(pcmk__client_t *client)
client            157 daemons/execd/pacemaker-execd.c     pcmk__free_client(client);
client            172 daemons/execd/pacemaker-execd.c     pcmk__client_t *client = pcmk__find_client(c);
client            174 daemons/execd/pacemaker-execd.c     if (client == NULL) {
client            179 daemons/execd/pacemaker-execd.c     client_disconnect_cleanup(client->id);
client            181 daemons/execd/pacemaker-execd.c     ipc_proxy_remove_provider(client);
client            183 daemons/execd/pacemaker-execd.c     lrmd_client_destroy(client);
client            204 daemons/execd/pacemaker-execd.c lrmd_server_send_reply(pcmk__client_t *client, uint32_t id, xmlNode *reply)
client            206 daemons/execd/pacemaker-execd.c     crm_trace("Sending reply (%d) to client (%s)", id, client->id);
client            207 daemons/execd/pacemaker-execd.c     switch (PCMK__CLIENT_TYPE(client)) {
client            209 daemons/execd/pacemaker-execd.c             return pcmk__ipc_send_xml(client, id, reply, FALSE);
client            212 daemons/execd/pacemaker-execd.c             return lrmd__remote_send_xml(client->remote, reply, id, "reply");
client            217 daemons/execd/pacemaker-execd.c                     pcmk__client_name(client), client->flags);
client            224 daemons/execd/pacemaker-execd.c lrmd_server_send_notify(pcmk__client_t *client, xmlNode *msg)
client            226 daemons/execd/pacemaker-execd.c     crm_trace("Sending notification to client (%s)", client->id);
client            227 daemons/execd/pacemaker-execd.c     switch (PCMK__CLIENT_TYPE(client)) {
client            229 daemons/execd/pacemaker-execd.c             if (client->ipcs == NULL) {
client            233 daemons/execd/pacemaker-execd.c             return pcmk__ipc_send_xml(client, 0, msg, crm_ipc_server_event);
client            236 daemons/execd/pacemaker-execd.c             if (client->remote == NULL) {
client            240 daemons/execd/pacemaker-execd.c                 return lrmd__remote_send_xml(client->remote, msg, 0, "notify");
client            246 daemons/execd/pacemaker-execd.c                     pcmk__client_name(client), client->flags);
client             62 daemons/execd/pacemaker-execd.h int lrmd_server_send_reply(pcmk__client_t *client, uint32_t id, xmlNode *reply);
client             64 daemons/execd/pacemaker-execd.h int lrmd_server_send_notify(pcmk__client_t *client, xmlNode *msg);
client             68 daemons/execd/pacemaker-execd.h void process_lrmd_message(pcmk__client_t *client, uint32_t id,
client             77 daemons/execd/pacemaker-execd.h void lrmd_client_destroy(pcmk__client_t *client);
client             97 daemons/execd/pacemaker-execd.h void ipc_proxy_add_provider(pcmk__client_t *client);
client             98 daemons/execd/pacemaker-execd.h void ipc_proxy_remove_provider(pcmk__client_t *client);
client             99 daemons/execd/pacemaker-execd.h void ipc_proxy_forward_client(pcmk__client_t *client, xmlNode *xml);
client            105 daemons/execd/pacemaker-execd.h int process_lrmd_alert_exec(pcmk__client_t *client, uint32_t id,
client             69 daemons/execd/remoted_proxy.c     pcmk__client_t *client;
client             82 daemons/execd/remoted_proxy.c     client = pcmk__new_client(c, uid, gid);
client             83 daemons/execd/remoted_proxy.c     if (client == NULL) {
client             89 daemons/execd/remoted_proxy.c     client->userdata = strdup(ipc_proxy->id);
client             90 daemons/execd/remoted_proxy.c     client->name = crm_strdup_printf("proxy-%s-%d-%.8s", ipc_channel, client->pid, client->id);
client             95 daemons/execd/remoted_proxy.c     pcmk__set_client_flags(client, pcmk__client_to_proxy);
client             97 daemons/execd/remoted_proxy.c     g_hash_table_insert(ipc_clients, client->id, client);
client            102 daemons/execd/remoted_proxy.c     crm_xml_add(msg, F_LRMD_IPC_SESSION, client->id);
client            107 daemons/execd/remoted_proxy.c               client->id, uid, gid, ipc_channel);
client            226 daemons/execd/remoted_proxy.c     pcmk__client_t *client = pcmk__find_client(c);
client            227 daemons/execd/remoted_proxy.c     pcmk__client_t *ipc_proxy = pcmk__find_client_by_id(client->userdata);
client            232 daemons/execd/remoted_proxy.c         qb_ipcs_disconnect(client->ipcs);
client            249 daemons/execd/remoted_proxy.c     request = pcmk__client_data2xml(client, data, &id, &flags);
client            255 daemons/execd/remoted_proxy.c     CRM_CHECK(client != NULL, crm_err("Invalid client");
client            257 daemons/execd/remoted_proxy.c     CRM_CHECK(client->id != NULL, crm_err("Invalid client: %p", client);
client            263 daemons/execd/remoted_proxy.c     pcmk__set_ipc_flags(flags, pcmk__client_name(client), crm_ipc_proxied);
client            264 daemons/execd/remoted_proxy.c     client->request_id = id;
client            268 daemons/execd/remoted_proxy.c     crm_xml_add(msg, F_LRMD_IPC_SESSION, client->id);
client            269 daemons/execd/remoted_proxy.c     crm_xml_add(msg, F_LRMD_IPC_CLIENT, pcmk__client_name(client));
client            270 daemons/execd/remoted_proxy.c     crm_xml_add(msg, F_LRMD_IPC_USER, client->user);
client            310 daemons/execd/remoted_proxy.c     pcmk__client_t *client = pcmk__find_client(c);
client            313 daemons/execd/remoted_proxy.c     if (client == NULL) {
client            317 daemons/execd/remoted_proxy.c     ipc_proxy = pcmk__find_client_by_id(client->userdata);
client            324 daemons/execd/remoted_proxy.c         crm_xml_add(msg, F_LRMD_IPC_SESSION, client->id);
client            329 daemons/execd/remoted_proxy.c     g_hash_table_remove(ipc_clients, client->id);
client            331 daemons/execd/remoted_proxy.c     free(client->userdata);
client            332 daemons/execd/remoted_proxy.c     client->userdata = NULL;
client            333 daemons/execd/remoted_proxy.c     pcmk__free_client(client);
client             56 daemons/execd/remoted_tls.c remoted__read_handshake_data(pcmk__client_t *client)
client             58 daemons/execd/remoted_tls.c     int rc = pcmk__read_handshake_data(client);
client             69 daemons/execd/remoted_tls.c     if (client->remote->auth_timeout) {
client             70 daemons/execd/remoted_tls.c         g_source_remove(client->remote->auth_timeout);
client             72 daemons/execd/remoted_tls.c     client->remote->auth_timeout = 0;
client             74 daemons/execd/remoted_tls.c     pcmk__set_client_flags(client, pcmk__client_tls_handshake_complete);
client             80 daemons/execd/remoted_tls.c     pcmk__set_client_flags(client, pcmk__client_privileged);
client             83 daemons/execd/remoted_tls.c     notify_of_new_client(client);
client             93 daemons/execd/remoted_tls.c     pcmk__client_t *client = data;
client             95 daemons/execd/remoted_tls.c     if (!pcmk_is_set(client->flags,
client             97 daemons/execd/remoted_tls.c         return remoted__read_handshake_data(client);
client            100 daemons/execd/remoted_tls.c     switch (pcmk__remote_ready(client->remote, 0)) {
client            110 daemons/execd/remoted_tls.c     rc = pcmk__read_remote_message(client->remote, -1);
client            112 daemons/execd/remoted_tls.c     request = pcmk__remote_message_xml(client->remote);
client            116 daemons/execd/remoted_tls.c         if (!client->name) {
client            120 daemons/execd/remoted_tls.c                 client->name = strdup(value);
client            129 daemons/execd/remoted_tls.c         crm_xml_add(request, F_LRMD_CLIENTID, client->id);
client            130 daemons/execd/remoted_tls.c         crm_xml_add(request, F_LRMD_CLIENTNAME, client->name);
client            133 daemons/execd/remoted_tls.c         process_lrmd_message(client, id, request);
client            137 daemons/execd/remoted_tls.c         request = pcmk__remote_message_xml(client->remote);
client            151 daemons/execd/remoted_tls.c     pcmk__client_t *client = user_data;
client            153 daemons/execd/remoted_tls.c     if (client == NULL) {
client            158 daemons/execd/remoted_tls.c                pcmk__client_name(client));
client            160 daemons/execd/remoted_tls.c     ipc_proxy_remove_provider(client);
client            168 daemons/execd/remoted_tls.c     if (client->remote->tls_session) {
client            172 daemons/execd/remoted_tls.c         sock_ptr = gnutls_transport_get_ptr(*client->remote->tls_session);
client            175 daemons/execd/remoted_tls.c         gnutls_bye(*client->remote->tls_session, GNUTLS_SHUT_RDWR);
client            176 daemons/execd/remoted_tls.c         gnutls_deinit(*client->remote->tls_session);
client            177 daemons/execd/remoted_tls.c         gnutls_free(client->remote->tls_session);
client            181 daemons/execd/remoted_tls.c     lrmd_client_destroy(client);
client            188 daemons/execd/remoted_tls.c     pcmk__client_t *client = data;
client            190 daemons/execd/remoted_tls.c     client->remote->auth_timeout = 0;
client            192 daemons/execd/remoted_tls.c     if (pcmk_is_set(client->flags,
client            197 daemons/execd/remoted_tls.c     mainloop_del_fd(client->remote->source);
client            198 daemons/execd/remoted_tls.c     client->remote->source = NULL;
client             72 daemons/fenced/fenced_commands.c                                pcmk__client_t *client);
client             95 daemons/fenced/fenced_commands.c     char *client;
client            322 daemons/fenced/fenced_commands.c     free(cmd->client);
client            361 daemons/fenced/fenced_commands.c     cmd->client = crm_element_value_copy(msg, F_STONITH_CLIENTID);
client            362 daemons/fenced/fenced_commands.c     if ((cmd->action == NULL) || (cmd->op == NULL) || (cmd->client == NULL)) {
client            670 daemons/fenced/fenced_commands.c                   device->id, cmd->client, cmd->timeout);
client           1173 daemons/fenced/fenced_commands.c     cmd->client = strdup(crm_system_name);
client           2395 daemons/fenced/fenced_commands.c     pcmk__client_t *client = NULL;
client           2398 daemons/fenced/fenced_commands.c         client = pcmk__find_client_by_id(query->client_id);
client           2399 daemons/fenced/fenced_commands.c         if ((client == NULL) && (query->remote_peer == NULL)) {
client           2483 daemons/fenced/fenced_commands.c                        client);
client           2596 daemons/fenced/fenced_commands.c     pcmk__client_t *client = NULL;
client           2602 daemons/fenced/fenced_commands.c     if (cmd->client != NULL) {
client           2603 daemons/fenced/fenced_commands.c         client = pcmk__find_client_by_id(cmd->client);
client           2604 daemons/fenced/fenced_commands.c         if ((client == NULL) && (cmd->origin == NULL)) {
client           2605 daemons/fenced/fenced_commands.c             crm_trace("Skipping reply to %s: no longer a client", cmd->client);
client           2627 daemons/fenced/fenced_commands.c         stonith_send_reply(reply, cmd->options, cmd->origin, client);
client           2643 daemons/fenced/fenced_commands.c         crm_xml_add(notify_data, F_STONITH_ORIGIN, cmd->client);
client           2702 daemons/fenced/fenced_commands.c         if (pcmk__str_eq(cmd->client, cmd_other->client, pcmk__str_casei) ||
client           2991 daemons/fenced/fenced_commands.c     crm_xml_add(reply, F_STONITH_CLIENTID, cmd->client);
client           3066 daemons/fenced/fenced_commands.c                    pcmk__client_t *client)
client           3068 daemons/fenced/fenced_commands.c     CRM_CHECK((reply != NULL) && ((remote_peer != NULL) || (client != NULL)),
client           3072 daemons/fenced/fenced_commands.c         do_local_reply(reply, client, call_options);
client           3594 daemons/fenced/fenced_commands.c handle_reply(pcmk__client_t *client, xmlNode *request, const char *remote_peer)
client           3605 daemons/fenced/fenced_commands.c                 pcmk__s(op, "untyped"), ((client == NULL)? "peer" : "client"),
client           3606 daemons/fenced/fenced_commands.c                 ((client == NULL)? remote_peer : pcmk__client_name(client)));
client           3612 daemons/fenced/fenced_commands.c               op, ((client == NULL)? "peer" : "client"),
client           3613 daemons/fenced/fenced_commands.c               ((client == NULL)? remote_peer : pcmk__client_name(client)));
client           3628 daemons/fenced/fenced_commands.c stonith_command(pcmk__client_t *client, uint32_t id, uint32_t flags,
client           3644 daemons/fenced/fenced_commands.c               ((client == NULL)? "peer" : "client"),
client           3645 daemons/fenced/fenced_commands.c               ((client == NULL)? remote_peer : pcmk__client_name(client)));
client           3648 daemons/fenced/fenced_commands.c         CRM_ASSERT(client == NULL || client->request_id == id);
client           3652 daemons/fenced/fenced_commands.c         handle_reply(client, message, remote_peer);
client           3655 daemons/fenced/fenced_commands.c             .ipc_client     = client,
client            442 daemons/fenced/fenced_remote.c     pcmk__client_t *client = NULL;
client            458 daemons/fenced/fenced_remote.c     client = pcmk__find_client_by_id(op->client_id);
client            459 daemons/fenced/fenced_remote.c     if (client == NULL) {
client            462 daemons/fenced/fenced_remote.c         do_local_reply(reply, client, op->call_options);
client           1089 daemons/fenced/fenced_remote.c fenced_handle_manual_confirmation(const pcmk__client_t *client, xmlNode *msg)
client           1099 daemons/fenced/fenced_remote.c     op = initiate_remote_stonith_op(client, msg, TRUE);
client           1129 daemons/fenced/fenced_remote.c create_remote_stonith_op(const char *client, xmlNode *request, gboolean peer)
client           1148 daemons/fenced/fenced_remote.c                       op_id, ((client == NULL)? "unknown client" : client));
client           1180 daemons/fenced/fenced_remote.c     CRM_LOG_ASSERT(client != NULL);
client           1181 daemons/fenced/fenced_remote.c     if (client) {
client           1182 daemons/fenced/fenced_remote.c         op->client_id = strdup(client);
client           1254 daemons/fenced/fenced_remote.c initiate_remote_stonith_op(const pcmk__client_t *client, xmlNode *request,
client           1264 daemons/fenced/fenced_remote.c     if (client) {
client           1265 daemons/fenced/fenced_remote.c         client_id = client->id;
client            159 daemons/fenced/pacemaker-fenced.c     pcmk__client_t *client = pcmk__find_client(c);
client            161 daemons/fenced/pacemaker-fenced.c     if (client == NULL) {
client            166 daemons/fenced/pacemaker-fenced.c     pcmk__free_client(client);
client            233 daemons/fenced/pacemaker-fenced.c do_local_reply(xmlNode *notify_src, pcmk__client_t *client, int call_options)
client            241 daemons/fenced/pacemaker-fenced.c         CRM_LOG_ASSERT(client->request_id);
client            242 daemons/fenced/pacemaker-fenced.c         rid = client->request_id;
client            243 daemons/fenced/pacemaker-fenced.c         client->request_id = 0;
client            247 daemons/fenced/pacemaker-fenced.c     local_rc = pcmk__ipc_send_xml(client, rid, notify_src, ipc_flags);
client            250 daemons/fenced/pacemaker-fenced.c                   rid, pcmk__client_name(client));
client            254 daemons/fenced/pacemaker-fenced.c                  pcmk__client_name(client), pcmk_rc_str(local_rc));
client            285 daemons/fenced/pacemaker-fenced.c     pcmk__client_t *client = value;
client            288 daemons/fenced/pacemaker-fenced.c     CRM_CHECK(client != NULL, return);
client            294 daemons/fenced/pacemaker-fenced.c     if (client->ipcs == NULL) {
client            299 daemons/fenced/pacemaker-fenced.c     if (pcmk_is_set(client->flags, get_stonith_flag(type))) {
client            300 daemons/fenced/pacemaker-fenced.c         int rc = pcmk__ipc_send_xml(client, 0, update_msg,
client            305 daemons/fenced/pacemaker-fenced.c                      CRM_XS " id=%.8s rc=%d", type, pcmk__client_name(client),
client            306 daemons/fenced/pacemaker-fenced.c                      pcmk_rc_str(rc), client->id, rc);
client            309 daemons/fenced/pacemaker-fenced.c                       type, pcmk__client_name(client));
client            317 daemons/fenced/pacemaker-fenced.c     pcmk__client_t *client = NULL;
client            324 daemons/fenced/pacemaker-fenced.c     client = pcmk__find_client_by_id(client_id);
client            325 daemons/fenced/pacemaker-fenced.c     if (!client) {
client            336 daemons/fenced/pacemaker-fenced.c     if (client) {
client            337 daemons/fenced/pacemaker-fenced.c         pcmk__ipc_send_xml(client, 0, notify_data, crm_ipc_server_event);
client            219 daemons/fenced/pacemaker-fenced.h void stonith_command(pcmk__client_t *client, uint32_t id, uint32_t flags,
client            234 daemons/fenced/pacemaker-fenced.h void do_local_reply(xmlNode *notify_src, pcmk__client_t *client,
client            241 daemons/fenced/pacemaker-fenced.h  do_stonith_async_timeout_update(const char *client, const char *call_id, int timeout);
client            253 daemons/fenced/pacemaker-fenced.h remote_fencing_op_t *initiate_remote_stonith_op(const pcmk__client_t *client,
client            261 daemons/fenced/pacemaker-fenced.h void *create_remote_stonith_op(const char *client, xmlNode * request, gboolean peer);
client            272 daemons/fenced/pacemaker-fenced.h int fenced_handle_manual_confirmation(const pcmk__client_t *client,
client            180 daemons/pacemakerd/pcmkd_messages.c     pcmk__client_t *client = pcmk__find_client(c);
client            182 daemons/pacemakerd/pcmkd_messages.c     if (client == NULL) {
client            186 daemons/pacemakerd/pcmkd_messages.c     if (shutdown_complete_state_reported_to == client->pid) {
client            192 daemons/pacemakerd/pcmkd_messages.c     pcmk__free_client(client);
client            312 daemons/schedulerd/schedulerd_messages.c     pcmk__client_t *client = pcmk__find_client(c);
client            314 daemons/schedulerd/schedulerd_messages.c     if (client == NULL) {
client            318 daemons/schedulerd/schedulerd_messages.c     pcmk__free_client(client);
client            168 include/crm/common/ipc.h bool crm_ipc_connect(crm_ipc_t * client);
client            169 include/crm/common/ipc.h void crm_ipc_close(crm_ipc_t * client);
client            170 include/crm/common/ipc.h void crm_ipc_destroy(crm_ipc_t * client);
client            173 include/crm/common/ipc.h int crm_ipc_send(crm_ipc_t * client, xmlNode * message, enum crm_ipc_flags flags,
client            176 include/crm/common/ipc.h int crm_ipc_get_fd(crm_ipc_t * client);
client            177 include/crm/common/ipc.h bool crm_ipc_connected(crm_ipc_t * client);
client            178 include/crm/common/ipc.h int crm_ipc_ready(crm_ipc_t * client);
client            179 include/crm/common/ipc.h long crm_ipc_read(crm_ipc_t * client);
client            180 include/crm/common/ipc.h const char *crm_ipc_buffer(crm_ipc_t * client);
client            181 include/crm/common/ipc.h uint32_t crm_ipc_buffer_flags(crm_ipc_t * client);
client            182 include/crm/common/ipc.h const char *crm_ipc_name(crm_ipc_t * client);
client            163 include/crm/common/ipc_internal.h #define PCMK__CLIENT_TYPE(client) ((client)->flags & UINT64_C(0xff00000000))
client            191 include/crm/common/ipc_internal.h #define pcmk__set_client_flags(client, flags_to_set) do {               \
client            192 include/crm/common/ipc_internal.h         (client)->flags = pcmk__set_flags_as(__func__, __LINE__,        \
client            194 include/crm/common/ipc_internal.h             "Client", pcmk__client_name(client),                        \
client            195 include/crm/common/ipc_internal.h             (client)->flags, (flags_to_set), #flags_to_set);            \
client            198 include/crm/common/ipc_internal.h #define pcmk__clear_client_flags(client, flags_to_clear) do {           \
client            199 include/crm/common/ipc_internal.h         (client)->flags = pcmk__clear_flags_as(__func__, __LINE__,      \
client            201 include/crm/common/ipc_internal.h             "Client", pcmk__client_name(client),                        \
client            202 include/crm/common/ipc_internal.h             (client)->flags, (flags_to_clear), #flags_to_clear);        \
client            233 include/crm/common/ipc_internal.h bool pcmk__set_client_queue_max(pcmk__client_t *client, const char *qmax);
client            126 include/crm/common/mainloop.h void mainloop_del_ipc_client(mainloop_io_t * client);
client            128 include/crm/common/mainloop.h crm_ipc_t *mainloop_get_ipc_client(mainloop_io_t * client);
client            151 include/crm/common/mainloop.h void mainloop_del_fd(mainloop_io_t * client);
client             34 include/crm/common/remote_internal.h int pcmk__read_handshake_data(const pcmk__client_t *client);
client            109 include/crm/stonith-ng.h     char *client;
client            442 lib/cib/cib_client.c             cib_notify_client_t *client = g_list_nth_data(list, 0);
client            444 lib/cib/cib_client.c             list = g_list_remove(list, client);
client            445 lib/cib/cib_client.c             free(client);
client            532 lib/cib/cib_client.c         cib_notify_client_t *client = (cib_notify_client_t *)l->data;
client            534 lib/cib/cib_client.c         if (strcmp(client->event, event) == 0) {
client            705 lib/common/ipc_client.c     const char *client = crm_system_name? crm_system_name : "client";
client            720 lib/common/ipc_client.c                                      pcmk_ipc_name(api, false), client, NULL);
client            802 lib/common/ipc_client.c     crm_ipc_t *client = NULL;
client            804 lib/common/ipc_client.c     client = calloc(1, sizeof(crm_ipc_t));
client            805 lib/common/ipc_client.c     if (client == NULL) {
client            810 lib/common/ipc_client.c     client->server_name = strdup(name);
client            811 lib/common/ipc_client.c     if (client->server_name == NULL) {
client            814 lib/common/ipc_client.c         free(client);
client            817 lib/common/ipc_client.c     client->buf_size = pcmk__ipc_buffer_size(max_size);
client            818 lib/common/ipc_client.c     client->buffer = malloc(client->buf_size);
client            819 lib/common/ipc_client.c     if (client->buffer == NULL) {
client            822 lib/common/ipc_client.c         free(client->server_name);
client            823 lib/common/ipc_client.c         free(client);
client            828 lib/common/ipc_client.c     client->max_buf_size = client->buf_size;
client            830 lib/common/ipc_client.c     client->pfd.fd = -1;
client            831 lib/common/ipc_client.c     client->pfd.events = POLLIN;
client            832 lib/common/ipc_client.c     client->pfd.revents = 0;
client            834 lib/common/ipc_client.c     return client;
client            847 lib/common/ipc_client.c crm_ipc_connect(crm_ipc_t *client)
client            854 lib/common/ipc_client.c     client->need_reply = FALSE;
client            855 lib/common/ipc_client.c     client->ipc = qb_ipcc_connect(client->server_name, client->buf_size);
client            857 lib/common/ipc_client.c     if (client->ipc == NULL) {
client            859 lib/common/ipc_client.c                   client->server_name, pcmk_rc_str(errno), errno);
client            863 lib/common/ipc_client.c     client->pfd.fd = crm_ipc_get_fd(client);
client            864 lib/common/ipc_client.c     if (client->pfd.fd < 0) {
client            867 lib/common/ipc_client.c         crm_ipc_close(client);
client            875 lib/common/ipc_client.c         crm_ipc_close(client);
client            880 lib/common/ipc_client.c     if ((rv = pcmk__crm_ipc_is_authentic_process(client->ipc, client->pfd.fd, cl_uid, cl_gid,
client            885 lib/common/ipc_client.c                 client->server_name,
client            889 lib/common/ipc_client.c         crm_ipc_close(client);
client            895 lib/common/ipc_client.c                    client->server_name);
client            896 lib/common/ipc_client.c         crm_ipc_close(client);
client            905 lib/common/ipc_client.c     qb_ipcc_context_set(client->ipc, client);
client            907 lib/common/ipc_client.c     client->max_buf_size = qb_ipcc_get_buffer_size(client->ipc);
client            908 lib/common/ipc_client.c     if (client->max_buf_size > client->buf_size) {
client            909 lib/common/ipc_client.c         free(client->buffer);
client            910 lib/common/ipc_client.c         client->buffer = calloc(1, client->max_buf_size);
client            911 lib/common/ipc_client.c         client->buf_size = client->max_buf_size;
client            917 lib/common/ipc_client.c crm_ipc_close(crm_ipc_t * client)
client            919 lib/common/ipc_client.c     if (client) {
client            920 lib/common/ipc_client.c         if (client->ipc) {
client            921 lib/common/ipc_client.c             qb_ipcc_connection_t *ipc = client->ipc;
client            923 lib/common/ipc_client.c             client->ipc = NULL;
client            930 lib/common/ipc_client.c crm_ipc_destroy(crm_ipc_t * client)
client            932 lib/common/ipc_client.c     if (client) {
client            933 lib/common/ipc_client.c         if (client->ipc && qb_ipcc_is_connected(client->ipc)) {
client            935 lib/common/ipc_client.c                        client->server_name);
client            947 lib/common/ipc_client.c                       client->server_name);
client            949 lib/common/ipc_client.c         free(client->buffer);
client            950 lib/common/ipc_client.c         free(client->server_name);
client            951 lib/common/ipc_client.c         free(client);
client            956 lib/common/ipc_client.c crm_ipc_get_fd(crm_ipc_t * client)
client            960 lib/common/ipc_client.c     if (client && client->ipc && (qb_ipcc_fd_get(client->ipc, &fd) == 0)) {
client            965 lib/common/ipc_client.c                (client? client->server_name : "unspecified"));
client            970 lib/common/ipc_client.c crm_ipc_connected(crm_ipc_t * client)
client            974 lib/common/ipc_client.c     if (client == NULL) {
client            978 lib/common/ipc_client.c     } else if (client->ipc == NULL) {
client            982 lib/common/ipc_client.c     } else if (client->pfd.fd < 0) {
client            987 lib/common/ipc_client.c     rc = qb_ipcc_is_connected(client->ipc);
client            989 lib/common/ipc_client.c         client->pfd.fd = -EINVAL;
client           1002 lib/common/ipc_client.c crm_ipc_ready(crm_ipc_t *client)
client           1006 lib/common/ipc_client.c     CRM_ASSERT(client != NULL);
client           1008 lib/common/ipc_client.c     if (crm_ipc_connected(client) == FALSE) {
client           1012 lib/common/ipc_client.c     client->pfd.revents = 0;
client           1013 lib/common/ipc_client.c     rc = poll(&(client->pfd), 1, 0);
client           1019 lib/common/ipc_client.c crm_ipc_decompress(crm_ipc_t * client)
client           1021 lib/common/ipc_client.c     pcmk__ipc_header_t *header = (pcmk__ipc_header_t *)(void*)client->buffer;
client           1027 lib/common/ipc_client.c         unsigned int new_buf_size = QB_MAX((sizeof(pcmk__ipc_header_t) + size_u), client->max_buf_size);
client           1034 lib/common/ipc_client.c                                         client->buffer + sizeof(pcmk__ipc_header_t), header->size_compressed, 1, 0);
client           1053 lib/common/ipc_client.c         memcpy(uncompressed, client->buffer, sizeof(pcmk__ipc_header_t));       /* Preserve the header */
client           1056 lib/common/ipc_client.c         free(client->buffer);
client           1057 lib/common/ipc_client.c         client->buf_size = new_buf_size;
client           1058 lib/common/ipc_client.c         client->buffer = uncompressed;
client           1061 lib/common/ipc_client.c     CRM_ASSERT(client->buffer[sizeof(pcmk__ipc_header_t) + header->size_uncompressed - 1] == 0);
client           1066 lib/common/ipc_client.c crm_ipc_read(crm_ipc_t * client)
client           1070 lib/common/ipc_client.c     CRM_ASSERT(client != NULL);
client           1071 lib/common/ipc_client.c     CRM_ASSERT(client->ipc != NULL);
client           1072 lib/common/ipc_client.c     CRM_ASSERT(client->buffer != NULL);
client           1074 lib/common/ipc_client.c     client->buffer[0] = 0;
client           1075 lib/common/ipc_client.c     client->msg_size = qb_ipcc_event_recv(client->ipc, client->buffer,
client           1076 lib/common/ipc_client.c                                           client->buf_size, 0);
client           1077 lib/common/ipc_client.c     if (client->msg_size >= 0) {
client           1078 lib/common/ipc_client.c         int rc = crm_ipc_decompress(client);
client           1084 lib/common/ipc_client.c         header = (pcmk__ipc_header_t *)(void*)client->buffer;
client           1090 lib/common/ipc_client.c                   client->server_name, header->qb.id, header->qb.size,
client           1091 lib/common/ipc_client.c                   client->msg_size,
client           1092 lib/common/ipc_client.c                   client->buffer + sizeof(pcmk__ipc_header_t));
client           1096 lib/common/ipc_client.c                   client->server_name, pcmk_strerror(client->msg_size));
client           1098 lib/common/ipc_client.c         if (client->msg_size == -EAGAIN) {
client           1103 lib/common/ipc_client.c     if (crm_ipc_connected(client) == FALSE || client->msg_size == -ENOTCONN) {
client           1104 lib/common/ipc_client.c         crm_err("Connection to %s IPC failed", client->server_name);
client           1115 lib/common/ipc_client.c crm_ipc_buffer(crm_ipc_t * client)
client           1117 lib/common/ipc_client.c     CRM_ASSERT(client != NULL);
client           1118 lib/common/ipc_client.c     return client->buffer + sizeof(pcmk__ipc_header_t);
client           1122 lib/common/ipc_client.c crm_ipc_buffer_flags(crm_ipc_t * client)
client           1126 lib/common/ipc_client.c     CRM_ASSERT(client != NULL);
client           1127 lib/common/ipc_client.c     if (client->buffer == NULL) {
client           1131 lib/common/ipc_client.c     header = (pcmk__ipc_header_t *)(void*)client->buffer;
client           1136 lib/common/ipc_client.c crm_ipc_name(crm_ipc_t * client)
client           1138 lib/common/ipc_client.c     CRM_ASSERT(client != NULL);
client           1139 lib/common/ipc_client.c     return client->server_name;
client           1144 lib/common/ipc_client.c internal_ipc_get_reply(crm_ipc_t *client, int request_id, int ms_timeout,
client           1152 lib/common/ipc_client.c               client->server_name, request_id);
client           1155 lib/common/ipc_client.c         *bytes = qb_ipcc_recv(client->ipc, client->buffer, client->buf_size, 1000);
client           1159 lib/common/ipc_client.c             rc = crm_ipc_decompress(client);
client           1164 lib/common/ipc_client.c             hdr = (pcmk__ipc_header_t *)(void*)client->buffer;
client           1169 lib/common/ipc_client.c                 xmlNode *bad = string2xml(crm_ipc_buffer(client));
client           1175 lib/common/ipc_client.c                 xmlNode *bad = string2xml(crm_ipc_buffer(client));
client           1181 lib/common/ipc_client.c         } else if (crm_ipc_connected(client) == FALSE) {
client           1183 lib/common/ipc_client.c                     client->server_name, request_id);
client           1209 lib/common/ipc_client.c crm_ipc_send(crm_ipc_t * client, xmlNode * message, enum crm_ipc_flags flags, int32_t ms_timeout,
client           1220 lib/common/ipc_client.c     if (client == NULL) {
client           1225 lib/common/ipc_client.c     } else if (crm_ipc_connected(client) == FALSE) {
client           1228 lib/common/ipc_client.c                    client->server_name);
client           1236 lib/common/ipc_client.c     if (client->need_reply) {
client           1237 lib/common/ipc_client.c         qb_rc = qb_ipcc_recv(client->ipc, client->buffer, client->buf_size, ms_timeout);
client           1240 lib/common/ipc_client.c                      client->server_name);
client           1245 lib/common/ipc_client.c                        client->server_name);
client           1246 lib/common/ipc_client.c             client->need_reply = FALSE;
client           1252 lib/common/ipc_client.c     rc = pcmk__ipc_prepare_iov(id, message, client->max_buf_size, &iov, &bytes);
client           1255 lib/common/ipc_client.c                  client->server_name, pcmk_rc_str(rc), rc);
client           1260 lib/common/ipc_client.c     pcmk__set_ipc_flags(header->flags, client->server_name, flags);
client           1268 lib/common/ipc_client.c         if(factor < 10 && (client->max_buf_size / 10) < (bytes / factor)) {
client           1272 lib/common/ipc_client.c                        factor, client->max_buf_size, 2 * client->max_buf_size);
client           1278 lib/common/ipc_client.c               client->server_name, header->qb.id, header->qb.size, ms_timeout);
client           1288 lib/common/ipc_client.c             if (!crm_ipc_connected(client)) {
client           1292 lib/common/ipc_client.c             qb_rc = qb_ipcc_sendv(client->ipc, iov, 2);
client           1301 lib/common/ipc_client.c                       client->server_name, header->qb.id);
client           1305 lib/common/ipc_client.c         rc = internal_ipc_get_reply(client, header->qb.id, ms_timeout, &bytes);
client           1313 lib/common/ipc_client.c             client->need_reply = TRUE;
client           1320 lib/common/ipc_client.c             qb_rc = qb_ipcc_sendv_recv(client->ipc, iov, 2, client->buffer,
client           1321 lib/common/ipc_client.c                                        client->buf_size, -1);
client           1322 lib/common/ipc_client.c         } while ((qb_rc == -EAGAIN) && crm_ipc_connected(client));
client           1327 lib/common/ipc_client.c         pcmk__ipc_header_t *hdr = (pcmk__ipc_header_t *)(void*)client->buffer;
client           1330 lib/common/ipc_client.c                   rc, hdr->qb.id, client->server_name, header->qb.id,
client           1331 lib/common/ipc_client.c                   crm_ipc_buffer(client));
client           1334 lib/common/ipc_client.c             *reply = string2xml(crm_ipc_buffer(client));
client           1339 lib/common/ipc_client.c                   client->server_name, header->qb.id, rc);
client           1343 lib/common/ipc_client.c     if (crm_ipc_connected(client) == FALSE) {
client           1345 lib/common/ipc_client.c                    CRM_XS " rc=%d", client->server_name, header->qb.id, rc);
client           1349 lib/common/ipc_client.c                  client->server_name, header->qb.id, pcmk_strerror(rc),
client           1355 lib/common/ipc_client.c                  client->server_name, header->qb.id,
client             74 lib/common/ipc_server.c         pcmk__client_t *client = NULL;
client             78 lib/common/ipc_server.c         while (g_hash_table_iter_next(&iter, &key, (gpointer *) & client)) {
client             79 lib/common/ipc_server.c             if (strcmp(client->id, id) == 0) {
client             80 lib/common/ipc_server.c                 return client;
client            166 lib/common/ipc_server.c     pcmk__client_t *client = calloc(1, sizeof(pcmk__client_t));
client            168 lib/common/ipc_server.c     if (client == NULL) {
client            174 lib/common/ipc_server.c         client->user = pcmk__uid2username(uid_client);
client            175 lib/common/ipc_server.c         if (client->user == NULL) {
client            176 lib/common/ipc_server.c             client->user = strdup("#unprivileged");
client            177 lib/common/ipc_server.c             CRM_CHECK(client->user != NULL, free(client); return NULL);
client            181 lib/common/ipc_server.c         client->ipcs = c;
client            182 lib/common/ipc_server.c         pcmk__set_client_flags(client, pcmk__client_ipc);
client            183 lib/common/ipc_server.c         client->pid = pcmk__client_pid(c);
client            189 lib/common/ipc_server.c     client->id = crm_generate_uuid();
client            191 lib/common/ipc_server.c         key = client->id;
client            197 lib/common/ipc_server.c     g_hash_table_insert(client_connections, key, client);
client            198 lib/common/ipc_server.c     return client;
client            211 lib/common/ipc_server.c     pcmk__client_t *client = client_from_connection(NULL, key, 0);
client            213 lib/common/ipc_server.c     CRM_ASSERT(client != NULL);
client            214 lib/common/ipc_server.c     return client;
client            223 lib/common/ipc_server.c     pcmk__client_t *client = NULL;
client            244 lib/common/ipc_server.c     client = client_from_connection(c, NULL, uid_client);
client            245 lib/common/ipc_server.c     if (client == NULL) {
client            251 lib/common/ipc_server.c         pcmk__set_client_flags(client, pcmk__client_privileged);
client            255 lib/common/ipc_server.c               client->id, client->pid, uid_client, gid_client);
client            256 lib/common/ipc_server.c     return client;
client            350 lib/common/ipc_server.c pcmk__set_client_queue_max(pcmk__client_t *client, const char *qmax)
client            352 lib/common/ipc_server.c     if (pcmk_is_set(client->flags, pcmk__client_privileged)) {
client            357 lib/common/ipc_server.c             client->queue_max = (unsigned int) qmax_ll;
client            730 lib/common/mainloop.c     mainloop_io_t *client = data;
client            732 lib/common/mainloop.c     CRM_ASSERT(client->fd == g_io_channel_unix_get_fd(gio));
client            735 lib/common/mainloop.c         if (client->ipc) {
client            740 lib/common/mainloop.c                 read_rc = crm_ipc_read(client->ipc);
client            743 lib/common/mainloop.c                               client->name, pcmk_strerror(read_rc), read_rc);
client            745 lib/common/mainloop.c                 } else if (client->dispatch_fn_ipc) {
client            746 lib/common/mainloop.c                     const char *buffer = crm_ipc_buffer(client->ipc);
client            750 lib/common/mainloop.c                               read_rc, client->name, (int) condition);
client            751 lib/common/mainloop.c                     if (client->dispatch_fn_ipc(buffer, read_rc, client->userdata) < 0) {
client            752 lib/common/mainloop.c                         crm_trace("Connection to %s no longer required", client->name);
client            761 lib/common/mainloop.c                       client->name, (int) condition);
client            762 lib/common/mainloop.c             if (client->dispatch_fn_io) {
client            763 lib/common/mainloop.c                 if (client->dispatch_fn_io(client->userdata) < 0) {
client            764 lib/common/mainloop.c                     crm_trace("Connection to %s no longer required", client->name);
client            771 lib/common/mainloop.c     if (client->ipc && crm_ipc_connected(client->ipc) == FALSE) {
client            773 lib/common/mainloop.c                 client->name, client, condition);
client            778 lib/common/mainloop.c                   client->name, client, condition);
client            821 lib/common/mainloop.c     mainloop_io_t *client = c;
client            822 lib/common/mainloop.c     char *c_name = strdup(client->name);
client            829 lib/common/mainloop.c     if (client->ipc) {
client            830 lib/common/mainloop.c         crm_ipc_close(client->ipc);
client            833 lib/common/mainloop.c     if (client->destroy_fn) {
client            834 lib/common/mainloop.c         void (*destroy_fn) (gpointer userdata) = client->destroy_fn;
client            836 lib/common/mainloop.c         client->destroy_fn = NULL;
client            837 lib/common/mainloop.c         destroy_fn(client->userdata);
client            840 lib/common/mainloop.c     if (client->ipc) {
client            841 lib/common/mainloop.c         crm_ipc_t *ipc = client->ipc;
client            843 lib/common/mainloop.c         client->ipc = NULL;
client            849 lib/common/mainloop.c     free(client->name); client->name = NULL;
client            850 lib/common/mainloop.c     free(client);
client            941 lib/common/mainloop.c mainloop_del_ipc_client(mainloop_io_t * client)
client            943 lib/common/mainloop.c     mainloop_del_fd(client);
client            947 lib/common/mainloop.c mainloop_get_ipc_client(mainloop_io_t * client)
client            949 lib/common/mainloop.c     if (client) {
client            950 lib/common/mainloop.c         return client->ipc;
client            959 lib/common/mainloop.c     mainloop_io_t *client = NULL;
client            962 lib/common/mainloop.c         client = calloc(1, sizeof(mainloop_io_t));
client            963 lib/common/mainloop.c         if (client == NULL) {
client            966 lib/common/mainloop.c         client->name = strdup(name);
client            967 lib/common/mainloop.c         client->userdata = userdata;
client            970 lib/common/mainloop.c             client->destroy_fn = callbacks->destroy;
client            971 lib/common/mainloop.c             client->dispatch_fn_io = callbacks->dispatch;
client            974 lib/common/mainloop.c         client->fd = fd;
client            975 lib/common/mainloop.c         client->channel = g_io_channel_unix_new(fd);
client            976 lib/common/mainloop.c         client->source =
client            977 lib/common/mainloop.c             g_io_add_watch_full(client->channel, priority,
client            979 lib/common/mainloop.c                                 client, mainloop_gio_destroy);
client            990 lib/common/mainloop.c         g_io_channel_unref(client->channel);
client            991 lib/common/mainloop.c         crm_trace("Added connection %d for %s[%p].%d", client->source, client->name, client, fd);
client            996 lib/common/mainloop.c     return client;
client           1000 lib/common/mainloop.c mainloop_del_fd(mainloop_io_t * client)
client           1002 lib/common/mainloop.c     if (client != NULL) {
client           1003 lib/common/mainloop.c         crm_trace("Removing client %s[%p]", client->name, client);
client           1004 lib/common/mainloop.c         if (client->source) {
client           1008 lib/common/mainloop.c             g_source_remove(client->source);
client            345 lib/common/remote.c pcmk__read_handshake_data(const pcmk__client_t *client)
client            349 lib/common/remote.c     CRM_ASSERT(client && client->remote && client->remote->tls_session);
client            352 lib/common/remote.c         rc = gnutls_handshake(*client->remote->tls_session);
client            732 lib/fencing/st_client.c             kvp->client = crm_element_value_copy(op, F_STONITH_CLIENTNAME);
client            764 lib/fencing/st_client.c         free(hp->client);
client             95 lib/fencing/st_output.c         pcmk__g_strcat(str, " for ", history->client, "@", history->origin,
client            122 lib/fencing/st_output.c                        "client=", history->client, ", origin=", history->origin,
client            447 lib/fencing/st_output.c                                                    "client", event->client,
client            187 lib/pengine/pe_output.c                     const char *client, const char *origin) {
client            188 lib/pengine/pe_output.c     if (last_written != NULL || user != NULL || client != NULL || origin != NULL) {
client            193 lib/pengine/pe_output.c                                  client ? " via " : "",
client            194 lib/pengine/pe_output.c                                  client ? client : "",
client            389 lib/pengine/pe_output.c         const char *client = crm_element_value(data_set->input, XML_ATTR_UPDATE_CLIENT);
client            393 lib/pengine/pe_output.c         out->message(out, "cluster-times", last_written, user, client, origin);
client            454 lib/pengine/pe_output.c         const char *client = crm_element_value(data_set->input, XML_ATTR_UPDATE_CLIENT);
client            458 lib/pengine/pe_output.c         out->message(out, "cluster-times", last_written, user, client, origin);
client           1117 lib/pengine/pe_output.c     const char *client = va_arg(args, const char *);
client           1123 lib/pengine/pe_output.c     char *buf = last_changed_string(last_written, user, client, origin);
client           1141 lib/pengine/pe_output.c     const char *client = va_arg(args, const char *);
client           1150 lib/pengine/pe_output.c                                  "client", client ? client : "",
client           1162 lib/pengine/pe_output.c     const char *client = va_arg(args, const char *);
client           1165 lib/pengine/pe_output.c     char *buf = last_changed_string(last_written, user, client, origin);
client            157 lib/services/dbus.c     mainloop_io_t *client = mainloop_add_fd("dbus", G_PRIORITY_DEFAULT, fd,
client            161 lib/services/dbus.c     dbus_watch_set_data(watch, client, NULL);