pcmk_ipc_api_t 191 daemons/attrd/pacemaker-attrd.c pcmk_ipc_api_t *old_instance = NULL; pcmk_ipc_api_t 20 daemons/controld/controld_attrd.c static pcmk_ipc_api_t *attrd_api = NULL; pcmk_ipc_api_t 27 daemons/controld/controld_schedulerd.c static pcmk_ipc_api_t *schedulerd_api = NULL; pcmk_ipc_api_t 162 daemons/controld/controld_schedulerd.c scheduler_event_callback(pcmk_ipc_api_t *api, enum pcmk_ipc_event event_type, pcmk_ipc_api_t 226 daemons/pacemakerd/pacemakerd.c pacemakerd_event_cb(pcmk_ipc_api_t *pacemakerd_api, pcmk_ipc_api_t 275 daemons/pacemakerd/pacemakerd.c pcmk_ipc_api_t *old_instance = NULL; pcmk_ipc_api_t 111 include/crm/common/ipc.h typedef void (*pcmk_ipc_callback_t)(pcmk_ipc_api_t *api, pcmk_ipc_api_t 116 include/crm/common/ipc.h int pcmk_new_ipc_api(pcmk_ipc_api_t **api, enum pcmk_ipc_server server); pcmk_ipc_api_t 118 include/crm/common/ipc.h void pcmk_free_ipc_api(pcmk_ipc_api_t *api); pcmk_ipc_api_t 120 include/crm/common/ipc.h int pcmk_connect_ipc(pcmk_ipc_api_t *api, enum pcmk_ipc_dispatch dispatch_type); pcmk_ipc_api_t 122 include/crm/common/ipc.h void pcmk_disconnect_ipc(pcmk_ipc_api_t *api); pcmk_ipc_api_t 124 include/crm/common/ipc.h int pcmk_poll_ipc(const pcmk_ipc_api_t *api, int timeout_ms); pcmk_ipc_api_t 126 include/crm/common/ipc.h void pcmk_dispatch_ipc(pcmk_ipc_api_t *api); pcmk_ipc_api_t 128 include/crm/common/ipc.h void pcmk_register_ipc_callback(pcmk_ipc_api_t *api, pcmk_ipc_callback_t cb, pcmk_ipc_api_t 131 include/crm/common/ipc.h const char *pcmk_ipc_name(const pcmk_ipc_api_t *api, bool for_log); pcmk_ipc_api_t 133 include/crm/common/ipc.h bool pcmk_ipc_is_connected(pcmk_ipc_api_t *api); pcmk_ipc_api_t 135 include/crm/common/ipc.h int pcmk_ipc_purge_node(pcmk_ipc_api_t *api, const char *node_name, pcmk_ipc_api_t 69 include/crm/common/ipc_attrd_internal.h int pcmk__attrd_api_clear_failures(pcmk_ipc_api_t *api, const char *node, pcmk_ipc_api_t 87 include/crm/common/ipc_attrd_internal.h int pcmk__attrd_api_delete(pcmk_ipc_api_t *api, const char *node, const char *name, pcmk_ipc_api_t 105 include/crm/common/ipc_attrd_internal.h int pcmk__attrd_api_purge(pcmk_ipc_api_t *api, const char *node); pcmk_ipc_api_t 119 include/crm/common/ipc_attrd_internal.h int pcmk__attrd_api_query(pcmk_ipc_api_t *api, const char *node, const char *name, pcmk_ipc_api_t 137 include/crm/common/ipc_attrd_internal.h int pcmk__attrd_api_refresh(pcmk_ipc_api_t *api, const char *node); pcmk_ipc_api_t 160 include/crm/common/ipc_attrd_internal.h int pcmk__attrd_api_update(pcmk_ipc_api_t *api, const char *node, const char *name, pcmk_ipc_api_t 187 include/crm/common/ipc_attrd_internal.h int pcmk__attrd_api_update_list(pcmk_ipc_api_t *api, GList *attrs, pcmk_ipc_api_t 91 include/crm/common/ipc_controld.h int pcmk_controld_api_reprobe(pcmk_ipc_api_t *api, const char *target_node, pcmk_ipc_api_t 93 include/crm/common/ipc_controld.h int pcmk_controld_api_node_info(pcmk_ipc_api_t *api, uint32_t nodeid); pcmk_ipc_api_t 94 include/crm/common/ipc_controld.h int pcmk_controld_api_fail(pcmk_ipc_api_t *api, const char *target_node, pcmk_ipc_api_t 98 include/crm/common/ipc_controld.h int pcmk_controld_api_refresh(pcmk_ipc_api_t *api, const char *target_node, pcmk_ipc_api_t 103 include/crm/common/ipc_controld.h int pcmk_controld_api_ping(pcmk_ipc_api_t *api, const char *node_name); pcmk_ipc_api_t 104 include/crm/common/ipc_controld.h int pcmk_controld_api_list_nodes(pcmk_ipc_api_t *api); pcmk_ipc_api_t 105 include/crm/common/ipc_controld.h unsigned int pcmk_controld_api_replies_expected(const pcmk_ipc_api_t *api); pcmk_ipc_api_t 66 include/crm/common/ipc_pacemakerd.h int pcmk_pacemakerd_api_ping(pcmk_ipc_api_t *api, const char *ipc_name); pcmk_ipc_api_t 67 include/crm/common/ipc_pacemakerd.h int pcmk_pacemakerd_api_shutdown(pcmk_ipc_api_t *api, const char *ipc_name); pcmk_ipc_api_t 58 include/crm/common/ipc_schedulerd.h int pcmk_schedulerd_api_graph(pcmk_ipc_api_t *api, xmlNode *cib, char **ref); pcmk_ipc_api_t 145 lib/common/crmcommon_private.h int (*new_data)(pcmk_ipc_api_t *api); pcmk_ipc_api_t 169 lib/common/crmcommon_private.h int (*post_connect)(pcmk_ipc_api_t *api); pcmk_ipc_api_t 180 lib/common/crmcommon_private.h bool (*reply_expected)(pcmk_ipc_api_t *api, xmlNode *request); pcmk_ipc_api_t 191 lib/common/crmcommon_private.h bool (*dispatch)(pcmk_ipc_api_t *api, xmlNode *msg); pcmk_ipc_api_t 199 lib/common/crmcommon_private.h void (*post_disconnect)(pcmk_ipc_api_t *api); pcmk_ipc_api_t 225 lib/common/crmcommon_private.h int pcmk__send_ipc_request(pcmk_ipc_api_t *api, xmlNode *request); pcmk_ipc_api_t 228 lib/common/crmcommon_private.h void pcmk__call_ipc_callback(pcmk_ipc_api_t *api, pcmk_ipc_api_t 47 lib/common/ipc_attrd.c reply_expected(pcmk_ipc_api_t *api, xmlNode *request) pcmk_ipc_api_t 62 lib/common/ipc_attrd.c dispatch(pcmk_ipc_api_t *api, xmlNode *reply) pcmk_ipc_api_t 152 lib/common/ipc_attrd.c create_api(pcmk_ipc_api_t **api) pcmk_ipc_api_t 164 lib/common/ipc_attrd.c destroy_api(pcmk_ipc_api_t *api) pcmk_ipc_api_t 172 lib/common/ipc_attrd.c connect_and_send_attrd_request(pcmk_ipc_api_t *api, xmlNode *request) pcmk_ipc_api_t 197 lib/common/ipc_attrd.c send_attrd_request(pcmk_ipc_api_t *api, xmlNode *request) pcmk_ipc_api_t 203 lib/common/ipc_attrd.c pcmk__attrd_api_clear_failures(pcmk_ipc_api_t *api, const char *node, pcmk_ipc_api_t 260 lib/common/ipc_attrd.c pcmk__attrd_api_delete(pcmk_ipc_api_t *api, const char *node, const char *name, pcmk_ipc_api_t 283 lib/common/ipc_attrd.c pcmk__attrd_api_purge(pcmk_ipc_api_t *api, const char *node) pcmk_ipc_api_t 324 lib/common/ipc_attrd.c pcmk__attrd_api_query(pcmk_ipc_api_t *api, const char *node, const char *name, pcmk_ipc_api_t 362 lib/common/ipc_attrd.c pcmk__attrd_api_refresh(pcmk_ipc_api_t *api, const char *node) pcmk_ipc_api_t 437 lib/common/ipc_attrd.c pcmk__attrd_api_update(pcmk_ipc_api_t *api, const char *node, const char *name, pcmk_ipc_api_t 484 lib/common/ipc_attrd.c pcmk__attrd_api_update_list(pcmk_ipc_api_t *api, GList *attrs, const char *dampen, pcmk_ipc_api_t 47 lib/common/ipc_client.c pcmk_new_ipc_api(pcmk_ipc_api_t **api, enum pcmk_ipc_server server) pcmk_ipc_api_t 53 lib/common/ipc_client.c *api = calloc(1, sizeof(pcmk_ipc_api_t)); pcmk_ipc_api_t 124 lib/common/ipc_client.c free_daemon_specific_data(pcmk_ipc_api_t *api) pcmk_ipc_api_t 146 lib/common/ipc_client.c pcmk__call_ipc_callback(pcmk_ipc_api_t *api, enum pcmk_ipc_event event_type, pcmk_ipc_api_t 165 lib/common/ipc_client.c pcmk_ipc_api_t *api = user_data; pcmk_ipc_api_t 202 lib/common/ipc_client.c pcmk_free_ipc_api(pcmk_ipc_api_t *api) pcmk_ipc_api_t 243 lib/common/ipc_client.c pcmk_ipc_name(const pcmk_ipc_api_t *api, bool for_log) pcmk_ipc_api_t 283 lib/common/ipc_client.c pcmk_ipc_is_connected(pcmk_ipc_api_t *api) pcmk_ipc_api_t 300 lib/common/ipc_client.c call_api_dispatch(pcmk_ipc_api_t *api, xmlNode *message) pcmk_ipc_api_t 326 lib/common/ipc_client.c dispatch_ipc_data(const char *buffer, pcmk_ipc_api_t *api) pcmk_ipc_api_t 369 lib/common/ipc_client.c pcmk_ipc_api_t *api = user_data; pcmk_ipc_api_t 395 lib/common/ipc_client.c pcmk_poll_ipc(const pcmk_ipc_api_t *api, int timeout_ms) pcmk_ipc_api_t 425 lib/common/ipc_client.c pcmk_dispatch_ipc(pcmk_ipc_api_t *api) pcmk_ipc_api_t 439 lib/common/ipc_client.c connect_with_main_loop(pcmk_ipc_api_t *api) pcmk_ipc_api_t 463 lib/common/ipc_client.c connect_without_main_loop(pcmk_ipc_api_t *api) pcmk_ipc_api_t 486 lib/common/ipc_client.c pcmk_connect_ipc(pcmk_ipc_api_t *api, enum pcmk_ipc_dispatch dispatch_type) pcmk_ipc_api_t 545 lib/common/ipc_client.c pcmk_disconnect_ipc(pcmk_ipc_api_t *api) pcmk_ipc_api_t 596 lib/common/ipc_client.c pcmk_register_ipc_callback(pcmk_ipc_api_t *api, pcmk_ipc_callback_t cb, pcmk_ipc_api_t 619 lib/common/ipc_client.c pcmk__send_ipc_request(pcmk_ipc_api_t *api, xmlNode *request) pcmk_ipc_api_t 701 lib/common/ipc_client.c create_purge_node_request(const pcmk_ipc_api_t *api, const char *node_name, pcmk_ipc_api_t 747 lib/common/ipc_client.c pcmk_ipc_purge_node(pcmk_ipc_api_t *api, const char *node_name, uint32_t nodeid) pcmk_ipc_api_t 32 lib/common/ipc_controld.c new_data(pcmk_ipc_api_t *api) pcmk_ipc_api_t 68 lib/common/ipc_controld.c post_connect(pcmk_ipc_api_t *api) pcmk_ipc_api_t 144 lib/common/ipc_controld.c reply_expected(pcmk_ipc_api_t *api, xmlNode *request) pcmk_ipc_api_t 161 lib/common/ipc_controld.c dispatch(pcmk_ipc_api_t *api, xmlNode *reply) pcmk_ipc_api_t 288 lib/common/ipc_controld.c create_controller_request(const pcmk_ipc_api_t *api, const char *op, pcmk_ipc_api_t 310 lib/common/ipc_controld.c send_controller_request(pcmk_ipc_api_t *api, xmlNode *request, pcmk_ipc_api_t 351 lib/common/ipc_controld.c pcmk_controld_api_reprobe(pcmk_ipc_api_t *api, const char *target_node, pcmk_ipc_api_t 386 lib/common/ipc_controld.c pcmk_controld_api_node_info(pcmk_ipc_api_t *api, uint32_t nodeid) pcmk_ipc_api_t 414 lib/common/ipc_controld.c pcmk_controld_api_ping(pcmk_ipc_api_t *api, const char *node_name) pcmk_ipc_api_t 437 lib/common/ipc_controld.c pcmk_controld_api_list_nodes(pcmk_ipc_api_t *api) pcmk_ipc_api_t 453 lib/common/ipc_controld.c controller_resource_op(pcmk_ipc_api_t *api, const char *op, pcmk_ipc_api_t 529 lib/common/ipc_controld.c pcmk_controld_api_fail(pcmk_ipc_api_t *api, pcmk_ipc_api_t 562 lib/common/ipc_controld.c pcmk_controld_api_refresh(pcmk_ipc_api_t *api, const char *target_node, pcmk_ipc_api_t 586 lib/common/ipc_controld.c pcmk_controld_api_replies_expected(const pcmk_ipc_api_t *api) pcmk_ipc_api_t 100 lib/common/ipc_pacemakerd.c new_data(pcmk_ipc_api_t *api) pcmk_ipc_api_t 129 lib/common/ipc_pacemakerd.c post_connect(pcmk_ipc_api_t *api) pcmk_ipc_api_t 143 lib/common/ipc_pacemakerd.c post_disconnect(pcmk_ipc_api_t *api) pcmk_ipc_api_t 157 lib/common/ipc_pacemakerd.c reply_expected(pcmk_ipc_api_t *api, xmlNode *request) pcmk_ipc_api_t 170 lib/common/ipc_pacemakerd.c dispatch(pcmk_ipc_api_t *api, xmlNode *reply) pcmk_ipc_api_t 251 lib/common/ipc_pacemakerd.c do_pacemakerd_api_call(pcmk_ipc_api_t *api, const char *ipc_name, const char *task) pcmk_ipc_api_t 283 lib/common/ipc_pacemakerd.c pcmk_pacemakerd_api_ping(pcmk_ipc_api_t *api, const char *ipc_name) pcmk_ipc_api_t 289 lib/common/ipc_pacemakerd.c pcmk_pacemakerd_api_shutdown(pcmk_ipc_api_t *api, const char *ipc_name) pcmk_ipc_api_t 29 lib/common/ipc_schedulerd.c new_data(pcmk_ipc_api_t *api) pcmk_ipc_api_t 55 lib/common/ipc_schedulerd.c post_connect(pcmk_ipc_api_t *api) pcmk_ipc_api_t 65 lib/common/ipc_schedulerd.c reply_expected(pcmk_ipc_api_t *api, xmlNode *request) pcmk_ipc_api_t 78 lib/common/ipc_schedulerd.c dispatch(pcmk_ipc_api_t *api, xmlNode *reply) pcmk_ipc_api_t 143 lib/common/ipc_schedulerd.c do_schedulerd_api_call(pcmk_ipc_api_t *api, const char *task, xmlNode *cib, char **ref) pcmk_ipc_api_t 177 lib/common/ipc_schedulerd.c pcmk_schedulerd_api_graph(pcmk_ipc_api_t *api, xmlNode *cib, char **ref) pcmk_ipc_api_t 84 lib/pacemaker/pcmk_cluster_queries.c event_done(data_t *data, pcmk_ipc_api_t *api) pcmk_ipc_api_t 91 lib/pacemaker/pcmk_cluster_queries.c controld_event_reply(data_t *data, pcmk_ipc_api_t *controld_api, enum pcmk_ipc_event event_type, crm_exit_t status, void *event_data) pcmk_ipc_api_t 136 lib/pacemaker/pcmk_cluster_queries.c controller_status_event_cb(pcmk_ipc_api_t *controld_api, pcmk_ipc_api_t 158 lib/pacemaker/pcmk_cluster_queries.c designated_controller_event_cb(pcmk_ipc_api_t *controld_api, pcmk_ipc_api_t 176 lib/pacemaker/pcmk_cluster_queries.c pacemakerd_event_cb(pcmk_ipc_api_t *pacemakerd_api, pcmk_ipc_api_t 248 lib/pacemaker/pcmk_cluster_queries.c static pcmk_ipc_api_t * pcmk_ipc_api_t 254 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *api = NULL; pcmk_ipc_api_t 299 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *controld_api = NULL; pcmk_ipc_api_t 356 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *controld_api = NULL; pcmk_ipc_api_t 438 lib/pacemaker/pcmk_cluster_queries.c pcmk_ipc_api_t *pacemakerd_api = NULL; pcmk_ipc_api_t 321 tools/attrd_updater.c attrd_event_cb(pcmk_ipc_api_t *attrd_api, enum pcmk_ipc_event event_type, pcmk_ipc_api_t 349 tools/attrd_updater.c pcmk_ipc_api_t *attrd_api = NULL; pcmk_ipc_api_t 283 tools/crm_attribute.c controller_event_cb(pcmk_ipc_api_t *controld_api, pcmk_ipc_api_t 336 tools/crm_attribute.c pcmk_ipc_api_t *controld_api = NULL; pcmk_ipc_api_t 877 tools/crm_mon.c pacemakerd_event_cb(pcmk_ipc_api_t *pacemakerd_api, pcmk_ipc_api_t 917 tools/crm_mon.c pcmk_ipc_api_t *pacemakerd_api = NULL; pcmk_ipc_api_t 146 tools/crm_node.c controller_event_cb(pcmk_ipc_api_t *controld_api, pcmk_ipc_api_t 267 tools/crm_node.c pcmk_ipc_api_t *controld_api = NULL; pcmk_ipc_api_t 374 tools/crm_node.c pcmk_ipc_api_t *controld_api = NULL; pcmk_ipc_api_t 185 tools/crm_resource.c static pcmk_ipc_api_t *controld_api = NULL; pcmk_ipc_api_t 218 tools/crm_resource.c pcmk_ipc_api_t *save_controld_api = controld_api; pcmk_ipc_api_t 264 tools/crm_resource.c controller_event_callback(pcmk_ipc_api_t *api, enum pcmk_ipc_event event_type, pcmk_ipc_api_t 300 tools/crm_resource.c start_mainloop(pcmk_ipc_api_t *capi) pcmk_ipc_api_t 74 tools/crm_resource.h int cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname, pcmk_ipc_api_t 78 tools/crm_resource.h int cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, pcmk_ipc_api_t 82 tools/crm_resource.h int cli_cleanup_all(pcmk_ipc_api_t *controld_api, const char *node_name, pcmk_ipc_api_t 476 tools/crm_resource_runtime.c send_lrm_rsc_op(pcmk_ipc_api_t *controld_api, bool do_fail_resource, pcmk_ipc_api_t 569 tools/crm_resource_runtime.c clear_rsc_history(pcmk_ipc_api_t *controld_api, const char *host_uname, pcmk_ipc_api_t 595 tools/crm_resource_runtime.c clear_rsc_failures(pcmk__output_t *out, pcmk_ipc_api_t *controld_api, pcmk_ipc_api_t 696 tools/crm_resource_runtime.c cli_resource_delete(pcmk_ipc_api_t *controld_api, const char *host_uname, pcmk_ipc_api_t 806 tools/crm_resource_runtime.c cli_cleanup_all(pcmk_ipc_api_t *controld_api, const char *node_name, pcmk_ipc_api_t 983 tools/crm_resource_runtime.c cli_resource_fail(pcmk_ipc_api_t *controld_api, const char *host_uname,