cib_conn 63 lrmd/test.c cib_t *cib_conn = NULL; cib_conn 365 lrmd/test.c cib_conn = cib_new(); cib_conn 366 lrmd/test.c rc = cib_conn->cmds->signon(cib_conn, "lrmd_test", cib_query); cib_conn 373 lrmd/test.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cib_conn 605 lrmd/test.c if (cib_conn != NULL) { cib_conn 606 lrmd/test.c cib_conn->cmds->signoff(cib_conn); cib_conn 607 lrmd/test.c cib_delete(cib_conn); cib_conn 154 pengine/ptest.c cib_t *cib_conn = NULL; cib_conn 268 pengine/ptest.c cib_conn = cib_new(); cib_conn 269 pengine/ptest.c rc = cib_conn->cmds->signon(cib_conn, "ptest", cib_command); cib_conn 273 pengine/ptest.c cib_object = get_cib_copy(cib_conn); cib_conn 437 tools/crm_resource.c cib_t *cib_conn = NULL; cib_conn 816 tools/crm_resource.c cib_conn = cib_new(); cib_conn 817 tools/crm_resource.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cib_conn 831 tools/crm_resource.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cib_conn 899 tools/crm_resource.c rc = cli_resource_restart(rsc, host_uname, timeout_ms, cib_conn); cib_conn 902 tools/crm_resource.c rc = wait_till_stable(timeout_ms, cib_conn); cib_conn 907 tools/crm_resource.c timeout_ms, cib_conn, &data_set); cib_conn 985 tools/crm_resource.c cli_resource_why(cib_conn, data_set.resources, rsc, dest); cib_conn 998 tools/crm_resource.c rc = cli_resource_clear(rsc_id, dest->details->uname, NULL, cib_conn); cib_conn 1001 tools/crm_resource.c rc = cli_resource_clear(rsc_id, NULL, data_set.nodes, cib_conn); cib_conn 1005 tools/crm_resource.c rc = cli_resource_move(rsc, rsc_id, host_uname, cib_conn, &data_set); cib_conn 1015 tools/crm_resource.c rc = cli_resource_ban(rsc_id, dest->details->uname, NULL, cib_conn); cib_conn 1021 tools/crm_resource.c rc = cli_resource_ban(rsc_id, current->details->uname, NULL, cib_conn); cib_conn 1039 tools/crm_resource.c rc = cli_resource_ban(rsc_id, current->details->uname, NULL, cib_conn); cib_conn 1076 tools/crm_resource.c rc = cib_conn->cmds->modify(cib_conn, XML_CIB_TAG_RESOURCES, msg_data, cib_options); cib_conn 1092 tools/crm_resource.c cib_conn, &data_set); cib_conn 1097 tools/crm_resource.c prop_name, cib_conn, &data_set); cib_conn 1129 tools/crm_resource.c cli_resource_check(cib_conn, rsc); cib_conn 1149 tools/crm_resource.c cli_resource_check(cib_conn, rsc); cib_conn 1230 tools/crm_resource.c rc = cib_conn->cmds->delete(cib_conn, XML_CIB_TAG_RESOURCES, msg_data, cib_options); cib_conn 1244 tools/crm_resource.c if (cib_conn != NULL) { cib_conn 1245 tools/crm_resource.c cib_conn->cmds->signoff(cib_conn); cib_conn 1246 tools/crm_resource.c cib_delete(cib_conn); cib_conn 51 tools/crm_resource.h int cli_resource_prefer(const char *rsc_id, const char *host, cib_t * cib_conn); cib_conn 52 tools/crm_resource.h int cli_resource_ban(const char *rsc_id, const char *host, GListPtr allnodes, cib_t * cib_conn); cib_conn 53 tools/crm_resource.h int cli_resource_clear(const char *rsc_id, const char *host, GListPtr allnodes, cib_t * cib_conn); cib_conn 100 tools/crm_resource.h void cli_resource_why(cib_t *cib_conn, GListPtr resources, resource_t *rsc, cib_conn 61 tools/crm_resource_ban.c cli_resource_ban(const char *rsc_id, const char *host, GListPtr allnodes, cib_t * cib_conn) cib_conn 73 tools/crm_resource_ban.c rc = cli_resource_ban(rsc_id, target->details->uname, NULL, cib_conn); cib_conn 134 tools/crm_resource_ban.c rc = cib_conn->cmds->update(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_options); cib_conn 143 tools/crm_resource_ban.c cli_resource_prefer(const char *rsc_id, const char *host, cib_t * cib_conn) cib_conn 154 tools/crm_resource_ban.c if(cib_conn == NULL) { cib_conn 197 tools/crm_resource_ban.c rc = cib_conn->cmds->update(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_options); cib_conn 205 tools/crm_resource_ban.c cli_resource_clear(const char *rsc_id, const char *host, GListPtr allnodes, cib_t * cib_conn) cib_conn 211 tools/crm_resource_ban.c if(cib_conn == NULL) { cib_conn 239 tools/crm_resource_ban.c rc = cib_conn->cmds->delete(cib_conn, XML_CIB_TAG_CONSTRAINTS, fragment, cib_options); cib_conn 685 tools/crm_resource_runtime.c cli_resource_check(cib_t * cib_conn, resource_t *rsc) cib_conn 692 tools/crm_resource_runtime.c find_resource_attr(cib_conn, XML_NVPAIR_ATTR_VALUE, parent->id, cib_conn 695 tools/crm_resource_runtime.c find_resource_attr(cib_conn, XML_NVPAIR_ATTR_VALUE, parent->id, cib_conn 1723 tools/crm_resource_runtime.c cli_resource_why_without_rsc_and_host(cib_t *cib_conn,GListPtr resources) cib_conn 1738 tools/crm_resource_runtime.c cli_resource_check(cib_conn, rsc); cib_conn 1746 tools/crm_resource_runtime.c cli_resource_why_with_rsc_and_host(cib_t *cib_conn, GListPtr resources, cib_conn 1754 tools/crm_resource_runtime.c cli_resource_check(cib_conn, rsc); cib_conn 1758 tools/crm_resource_runtime.c cli_resource_why_without_rsc_with_host(cib_t *cib_conn,GListPtr resources,node_t *node) cib_conn 1769 tools/crm_resource_runtime.c cli_resource_check(cib_conn,rsc); cib_conn 1776 tools/crm_resource_runtime.c cli_resource_check(cib_conn,rsc); cib_conn 1785 tools/crm_resource_runtime.c cli_resource_why_with_rsc_without_host(cib_t *cib_conn, GListPtr resources, cib_conn 1792 tools/crm_resource_runtime.c cli_resource_check(cib_conn, rsc); cib_conn 1796 tools/crm_resource_runtime.c void cli_resource_why(cib_t *cib_conn, GListPtr resources, resource_t *rsc, cib_conn 1802 tools/crm_resource_runtime.c cli_resource_why_without_rsc_and_host(cib_conn, resources); cib_conn 1805 tools/crm_resource_runtime.c cli_resource_why_with_rsc_and_host(cib_conn, resources, rsc, cib_conn 1809 tools/crm_resource_runtime.c cli_resource_why_without_rsc_with_host(cib_conn, resources, node); cib_conn 1812 tools/crm_resource_runtime.c cli_resource_why_with_rsc_without_host(cib_conn, resources, rsc); cib_conn 387 tools/crm_simulate.c cib_t *cib_conn = NULL; cib_conn 393 tools/crm_simulate.c cib_conn = cib_new(); cib_conn 394 tools/crm_simulate.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cib_conn 397 tools/crm_simulate.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, cib_scope_local | cib_sync_call); cib_conn 400 tools/crm_simulate.c cib_conn->cmds->signoff(cib_conn); cib_conn 401 tools/crm_simulate.c cib_delete(cib_conn); cib_conn 402 tools/crm_simulate.c cib_conn = NULL; cib_conn 709 tools/crm_ticket.c cib_t *cib_conn = NULL; cib_conn 841 tools/crm_ticket.c cib_conn = cib_new(); cib_conn 842 tools/crm_ticket.c if (cib_conn == NULL) { cib_conn 848 tools/crm_ticket.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cib_conn 858 tools/crm_ticket.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cib_conn 903 tools/crm_ticket.c rc = dump_ticket_xml(cib_conn, ticket_id); cib_conn 906 tools/crm_ticket.c rc = dump_constraints(cib_conn, ticket_id); cib_conn 948 tools/crm_ticket.c rc = delete_ticket_state(ticket_id, cib_conn); cib_conn 976 tools/crm_ticket.c rc = modify_ticket_state(ticket_id, attr_delete, attr_set, cib_conn, &data_set); cib_conn 1016 tools/crm_ticket.c if (cib_conn != NULL) { cib_conn 1018 tools/crm_ticket.c cib_conn->cmds->signoff(cib_conn); cib_conn 1019 tools/crm_ticket.c cib_delete(cib_conn); cib_conn 83 tools/crm_verify.c cib_t *cib_conn = NULL; cib_conn 158 tools/crm_verify.c cib_conn = cib_new(); cib_conn 159 tools/crm_verify.c rc = cib_conn->cmds->signon(cib_conn, crm_system_name, cib_command); cib_conn 167 tools/crm_verify.c rc = cib_conn->cmds->query(cib_conn, NULL, &cib_object, options); cib_conn 270 tools/crm_verify.c if (USE_LIVE_CIB && cib_conn) { cib_conn 271 tools/crm_verify.c cib_conn->cmds->signoff(cib_conn); cib_conn 272 tools/crm_verify.c cib_delete(cib_conn); cib_conn 116 tools/fake_transition.c create_node_entry(cib_t * cib_conn, const char *node) cib_conn 125 tools/fake_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, NULL, cib_xpath | cib_sync_call | cib_scope_local); cib_conn 133 tools/fake_transition.c cib_conn->cmds->create(cib_conn, XML_CIB_TAG_NODES, cib_object, cib_conn 184 tools/fake_transition.c inject_node_state(cib_t * cib_conn, const char *node, const char *uuid) cib_conn 191 tools/fake_transition.c create_node_entry(cib_conn, node); cib_conn 194 tools/fake_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cib_conn 209 tools/fake_transition.c query_node_uuid(cib_conn, node, &found_uuid, NULL); cib_conn 217 tools/fake_transition.c cib_conn->cmds->create(cib_conn, XML_CIB_TAG_STATUS, cib_object, cib_conn 222 tools/fake_transition.c rc = cib_conn->cmds->query(cib_conn, xpath, &cib_object, cib_conn 233 tools/fake_transition.c modify_node(cib_t * cib_conn, char *node, gboolean up) cib_conn 235 tools/fake_transition.c xmlNode *cib_node = inject_node_state(cib_conn, node, NULL);