lrmd 26 daemons/controld/controld_execd_state.c int lrmd_internal_proxy_send(lrmd_t * lrmd, xmlNode *msg); lrmd 27 daemons/controld/controld_execd_state.c void lrmd_internal_set_proxy_callback(lrmd_t * lrmd, void *userdata, void (*callback)(lrmd_t *lrmd, void *userdata, xmlNode *msg)); lrmd 416 daemons/controld/controld_execd_state.c crmd_remote_proxy_new(lrmd_t *lrmd, const char *node_name, const char *session_id, const char *channel) lrmd 422 daemons/controld/controld_execd_state.c remote_proxy_t *proxy = remote_proxy_new(lrmd, &proxy_callbacks, node_name, lrmd 473 daemons/controld/controld_execd_state.c lrmd_t * lrmd = (lrmd_t *)user_data; lrmd 484 daemons/controld/controld_execd_state.c lrmd__validate_remote_settings(lrmd, config_hash); lrmd 492 daemons/controld/controld_execd_state.c crmd_remote_proxy_cb(lrmd_t *lrmd, void *userdata, xmlNode *msg) lrmd 502 daemons/controld/controld_execd_state.c proxy = crmd_remote_proxy_new(lrmd, lrm_state->node_name, session, channel); lrmd 513 daemons/controld/controld_execd_state.c lrmd, lrmd 534 daemons/controld/controld_execd_state.c remote_proxy_ack_shutdown(lrmd); lrmd 539 daemons/controld/controld_execd_state.c remote_proxy_nack_shutdown(lrmd); lrmd 599 daemons/controld/controld_execd_state.c remote_proxy_cb(lrmd, lrm_state->node_name, msg); lrmd 118 include/crm/lrmd.h bool lrmd_dispatch(lrmd_t *lrmd); lrmd 132 include/crm/lrmd.h int lrmd_poll(lrmd_t *lrmd, int timeout); lrmd 139 include/crm/lrmd.h void lrmd_api_delete(lrmd_t *lrmd); lrmd 208 include/crm/lrmd.h int (*connect) (lrmd_t *lrmd, const char *client_name, int *fd); lrmd 222 include/crm/lrmd.h int (*connect_async) (lrmd_t *lrmd, const char *client_name, lrmd 232 include/crm/lrmd.h int (*is_connected) (lrmd_t *lrmd); lrmd 244 include/crm/lrmd.h int (*poke_connection) (lrmd_t *lrmd); lrmd 253 include/crm/lrmd.h int (*disconnect) (lrmd_t *lrmd); lrmd 269 include/crm/lrmd.h int (*register_rsc) (lrmd_t *lrmd, const char *rsc_id, const char *standard, lrmd 282 include/crm/lrmd.h lrmd_rsc_info_t *(*get_rsc_info) (lrmd_t *lrmd, const char *rsc_id, lrmd 296 include/crm/lrmd.h int (*get_recurring_ops) (lrmd_t *lrmd, const char *rsc_id, int timeout_ms, lrmd 313 include/crm/lrmd.h int (*unregister_rsc) (lrmd_t *lrmd, const char *rsc_id, lrmd 322 include/crm/lrmd.h void (*set_callback) (lrmd_t *lrmd, lrmd_event_callback callback); lrmd 349 include/crm/lrmd.h int (*exec) (lrmd_t *lrmd, const char *rsc_id, const char *action, lrmd 372 include/crm/lrmd.h int (*cancel) (lrmd_t *lrmd, const char *rsc_id, const char *action, lrmd 396 include/crm/lrmd.h int (*get_metadata) (lrmd_t *lrmd, const char *standard, lrmd 414 include/crm/lrmd.h int (*list_agents) (lrmd_t *lrmd, lrmd_list_t **agents, lrmd 429 include/crm/lrmd.h int (*list_ocf_providers) (lrmd_t *lrmd, const char *agent, lrmd 443 include/crm/lrmd.h int (*list_standards) (lrmd_t *lrmd, lrmd_list_t **standards); lrmd 463 include/crm/lrmd.h int (*exec_alert) (lrmd_t *lrmd, const char *alert_id, lrmd 483 include/crm/lrmd.h int (*get_metadata_params) (lrmd_t *lrmd, const char *standard, lrmd 24 include/crm/lrmd_internal.h int lrmd_send_attribute_alert(lrmd_t *lrmd, const GList *alert_list, lrmd 27 include/crm/lrmd_internal.h int lrmd_send_node_alert(lrmd_t *lrmd, const GList *alert_list, lrmd 29 include/crm/lrmd_internal.h int lrmd_send_fencing_alert(lrmd_t *lrmd, const GList *alert_list, lrmd 32 include/crm/lrmd_internal.h int lrmd_send_resource_alert(lrmd_t *lrmd, const GList *alert_list, lrmd 49 include/crm/lrmd_internal.h time_t lrmd__uptime(lrmd_t *lrmd); lrmd 50 include/crm/lrmd_internal.h const char *lrmd__node_start_state(lrmd_t *lrmd); lrmd 67 include/crm/lrmd_internal.h remote_proxy_t *remote_proxy_new(lrmd_t *lrmd, lrmd 72 include/crm/lrmd_internal.h int lrmd__validate_remote_settings(lrmd_t *lrmd, GHashTable *hash); lrmd 73 include/crm/lrmd_internal.h void remote_proxy_cb(lrmd_t *lrmd, const char *node_name, xmlNode *msg); lrmd 74 include/crm/lrmd_internal.h void remote_proxy_ack_shutdown(lrmd_t *lrmd); lrmd 75 include/crm/lrmd_internal.h void remote_proxy_nack_shutdown(lrmd_t *lrmd); lrmd 127 lib/lrmd/lrmd_alerts.c exec_alert_list(lrmd_t *lrmd, const GList *alert_list, lrmd 200 lib/lrmd/lrmd_alerts.c rc = lrmd->cmds->exec_alert(lrmd, entry->id, entry->path, lrmd 237 lib/lrmd/lrmd_alerts.c lrmd_send_attribute_alert(lrmd_t *lrmd, const GList *alert_list, lrmd 244 lib/lrmd/lrmd_alerts.c if (lrmd == NULL) { lrmd 254 lib/lrmd/lrmd_alerts.c rc = exec_alert_list(lrmd, alert_list, pcmk__alert_attribute, attr_name, lrmd 275 lib/lrmd/lrmd_alerts.c lrmd_send_node_alert(lrmd_t *lrmd, const GList *alert_list, lrmd 281 lib/lrmd/lrmd_alerts.c if (lrmd == NULL) { lrmd 289 lib/lrmd/lrmd_alerts.c rc = exec_alert_list(lrmd, alert_list, pcmk__alert_node, NULL, params); lrmd 310 lib/lrmd/lrmd_alerts.c lrmd_send_fencing_alert(lrmd_t *lrmd, const GList *alert_list, lrmd 317 lib/lrmd/lrmd_alerts.c if (lrmd == NULL) { lrmd 326 lib/lrmd/lrmd_alerts.c rc = exec_alert_list(lrmd, alert_list, pcmk__alert_fencing, NULL, params); lrmd 345 lib/lrmd/lrmd_alerts.c lrmd_send_resource_alert(lrmd_t *lrmd, const GList *alert_list, lrmd 352 lib/lrmd/lrmd_alerts.c if (lrmd == NULL) { lrmd 396 lib/lrmd/lrmd_alerts.c rc = exec_alert_list(lrmd, alert_list, pcmk__alert_resource, NULL, params); lrmd 52 lib/lrmd/lrmd_client.c CRM_TRACE_INIT_DATA(lrmd); lrmd 54 lib/lrmd/lrmd_client.c static int lrmd_api_disconnect(lrmd_t * lrmd); lrmd 55 lib/lrmd/lrmd_client.c static int lrmd_api_is_connected(lrmd_t * lrmd); lrmd 58 lib/lrmd/lrmd_client.c int lrmd_internal_proxy_send(lrmd_t * lrmd, xmlNode *msg); lrmd 59 lib/lrmd/lrmd_client.c static void lrmd_internal_proxy_dispatch(lrmd_t *lrmd, xmlNode *msg); lrmd 60 lib/lrmd/lrmd_client.c void lrmd_internal_set_proxy_callback(lrmd_t * lrmd, void *userdata, void (*callback)(lrmd_t *lrmd, void *userdata, xmlNode *msg)); lrmd 67 lib/lrmd/lrmd_client.c static void lrmd_tls_disconnect(lrmd_t * lrmd); lrmd 70 lib/lrmd/lrmd_client.c static int add_tls_to_mainloop(lrmd_t *lrmd, bool do_handshake); lrmd 73 lib/lrmd/lrmd_client.c static void report_async_connection_result(lrmd_t * lrmd, int rc); lrmd 109 lib/lrmd/lrmd_client.c void (*proxy_callback)(lrmd_t *lrmd, void *userdata, xmlNode *msg); lrmd 273 lib/lrmd/lrmd_client.c lrmd_t *lrmd = user_data; lrmd 278 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 283 lib/lrmd/lrmd_client.c lrmd_internal_proxy_dispatch(lrmd, msg); lrmd 368 lib/lrmd/lrmd_client.c lrmd_t *lrmd = userdata; lrmd 369 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 374 lib/lrmd/lrmd_client.c lrmd_dispatch_internal(msg, lrmd); lrmd 388 lib/lrmd/lrmd_client.c remote_executor_connected(lrmd_t * lrmd) lrmd 390 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 396 lib/lrmd/lrmd_client.c handle_remote_msg(xmlNode *xml, lrmd_t *lrmd) lrmd 398 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 403 lib/lrmd/lrmd_client.c lrmd_dispatch_internal(xml, lrmd); lrmd 417 lib/lrmd/lrmd_client.c process_pending_notifies(lrmd_t *lrmd) lrmd 419 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 426 lib/lrmd/lrmd_client.c g_list_foreach(native->pending_notify, lrmd_dispatch_internal, lrmd); lrmd 445 lib/lrmd/lrmd_client.c lrmd_t *lrmd = userdata; lrmd 446 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 450 lib/lrmd/lrmd_client.c if (!remote_executor_connected(lrmd)) { lrmd 460 lib/lrmd/lrmd_client.c process_pending_notifies(lrmd); lrmd 471 lib/lrmd/lrmd_client.c lrmd_tls_disconnect(lrmd); lrmd 484 lib/lrmd/lrmd_client.c handle_remote_msg(xml, lrmd); lrmd 492 lib/lrmd/lrmd_client.c lrmd_poll(lrmd_t * lrmd, int timeout) lrmd 494 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 526 lib/lrmd/lrmd_client.c lrmd_dispatch(lrmd_t * lrmd) lrmd 530 lib/lrmd/lrmd_client.c pcmk__assert(lrmd != NULL); lrmd 532 lib/lrmd/lrmd_client.c private = lrmd->lrmd_private; lrmd 539 lib/lrmd/lrmd_client.c lrmd_ipc_dispatch(msg, strlen(msg), lrmd); lrmd 545 lib/lrmd/lrmd_client.c lrmd_tls_dispatch(lrmd); lrmd 553 lib/lrmd/lrmd_client.c if (lrmd_api_is_connected(lrmd) == FALSE) { lrmd 589 lib/lrmd/lrmd_client.c lrmd_t *lrmd = userdata; lrmd 590 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 623 lib/lrmd/lrmd_client.c lrmd_t *lrmd = userdata; lrmd 624 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 683 lib/lrmd/lrmd_client.c read_remote_reply(lrmd_t *lrmd, int total_timeout, int expected_reply_id, lrmd 686 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 765 lib/lrmd/lrmd_client.c send_remote_message(lrmd_t *lrmd, xmlNode *msg) lrmd 768 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 780 lib/lrmd/lrmd_client.c lrmd_tls_disconnect(lrmd); lrmd 786 lib/lrmd/lrmd_client.c lrmd_tls_send_recv(lrmd_t * lrmd, xmlNode * msg, int timeout, xmlNode ** reply) lrmd 791 lib/lrmd/lrmd_client.c if (!remote_executor_connected(lrmd)) { lrmd 795 lib/lrmd/lrmd_client.c rc = send_remote_message(lrmd, msg); lrmd 800 lib/lrmd/lrmd_client.c rc = read_remote_reply(lrmd, timeout, global_remote_msg_id, &xml); lrmd 805 lib/lrmd/lrmd_client.c lrmd_tls_disconnect(lrmd); lrmd 819 lib/lrmd/lrmd_client.c lrmd_send_xml(lrmd_t * lrmd, xmlNode * msg, int timeout, xmlNode ** reply) lrmd 822 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 830 lib/lrmd/lrmd_client.c rc = lrmd_tls_send_recv(lrmd, msg, timeout, reply); lrmd 843 lib/lrmd/lrmd_client.c lrmd_send_xml_no_reply(lrmd_t * lrmd, xmlNode * msg) lrmd 846 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 854 lib/lrmd/lrmd_client.c rc = send_remote_message(lrmd, msg); lrmd 874 lib/lrmd/lrmd_client.c lrmd_api_is_connected(lrmd_t * lrmd) lrmd 876 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 883 lib/lrmd/lrmd_client.c return remote_executor_connected(lrmd); lrmd 911 lib/lrmd/lrmd_client.c lrmd_send_command(lrmd_t *lrmd, const char *op, xmlNode *data, lrmd 916 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 920 lib/lrmd/lrmd_client.c if (!lrmd_api_is_connected(lrmd)) { lrmd 940 lib/lrmd/lrmd_client.c rc = lrmd_send_xml(lrmd, op_msg, timeout, &op_reply); lrmd 942 lib/lrmd/lrmd_client.c rc = lrmd_send_xml_no_reply(lrmd, op_msg); lrmd 970 lib/lrmd/lrmd_client.c if (lrmd_api_is_connected(lrmd) == FALSE) { lrmd 980 lib/lrmd/lrmd_client.c lrmd_api_poke_connection(lrmd_t * lrmd) lrmd 983 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 987 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_POKE, data, NULL, 0, 0, lrmd 996 lib/lrmd/lrmd_client.c lrmd__validate_remote_settings(lrmd_t *lrmd, GHashTable *hash) lrmd 1000 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 1011 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_CHECK, data, NULL, 0, 0, lrmd 1018 lib/lrmd/lrmd_client.c lrmd_handshake(lrmd_t * lrmd, const char *name) lrmd 1021 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 1035 lib/lrmd/lrmd_client.c rc = lrmd_send_xml(lrmd, hello, -1, &reply); lrmd 1091 lib/lrmd/lrmd_client.c lrmd_api_disconnect(lrmd); lrmd 1097 lib/lrmd/lrmd_client.c lrmd_ipc_connect(lrmd_t * lrmd, int *fd) lrmd 1100 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 1123 lib/lrmd/lrmd_client.c native->source = mainloop_add_ipc_client(CRM_SYSTEM_LRMD, G_PRIORITY_HIGH, 0, lrmd, &lrmd_callbacks); lrmd 1417 lib/lrmd/lrmd_client.c tls_handshake_failed(lrmd_t *lrmd, int tls_rc, int rc) lrmd 1419 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 1425 lib/lrmd/lrmd_client.c report_async_connection_result(lrmd, pcmk_rc2legacy(rc)); lrmd 1430 lib/lrmd/lrmd_client.c lrmd_tls_connection_destroy(lrmd); lrmd 1434 lib/lrmd/lrmd_client.c tls_handshake_succeeded(lrmd_t *lrmd) lrmd 1437 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 1441 lib/lrmd/lrmd_client.c rc = add_tls_to_mainloop(lrmd, true); lrmd 1442 lib/lrmd/lrmd_client.c report_async_connection_result(lrmd, pcmk_rc2legacy(rc)); lrmd 1447 lib/lrmd/lrmd_client.c report_async_connection_result(lrmd_t * lrmd, int rc) lrmd 1449 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 1470 lib/lrmd/lrmd_client.c tls_client_handshake(lrmd_t *lrmd) lrmd 1472 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 1478 lib/lrmd/lrmd_client.c tls_handshake_failed(lrmd, tls_rc, rc); lrmd 1494 lib/lrmd/lrmd_client.c add_tls_to_mainloop(lrmd_t *lrmd, bool do_handshake) lrmd 1496 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 1508 lib/lrmd/lrmd_client.c lrmd_tls_dispatch, lrmd); lrmd 1509 lib/lrmd/lrmd_client.c native->source = mainloop_add_fd(name, G_PRIORITY_HIGH, native->sock, lrmd, lrmd 1519 lib/lrmd/lrmd_client.c rc = lrmd_handshake(lrmd, name); lrmd 1527 lib/lrmd/lrmd_client.c lrmd_t *lrmd; lrmd 1536 lib/lrmd/lrmd_client.c lrmd_t *lrmd = hs->lrmd; lrmd 1537 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 1546 lib/lrmd/lrmd_client.c tls_handshake_failed(lrmd, GNUTLS_E_TIMEDOUT, rc); lrmd 1554 lib/lrmd/lrmd_client.c tls_handshake_succeeded(lrmd); lrmd 1562 lib/lrmd/lrmd_client.c tls_handshake_failed(lrmd, tls_rc, rc); lrmd 1571 lib/lrmd/lrmd_client.c lrmd_t *lrmd = userdata; lrmd 1572 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 1579 lib/lrmd/lrmd_client.c lrmd_tls_connection_destroy(lrmd); lrmd 1583 lib/lrmd/lrmd_client.c report_async_connection_result(lrmd, pcmk_rc2legacy(rc)); lrmd 1596 lib/lrmd/lrmd_client.c lrmd_tls_connection_destroy(lrmd); lrmd 1597 lib/lrmd/lrmd_client.c report_async_connection_result(lrmd, pcmk_rc2legacy(rc)); lrmd 1609 lib/lrmd/lrmd_client.c lrmd_tls_connection_destroy(lrmd); lrmd 1610 lib/lrmd/lrmd_client.c report_async_connection_result(lrmd, -EPROTO); lrmd 1627 lib/lrmd/lrmd_client.c hs->lrmd = lrmd; lrmd 1635 lib/lrmd/lrmd_client.c tls_handshake_succeeded(lrmd); lrmd 1638 lib/lrmd/lrmd_client.c tls_handshake_failed(lrmd, tls_rc, rc); lrmd 1643 lib/lrmd/lrmd_client.c lrmd_tls_connect_async(lrmd_t * lrmd, int timeout /*ms */ ) lrmd 1647 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 1652 lib/lrmd/lrmd_client.c &(native->sock), lrmd, lrmd_tcp_connect_cb); lrmd 1664 lib/lrmd/lrmd_client.c lrmd_tls_connect(lrmd_t * lrmd, int *fd) lrmd 1668 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 1680 lib/lrmd/lrmd_client.c lrmd_tls_connection_destroy(lrmd); lrmd 1686 lib/lrmd/lrmd_client.c lrmd_tls_connection_destroy(lrmd); lrmd 1698 lib/lrmd/lrmd_client.c lrmd_tls_connection_destroy(lrmd); lrmd 1702 lib/lrmd/lrmd_client.c if (tls_client_handshake(lrmd) != pcmk_rc_ok) { lrmd 1712 lib/lrmd/lrmd_client.c rc = add_tls_to_mainloop(lrmd, false); lrmd 1719 lib/lrmd/lrmd_client.c lrmd_api_connect(lrmd_t * lrmd, const char *name, int *fd) lrmd 1722 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 1726 lib/lrmd/lrmd_client.c rc = lrmd_ipc_connect(lrmd, fd); lrmd 1731 lib/lrmd/lrmd_client.c rc = lrmd_tls_connect(lrmd, fd); lrmd 1742 lib/lrmd/lrmd_client.c rc = lrmd_handshake(lrmd, name); lrmd 1749 lib/lrmd/lrmd_client.c lrmd_api_connect_async(lrmd_t * lrmd, const char *name, int timeout) lrmd 1752 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 1760 lib/lrmd/lrmd_client.c rc = lrmd_api_connect(lrmd, name, NULL); lrmd 1762 lib/lrmd/lrmd_client.c report_async_connection_result(lrmd, rc); lrmd 1767 lib/lrmd/lrmd_client.c rc = lrmd_tls_connect_async(lrmd, timeout); lrmd 1780 lib/lrmd/lrmd_client.c lrmd_ipc_disconnect(lrmd_t * lrmd) lrmd 1782 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 1802 lib/lrmd/lrmd_client.c lrmd_tls_disconnect(lrmd_t * lrmd) lrmd 1804 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 1836 lib/lrmd/lrmd_client.c lrmd_api_disconnect(lrmd_t * lrmd) lrmd 1838 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 1844 lib/lrmd/lrmd_client.c lrmd_ipc_disconnect(lrmd); lrmd 1850 lib/lrmd/lrmd_client.c lrmd_tls_disconnect(lrmd); lrmd 1868 lib/lrmd/lrmd_client.c lrmd_api_register_rsc(lrmd_t * lrmd, lrmd 1891 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_REG, data, NULL, 0, options, TRUE); lrmd 1898 lib/lrmd/lrmd_client.c lrmd_api_unregister_rsc(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options) lrmd 1905 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_UNREG, data, NULL, 0, options, TRUE); lrmd 1945 lib/lrmd/lrmd_client.c lrmd_api_get_rsc_info(lrmd_t * lrmd, const char *rsc_id, enum lrmd_call_options options) lrmd 1956 lib/lrmd/lrmd_client.c lrmd_send_command(lrmd, LRMD_OP_RSC_INFO, data, &output, 0, options, TRUE); lrmd 1994 lib/lrmd/lrmd_client.c lrmd_api_get_recurring_ops(lrmd_t *lrmd, const char *rsc_id, int timeout_ms, lrmd 2012 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_GET_RECURRING, data, &output_xml, lrmd 2060 lib/lrmd/lrmd_client.c lrmd_api_set_callback(lrmd_t * lrmd, lrmd_event_callback callback) lrmd 2062 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 2068 lib/lrmd/lrmd_client.c lrmd_internal_set_proxy_callback(lrmd_t * lrmd, void *userdata, void (*callback)(lrmd_t *lrmd, void *userdata, xmlNode *msg)) lrmd 2070 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 2077 lib/lrmd/lrmd_client.c lrmd_internal_proxy_dispatch(lrmd_t *lrmd, xmlNode *msg) lrmd 2079 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 2083 lib/lrmd/lrmd_client.c native->proxy_callback(lrmd, native->proxy_callback_userdata, msg); lrmd 2088 lib/lrmd/lrmd_client.c lrmd_internal_proxy_send(lrmd_t * lrmd, xmlNode *msg) lrmd 2090 lib/lrmd/lrmd_client.c if (lrmd == NULL) { lrmd 2096 lib/lrmd/lrmd_client.c return lrmd_send_xml_no_reply(lrmd, msg); lrmd 2120 lib/lrmd/lrmd_client.c lrmd_api_get_metadata(lrmd_t *lrmd, const char *standard, const char *provider, lrmd 2124 lib/lrmd/lrmd_client.c return lrmd->cmds->get_metadata_params(lrmd, standard, provider, type, lrmd 2129 lib/lrmd/lrmd_client.c lrmd_api_get_metadata_params(lrmd_t *lrmd, const char *standard, lrmd 2186 lib/lrmd/lrmd_client.c lrmd_api_exec(lrmd_t *lrmd, const char *rsc_id, const char *action, lrmd 2209 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_EXEC, data, NULL, timeout, options, TRUE); lrmd 2218 lib/lrmd/lrmd_client.c lrmd_api_exec_alert(lrmd_t *lrmd, const char *alert_id, const char *alert_path, lrmd 2235 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_ALERT_EXEC, data, NULL, timeout, lrmd 2244 lib/lrmd/lrmd_client.c lrmd_api_cancel(lrmd_t *lrmd, const char *rsc_id, const char *action, lrmd 2254 lib/lrmd/lrmd_client.c rc = lrmd_send_command(lrmd, LRMD_OP_RSC_CANCEL, data, NULL, 0, 0, TRUE); lrmd 2287 lib/lrmd/lrmd_client.c lrmd_api_list_agents(lrmd_t * lrmd, lrmd_list_t ** resources, const char *class, lrmd 2343 lib/lrmd/lrmd_client.c lrmd_api_list_ocf_providers(lrmd_t * lrmd, const char *agent, lrmd_list_t ** providers) lrmd 2366 lib/lrmd/lrmd_client.c lrmd_api_list_standards(lrmd_t * lrmd, lrmd_list_t ** supported) lrmd 2514 lib/lrmd/lrmd_client.c lrmd_api_delete(lrmd_t * lrmd) lrmd 2516 lib/lrmd/lrmd_client.c if (lrmd == NULL) { lrmd 2519 lib/lrmd/lrmd_client.c if (lrmd->cmds != NULL) { // Never NULL, but make static analysis happy lrmd 2520 lib/lrmd/lrmd_client.c if (lrmd->cmds->disconnect != NULL) { // Also never really NULL lrmd 2521 lib/lrmd/lrmd_client.c lrmd->cmds->disconnect(lrmd); // No-op if already disconnected lrmd 2523 lib/lrmd/lrmd_client.c free(lrmd->cmds); lrmd 2525 lib/lrmd/lrmd_client.c if (lrmd->lrmd_private != NULL) { lrmd 2526 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 2535 lib/lrmd/lrmd_client.c free(lrmd->lrmd_private); lrmd 2537 lib/lrmd/lrmd_client.c free(lrmd); lrmd 2712 lib/lrmd/lrmd_client.c lrmd__uptime(lrmd_t *lrmd) lrmd 2714 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 2724 lib/lrmd/lrmd_client.c lrmd__node_start_state(lrmd_t *lrmd) lrmd 2726 lib/lrmd/lrmd_client.c lrmd_private_t *native = lrmd->lrmd_private; lrmd 25 lib/lrmd/proxy_common.c int lrmd_internal_proxy_send(lrmd_t * lrmd, xmlNode *msg); lrmd 29 lib/lrmd/proxy_common.c remote_proxy_notify_destroy(lrmd_t *lrmd, const char *session_id) lrmd 35 lib/lrmd/proxy_common.c lrmd_internal_proxy_send(lrmd, msg); lrmd 46 lib/lrmd/proxy_common.c remote_proxy_ack_shutdown(lrmd_t *lrmd) lrmd 50 lib/lrmd/proxy_common.c lrmd_internal_proxy_send(lrmd, msg); lrmd 61 lib/lrmd/proxy_common.c remote_proxy_nack_shutdown(lrmd_t *lrmd) lrmd 65 lib/lrmd/proxy_common.c lrmd_internal_proxy_send(lrmd, msg); lrmd 177 lib/lrmd/proxy_common.c remote_proxy_new(lrmd_t *lrmd, struct ipc_client_callbacks *proxy_callbacks, lrmd 184 lib/lrmd/proxy_common.c remote_proxy_notify_destroy(lrmd, session_id); lrmd 192 lib/lrmd/proxy_common.c proxy->lrm = lrmd; lrmd 204 lib/lrmd/proxy_common.c remote_proxy_notify_destroy(lrmd, session_id); lrmd 217 lib/lrmd/proxy_common.c remote_proxy_cb(lrmd_t *lrmd, const char *node_name, xmlNode *msg) lrmd 250 lib/lrmd/proxy_common.c remote_proxy_notify_destroy(lrmd, session);