cib 50 daemons/based/cibmon.c static cib_t *cib = NULL; cib 128 daemons/based/cibmon.c cib = cib_new(); cib 132 daemons/based/cibmon.c rc = cib->cmds->signon(cib, crm_system_name, cib_query); cib 142 daemons/based/cibmon.c rc = cib->cmds->set_connection_dnotify(cib, cib_connection_destroy); cib 149 daemons/based/cibmon.c rc = cib->cmds->add_notify_callback(cib, T_CIB_DIFF_NOTIFY, cibmon_diff); cib 236 daemons/based/cibmon.c rc = cib->cmds->query(cib, NULL, &cib_copy, cib_scope_local | cib_sync_call); cib 352 daemons/based/pacemaker-based.c xmlNode *cib = readCibXmlFile(cib_root, filename, !preserve_status); cib 354 daemons/based/pacemaker-based.c if (activateCibXml(cib, TRUE, "start") == 0) { cib 360 daemons/based/pacemaker-based.c cib_read_config(config_hash, cib); cib 362 daemons/based/pacemaker-based.c port_s = crm_element_value(cib, "remote-tls-port"); cib 368 daemons/based/pacemaker-based.c port_s = crm_element_value(cib, "remote-clear-port"); cib 92 daemons/based/pacemaker-based.h gboolean verifyCibXml(xmlNode *cib); cib 191 daemons/controld/controld_election.c xmlNode *cib = NULL; cib 204 daemons/controld/controld_election.c cib = create_xml_node(NULL, XML_TAG_CIB); cib 205 daemons/controld/controld_election.c crm_xml_add(cib, XML_ATTR_CRM_VERSION, CRM_FEATURE_SET); cib 206 daemons/controld/controld_election.c fsa_cib_update(XML_TAG_CIB, cib, cib_quorum_override, rc, NULL); cib 232 daemons/controld/controld_election.c free_xml(cib); cib 419 daemons/controld/controld_te_callbacks.c process_cib_diff(xmlNode *cib, xmlNode *change, const char *op, cib 422 daemons/controld/controld_te_callbacks.c xmlNode *status = first_named_child(cib, XML_CIB_TAG_STATUS); cib 423 daemons/controld/controld_te_callbacks.c xmlNode *config = first_named_child(cib, XML_CIB_TAG_CONFIGURATION); cib 46 include/crm/cib.h void cib_free_callbacks(cib_t *cib); cib 47 include/crm/cib.h void cib_delete(cib_t * cib); cib 73 include/crm/cib/cib_types.h int (*signon) (cib_t *cib, const char *name, enum cib_conn_type type); cib 74 include/crm/cib/cib_types.h int (*signon_raw) (cib_t *cib, const char *name, enum cib_conn_type type, cib 76 include/crm/cib/cib_types.h int (*signoff) (cib_t *cib); cib 77 include/crm/cib/cib_types.h int (*free) (cib_t *cib); cib 78 include/crm/cib/cib_types.h int (*set_op_callback) (cib_t *cib, void (*callback) (const xmlNode *msg, cib 81 include/crm/cib/cib_types.h int (*add_notify_callback) (cib_t *cib, const char *event, cib 84 include/crm/cib/cib_types.h int (*del_notify_callback) (cib_t *cib, const char *event, cib 87 include/crm/cib/cib_types.h int (*set_connection_dnotify) (cib_t *cib, cib 89 include/crm/cib/cib_types.h int (*inputfd) (cib_t *cib); cib 90 include/crm/cib/cib_types.h int (*noop) (cib_t *cib, int call_options); cib 91 include/crm/cib/cib_types.h int (*ping) (cib_t *cib, xmlNode **output_data, int call_options); cib 92 include/crm/cib/cib_types.h int (*query) (cib_t *cib, const char *section, xmlNode **output_data, cib 94 include/crm/cib/cib_types.h int (*query_from) (cib_t *cib, const char *host, const char *section, cib 96 include/crm/cib/cib_types.h int (*is_master) (cib_t *cib); cib 97 include/crm/cib/cib_types.h int (*set_master) (cib_t *cib, int call_options); cib 98 include/crm/cib/cib_types.h int (*set_slave) (cib_t *cib, int call_options); cib 99 include/crm/cib/cib_types.h int (*set_slave_all) (cib_t *cib, int call_options); cib 100 include/crm/cib/cib_types.h int (*sync) (cib_t *cib, const char *section, int call_options); cib 101 include/crm/cib/cib_types.h int (*sync_from) (cib_t *cib, const char *host, const char *section, cib 103 include/crm/cib/cib_types.h int (*upgrade) (cib_t *cib, int call_options); cib 104 include/crm/cib/cib_types.h int (*bump_epoch) (cib_t *cib, int call_options); cib 105 include/crm/cib/cib_types.h int (*create) (cib_t *cib, const char *section, xmlNode *data, cib 107 include/crm/cib/cib_types.h int (*modify) (cib_t *cib, const char *section, xmlNode *data, cib 109 include/crm/cib/cib_types.h int (*update) (cib_t *cib, const char *section, xmlNode *data, cib 111 include/crm/cib/cib_types.h int (*replace) (cib_t *cib, const char *section, xmlNode *data, cib 113 include/crm/cib/cib_types.h int (*remove) (cib_t *cib, const char *section, xmlNode *data, cib 115 include/crm/cib/cib_types.h int (*erase) (cib_t *cib, xmlNode **output_data, int call_options); cib 116 include/crm/cib/cib_types.h int (*delete_absolute) (cib_t *cib, const char *section, xmlNode *data, cib 118 include/crm/cib/cib_types.h int (*quit) (cib_t *cib, int call_options); cib 119 include/crm/cib/cib_types.h int (*register_notification) (cib_t *cib, const char *callback, cib 121 include/crm/cib/cib_types.h gboolean (*register_callback) (cib_t *cib, int call_id, int timeout, cib 126 include/crm/cib/cib_types.h gboolean (*register_callback_full)(cib_t *cib, int call_id, int timeout, cib 98 include/crm/cib/internal.h cib_t *cib; cib 128 include/crm/cib/internal.h void cib_native_callback(cib_t * cib, xmlNode * msg, int call_id, int rc); cib 130 include/crm/cib/internal.h int cib_native_register_notification(cib_t * cib, const char *callback, int enabled); cib 131 include/crm/cib/internal.h gboolean cib_client_register_callback(cib_t * cib, int call_id, int timeout, gboolean only_success, cib 134 include/crm/cib/internal.h gboolean cib_client_register_callback_full(cib_t *cib, int call_id, cib 205 include/crm/cib/internal.h int cib_internal_op(cib_t * cib, const char *op, const char *host, cib 28 include/crm/cib/util.h gboolean verifyCibXml(xmlNode * cib); cib 30 include/crm/cib/util.h gboolean cib_version_details(xmlNode * cib, int *admin_epoch, int *epoch, int *updates); cib 63 include/crm/cib/util.h xmlNode *cib_get_generation(cib_t * cib); cib 127 include/crm/cluster.h void crm_remote_peer_cache_refresh(xmlNode *cib); cib 361 include/crm/cluster/internal.h void crm_peer_caches_refresh(xmlNode *cib); cib 150 include/crm/common/xml.h xmlNode *find_xml_node(xmlNode * cib, const char *node_path, gboolean must_find); cib 172 include/crm/compatibility.h #define add_cib_op_callback(cib, id, flag, data, fn) do { \ cib 173 include/crm/compatibility.h cib->cmds->register_callback(cib, id, 120, flag, data, #fn, fn); \ cib 95 include/pcmki/pcmki_sched_utils.h pe_working_set_t * data_set, cib_t *cib, cib 100 include/pcmki/pcmki_sched_utils.h int run_simulation(pe_working_set_t * data_set, cib_t *cib, GListPtr op_fail_list, bool quiet); cib 30 lib/cib/cib_client.c int cib_client_set_op_callback(cib_t * cib, void (*callback) (const xmlNode * msg, int call_id, cib 33 lib/cib/cib_client.c int cib_client_add_notify_callback(cib_t * cib, const char *event, cib 36 lib/cib/cib_client.c int cib_client_del_notify_callback(cib_t * cib, const char *event, cib 41 lib/cib/cib_client.c #define op_common(cib) do { \ cib 42 lib/cib/cib_client.c if(cib == NULL) { \ cib 44 lib/cib/cib_client.c } else if(cib->delegate_fn == NULL) { \ cib 50 lib/cib/cib_client.c cib_client_noop(cib_t * cib, int call_options) cib 52 lib/cib/cib_client.c op_common(cib); cib 53 lib/cib/cib_client.c return cib_internal_op(cib, CRM_OP_NOOP, NULL, NULL, NULL, NULL, call_options, NULL); cib 57 lib/cib/cib_client.c cib_client_ping(cib_t * cib, xmlNode ** output_data, int call_options) cib 59 lib/cib/cib_client.c op_common(cib); cib 60 lib/cib/cib_client.c return cib_internal_op(cib, CRM_OP_PING, NULL, NULL, NULL, output_data, call_options, NULL); cib 64 lib/cib/cib_client.c cib_client_query(cib_t * cib, const char *section, xmlNode ** output_data, int call_options) cib 66 lib/cib/cib_client.c return cib->cmds->query_from(cib, NULL, section, output_data, call_options); cib 70 lib/cib/cib_client.c cib_client_query_from(cib_t * cib, const char *host, const char *section, cib 73 lib/cib/cib_client.c op_common(cib); cib 74 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_QUERY, host, section, NULL, output_data, call_options, NULL); cib 78 lib/cib/cib_client.c cib_client_is_master(cib_t * cib) cib 80 lib/cib/cib_client.c op_common(cib); cib 81 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_ISMASTER, NULL, NULL, NULL, NULL, cib 86 lib/cib/cib_client.c cib_client_set_slave(cib_t * cib, int call_options) cib 88 lib/cib/cib_client.c op_common(cib); cib 89 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_SLAVE, NULL, NULL, NULL, NULL, call_options, NULL); cib 93 lib/cib/cib_client.c cib_client_set_slave_all(cib_t * cib, int call_options) cib 99 lib/cib/cib_client.c cib_client_set_master(cib_t * cib, int call_options) cib 101 lib/cib/cib_client.c op_common(cib); cib 103 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_MASTER, NULL, NULL, NULL, NULL, cib 108 lib/cib/cib_client.c cib_client_bump_epoch(cib_t * cib, int call_options) cib 110 lib/cib/cib_client.c op_common(cib); cib 111 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_BUMP, NULL, NULL, NULL, NULL, call_options, NULL); cib 115 lib/cib/cib_client.c cib_client_upgrade(cib_t * cib, int call_options) cib 117 lib/cib/cib_client.c op_common(cib); cib 118 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_UPGRADE, NULL, NULL, NULL, NULL, call_options, NULL); cib 122 lib/cib/cib_client.c cib_client_sync(cib_t * cib, const char *section, int call_options) cib 124 lib/cib/cib_client.c return cib->cmds->sync_from(cib, NULL, section, call_options); cib 128 lib/cib/cib_client.c cib_client_sync_from(cib_t * cib, const char *host, const char *section, int call_options) cib 130 lib/cib/cib_client.c op_common(cib); cib 131 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_SYNC, host, section, NULL, NULL, call_options, NULL); cib 135 lib/cib/cib_client.c cib_client_create(cib_t * cib, const char *section, xmlNode * data, int call_options) cib 137 lib/cib/cib_client.c op_common(cib); cib 138 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_CREATE, NULL, section, data, NULL, call_options, NULL); cib 142 lib/cib/cib_client.c cib_client_modify(cib_t * cib, const char *section, xmlNode * data, int call_options) cib 144 lib/cib/cib_client.c op_common(cib); cib 145 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_MODIFY, NULL, section, data, NULL, call_options, NULL); cib 149 lib/cib/cib_client.c cib_client_update(cib_t * cib, const char *section, xmlNode * data, int call_options) cib 151 lib/cib/cib_client.c op_common(cib); cib 152 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_MODIFY, NULL, section, data, NULL, call_options, NULL); cib 156 lib/cib/cib_client.c cib_client_replace(cib_t * cib, const char *section, xmlNode * data, int call_options) cib 158 lib/cib/cib_client.c op_common(cib); cib 159 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_REPLACE, NULL, section, data, NULL, call_options, NULL); cib 163 lib/cib/cib_client.c cib_client_delete(cib_t * cib, const char *section, xmlNode * data, int call_options) cib 165 lib/cib/cib_client.c op_common(cib); cib 166 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_DELETE, NULL, section, data, NULL, call_options, NULL); cib 170 lib/cib/cib_client.c cib_client_delete_absolute(cib_t * cib, const char *section, xmlNode * data, int call_options) cib 172 lib/cib/cib_client.c op_common(cib); cib 173 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_DELETE_ALT, NULL, section, data, NULL, call_options, NULL); cib 177 lib/cib/cib_client.c cib_client_erase(cib_t * cib, xmlNode ** output_data, int call_options) cib 179 lib/cib/cib_client.c op_common(cib); cib 180 lib/cib/cib_client.c return cib_internal_op(cib, CIB_OP_ERASE, NULL, NULL, NULL, output_data, call_options, NULL); cib 406 lib/cib/cib_client.c cib_free_callbacks(cib_t *cib) cib 408 lib/cib/cib_client.c if (cib) { cib 409 lib/cib/cib_client.c GList *list = cib->notify_list; cib 417 lib/cib/cib_client.c cib->notify_list = NULL; cib 428 lib/cib/cib_client.c cib_delete(cib_t *cib) cib 430 lib/cib/cib_client.c cib_free_callbacks(cib); cib 431 lib/cib/cib_client.c if (cib) { cib 432 lib/cib/cib_client.c cib->cmds->free(cib); cib 437 lib/cib/cib_client.c cib_client_set_op_callback(cib_t * cib, void (*callback) (const xmlNode * msg, int call_id, cib 446 lib/cib/cib_client.c cib->op_callback = callback; cib 451 lib/cib/cib_client.c cib_client_add_notify_callback(cib_t * cib, const char *event, cib 457 lib/cib/cib_client.c if (cib->variant != cib_native && cib->variant != cib_remote) { cib 461 lib/cib/cib_client.c crm_trace("Adding callback for %s events (%d)", event, g_list_length(cib->notify_list)); cib 467 lib/cib/cib_client.c list_item = g_list_find_custom(cib->notify_list, new_client, ciblib_GCompareFunc); cib 475 lib/cib/cib_client.c cib->notify_list = g_list_append(cib->notify_list, new_client); cib 477 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 1); cib 479 lib/cib/cib_client.c crm_trace("Callback added (%d)", g_list_length(cib->notify_list)); cib 485 lib/cib/cib_client.c get_notify_list_event_count(cib_t * cib, const char *event) cib 490 lib/cib/cib_client.c for (l = g_list_first(cib->notify_list); l; l = g_list_next(l)) { cib 502 lib/cib/cib_client.c cib_client_del_notify_callback(cib_t * cib, const char *event, cib 508 lib/cib/cib_client.c if (cib->variant != cib_native && cib->variant != cib_remote) { cib 512 lib/cib/cib_client.c if (get_notify_list_event_count(cib, event) == 0) { cib 523 lib/cib/cib_client.c list_item = g_list_find_custom(cib->notify_list, new_client, ciblib_GCompareFunc); cib 528 lib/cib/cib_client.c cib->notify_list = g_list_remove(cib->notify_list, list_client); cib 537 lib/cib/cib_client.c if (get_notify_list_event_count(cib, event) == 0) { cib 539 lib/cib/cib_client.c cib->cmds->register_notification(cib, event, 0); cib 576 lib/cib/cib_client.c cib_native_callback(timer->cib, NULL, timer->call_id, -ETIME); cib 585 lib/cib/cib_client.c cib_client_register_callback(cib_t * cib, int call_id, int timeout, gboolean only_success, cib 589 lib/cib/cib_client.c return cib_client_register_callback_full(cib, call_id, timeout, cib 595 lib/cib/cib_client.c cib_client_register_callback_full(cib_t *cib, int call_id, int timeout, cib 629 lib/cib/cib_client.c async_timer->cib = cib; cib 58 lib/cib/cib_file.c int cib_file_perform_op(cib_t * cib, const char *op, const char *host, const char *section, cib 61 lib/cib/cib_file.c int cib_file_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, cib 65 lib/cib/cib_file.c int cib_file_signon(cib_t * cib, const char *name, enum cib_conn_type type); cib 66 lib/cib/cib_file.c int cib_file_signoff(cib_t * cib); cib 67 lib/cib/cib_file.c int cib_file_free(cib_t * cib); cib 70 lib/cib/cib_file.c cib_file_inputfd(cib_t * cib) cib 76 lib/cib/cib_file.c cib_file_set_connection_dnotify(cib_t * cib, void (*dnotify) (gpointer user_data)) cib 82 lib/cib/cib_file.c cib_file_register_notification(cib_t * cib, const char *callback, int enabled) cib 496 lib/cib/cib_file.c cib_t *cib = cib_new_variant(); cib 499 lib/cib/cib_file.c CRM_ASSERT((cib != NULL) && (private != NULL)); cib 501 lib/cib/cib_file.c cib->variant = cib_file; cib 502 lib/cib/cib_file.c cib->variant_opaque = private; cib 515 lib/cib/cib_file.c cib->delegate_fn = cib_file_perform_op_delegate; cib 516 lib/cib/cib_file.c cib->cmds->signon = cib_file_signon; cib 517 lib/cib/cib_file.c cib->cmds->signoff = cib_file_signoff; cib 518 lib/cib/cib_file.c cib->cmds->free = cib_file_free; cib 519 lib/cib/cib_file.c cib->cmds->inputfd = cib_file_inputfd; cib 521 lib/cib/cib_file.c cib->cmds->register_notification = cib_file_register_notification; cib 522 lib/cib/cib_file.c cib->cmds->set_connection_dnotify = cib_file_set_connection_dnotify; cib 524 lib/cib/cib_file.c return cib; cib 580 lib/cib/cib_file.c cib_file_signon(cib_t * cib, const char *name, enum cib_conn_type type) cib 583 lib/cib/cib_file.c cib_file_opaque_t *private = cib->variant_opaque; cib 594 lib/cib/cib_file.c cib->state = cib_connected_command; cib 595 lib/cib/cib_file.c cib->type = cib_command; cib 695 lib/cib/cib_file.c cib_file_signoff(cib_t * cib) cib 698 lib/cib/cib_file.c cib_file_opaque_t *private = cib->variant_opaque; cib 701 lib/cib/cib_file.c cib->state = cib_disconnected; cib 702 lib/cib/cib_file.c cib->type = cib_no_connection; cib 737 lib/cib/cib_file.c cib_file_free(cib_t * cib) cib 741 lib/cib/cib_file.c if (cib->state != cib_disconnected) { cib 742 lib/cib/cib_file.c rc = cib_file_signoff(cib); cib 746 lib/cib/cib_file.c cib_file_opaque_t *private = cib->variant_opaque; cib 749 lib/cib/cib_file.c free(cib->cmds); cib 751 lib/cib/cib_file.c free(cib); cib 781 lib/cib/cib_file.c cib_file_perform_op(cib_t * cib, const char *op, const char *host, const char *section, cib 784 lib/cib/cib_file.c return cib_file_perform_op_delegate(cib, op, host, section, data, output_data, call_options, cib 789 lib/cib/cib_file.c cib_file_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, cib 804 lib/cib/cib_file.c cib_file_opaque_t *private = cib->variant_opaque; cib 818 lib/cib/cib_file.c if (cib->state == cib_disconnected) { cib 842 lib/cib/cib_file.c cib->call_id++; cib 843 lib/cib/cib_file.c request = cib_create_op(cib->call_id, "dummy-token", op, host, section, data, call_options, user_name); cib 876 lib/cib/cib_file.c if (cib->op_callback != NULL) { cib 877 lib/cib/cib_file.c cib->op_callback(NULL, cib->call_id, rc, output); cib 41 lib/cib/cib_native.c int cib_native_perform_op(cib_t * cib, const char *op, const char *host, const char *section, cib 44 lib/cib/cib_native.c int cib_native_perform_op_delegate(cib_t * cib, const char *op, const char *host, cib 48 lib/cib/cib_native.c int cib_native_free(cib_t * cib); cib 49 lib/cib/cib_native.c int cib_native_signoff(cib_t * cib); cib 50 lib/cib/cib_native.c int cib_native_signon(cib_t * cib, const char *name, enum cib_conn_type type); cib 51 lib/cib/cib_native.c int cib_native_signon_raw(cib_t * cib, const char *name, enum cib_conn_type type, int *event_fd); cib 53 lib/cib/cib_native.c int cib_native_set_connection_dnotify(cib_t * cib, void (*dnotify) (gpointer user_data)); cib 59 lib/cib/cib_native.c cib_t *cib = cib_new_variant(); cib 63 lib/cib/cib_native.c cib->variant = cib_native; cib 64 lib/cib/cib_native.c cib->variant_opaque = native; cib 71 lib/cib/cib_native.c cib->delegate_fn = cib_native_perform_op_delegate; cib 72 lib/cib/cib_native.c cib->cmds->signon = cib_native_signon; cib 73 lib/cib/cib_native.c cib->cmds->signon_raw = cib_native_signon_raw; cib 74 lib/cib/cib_native.c cib->cmds->signoff = cib_native_signoff; cib 75 lib/cib/cib_native.c cib->cmds->free = cib_native_free; cib 77 lib/cib/cib_native.c cib->cmds->register_notification = cib_native_register_notification; cib 78 lib/cib/cib_native.c cib->cmds->set_connection_dnotify = cib_native_set_connection_dnotify; cib 80 lib/cib/cib_native.c return cib; cib 84 lib/cib/cib_native.c cib_native_signon(cib_t * cib, const char *name, enum cib_conn_type type) cib 86 lib/cib/cib_native.c return cib_native_signon_raw(cib, name, type, NULL); cib 95 lib/cib/cib_native.c cib_t *cib = userdata; cib 99 lib/cib/cib_native.c if (cib == NULL) { cib 117 lib/cib/cib_native.c cib_native_callback(cib, msg, 0, 0); cib 120 lib/cib/cib_native.c g_list_foreach(cib->notify_list, cib_native_notify, msg); cib 133 lib/cib/cib_native.c cib_t *cib = userdata; cib 134 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 137 lib/cib/cib_native.c cib->state = cib_disconnected; cib 147 lib/cib/cib_native.c cib_native_signon_raw(cib_t * cib, const char *name, enum cib_conn_type type, int *async_fd) cib 151 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 158 lib/cib/cib_native.c cib->call_timeout = MAX_IPC_DELAY; cib 161 lib/cib/cib_native.c cib->state = cib_connected_command; cib 165 lib/cib/cib_native.c cib->state = cib_connected_command; cib 169 lib/cib/cib_native.c cib->state = cib_connected_query; cib 190 lib/cib/cib_native.c mainloop_add_ipc_client(channel, G_PRIORITY_HIGH, 512 * 1024 /* 512k */ , cib, cib 242 lib/cib/cib_native.c cib_native_signoff(cib); cib 247 lib/cib/cib_native.c cib_native_signoff(cib_t * cib) cib 249 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 268 lib/cib/cib_native.c cib->state = cib_disconnected; cib 269 lib/cib/cib_native.c cib->type = cib_no_connection; cib 275 lib/cib/cib_native.c cib_native_free(cib_t * cib) cib 279 lib/cib/cib_native.c if (cib->state != cib_disconnected) { cib 280 lib/cib/cib_native.c rc = cib_native_signoff(cib); cib 283 lib/cib/cib_native.c if (cib->state == cib_disconnected) { cib 284 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 287 lib/cib/cib_native.c free(cib->variant_opaque); cib 288 lib/cib/cib_native.c free(cib->cmds); cib 289 lib/cib/cib_native.c free(cib); cib 296 lib/cib/cib_native.c cib_native_perform_op(cib_t * cib, const char *op, const char *host, const char *section, cib 299 lib/cib/cib_native.c return cib_native_perform_op_delegate(cib, op, host, section, cib 304 lib/cib/cib_native.c cib_native_perform_op_delegate(cib_t * cib, const char *op, const char *host, const char *section, cib 315 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 317 lib/cib/cib_native.c if (cib->state == cib_disconnected) { cib 334 lib/cib/cib_native.c cib->call_id++; cib 335 lib/cib/cib_native.c if (cib->call_id < 1) { cib 336 lib/cib/cib_native.c cib->call_id = 1; cib 342 lib/cib/cib_native.c cib_create_op(cib->call_id, native->token, op, host, section, data, call_options, cib 348 lib/cib/cib_native.c crm_trace("Sending %s message to the CIB manager (timeout=%ds)", op, cib->call_timeout); cib 349 lib/cib/cib_native.c rc = crm_ipc_send(native->ipc, op_msg, ipc_flags, cib->call_timeout * 1000, &op_reply); cib 354 lib/cib/cib_native.c cib->call_timeout, pcmk_strerror(rc), rc); cib 362 lib/cib/cib_native.c crm_trace("Async call, returning %d", cib->call_id); cib 363 lib/cib/cib_native.c CRM_CHECK(cib->call_id != 0, return -ENOMSG); cib 365 lib/cib/cib_native.c return cib->call_id; cib 370 lib/cib/cib_native.c if (reply_id == cib->call_id) { cib 392 lib/cib/cib_native.c crm_err("Received bad reply: %d (wanted %d)", reply_id, cib->call_id); cib 398 lib/cib/cib_native.c if (op_reply == NULL && cib->state == cib_disconnected) { cib 433 lib/cib/cib_native.c cib->state = cib_disconnected; cib 441 lib/cib/cib_native.c cib_native_set_connection_dnotify(cib_t * cib, void (*dnotify) (gpointer user_data)) cib 445 lib/cib/cib_native.c if (cib == NULL) { cib 450 lib/cib/cib_native.c native = cib->variant_opaque; cib 457 lib/cib/cib_native.c cib_native_register_notification(cib_t * cib, const char *callback, int enabled) cib 461 lib/cib/cib_native.c cib_native_opaque_t *native = cib->variant_opaque; cib 463 lib/cib/cib_native.c if (cib->state != cib_disconnected) { cib 468 lib/cib/cib_native.c 1000 * cib->call_timeout, NULL); cib 70 lib/cib/cib_remote.c int cib_remote_signon(cib_t * cib, const char *name, enum cib_conn_type type); cib 71 lib/cib/cib_remote.c int cib_remote_signoff(cib_t * cib); cib 72 lib/cib/cib_remote.c int cib_remote_free(cib_t * cib); cib 74 lib/cib/cib_remote.c int cib_remote_perform_op(cib_t * cib, const char *op, const char *host, const char *section, cib 79 lib/cib/cib_remote.c cib_remote_inputfd(cib_t * cib) cib 81 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 87 lib/cib/cib_remote.c cib_remote_set_connection_dnotify(cib_t * cib, void (*dnotify) (gpointer user_data)) cib 93 lib/cib/cib_remote.c cib_remote_register_notification(cib_t * cib, const char *callback, int enabled) cib 96 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 111 lib/cib/cib_remote.c cib_t *cib = cib_new_variant(); cib 115 lib/cib/cib_remote.c cib->variant = cib_remote; cib 116 lib/cib/cib_remote.c cib->variant_opaque = private; cib 134 lib/cib/cib_remote.c cib->delegate_fn = cib_remote_perform_op; cib 135 lib/cib/cib_remote.c cib->cmds->signon = cib_remote_signon; cib 136 lib/cib/cib_remote.c cib->cmds->signoff = cib_remote_signoff; cib 137 lib/cib/cib_remote.c cib->cmds->free = cib_remote_free; cib 138 lib/cib/cib_remote.c cib->cmds->inputfd = cib_remote_inputfd; cib 140 lib/cib/cib_remote.c cib->cmds->register_notification = cib_remote_register_notification; cib 141 lib/cib/cib_remote.c cib->cmds->set_connection_dnotify = cib_remote_set_connection_dnotify; cib 143 lib/cib/cib_remote.c return cib; cib 147 lib/cib/cib_remote.c cib_tls_close(cib_t * cib) cib 149 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 204 lib/cib/cib_remote.c cib_tls_signon(cib_t *cib, pcmk__remote_t *connection, gboolean event_channel) cib 206 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 245 lib/cib/cib_remote.c cib_tls_close(cib); cib 255 lib/cib/cib_remote.c cib_tls_close(cib); cib 304 lib/cib/cib_remote.c cib_tls_close(cib); cib 310 lib/cib/cib_remote.c connection->tcp_socket, cib, cib 329 lib/cib/cib_remote.c cib_t *cib = user_data; cib 330 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 348 lib/cib/cib_remote.c cib_t *cib = user_data; cib 349 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 364 lib/cib/cib_remote.c cib_native_callback(cib, msg, 0, 0); cib 367 lib/cib/cib_remote.c g_list_foreach(cib->notify_list, cib_native_notify, msg); cib 385 lib/cib/cib_remote.c cib_remote_signon(cib_t * cib, const char *name, enum cib_conn_type type) cib 388 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 419 lib/cib/cib_remote.c rc = cib_tls_signon(cib, &(private->command), FALSE); cib 423 lib/cib/cib_remote.c rc = cib_tls_signon(cib, &(private->callback), TRUE); cib 437 lib/cib/cib_remote.c cib->state = cib_connected_command; cib 438 lib/cib/cib_remote.c cib->type = cib_command; cib 449 lib/cib/cib_remote.c cib_remote_signoff(cib_t * cib) cib 457 lib/cib/cib_remote.c cib_tls_close(cib); cib 460 lib/cib/cib_remote.c cib->state = cib_disconnected; cib 461 lib/cib/cib_remote.c cib->type = cib_no_connection; cib 467 lib/cib/cib_remote.c cib_remote_free(cib_t * cib) cib 472 lib/cib/cib_remote.c if (cib->state != cib_disconnected) { cib 473 lib/cib/cib_remote.c rc = cib_remote_signoff(cib); cib 475 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 480 lib/cib/cib_remote.c free(cib->cmds); cib 482 lib/cib/cib_remote.c free(cib); cib 490 lib/cib/cib_remote.c cib_remote_perform_op(cib_t * cib, const char *op, const char *host, const char *section, cib 500 lib/cib/cib_remote.c cib_remote_opaque_t *private = cib->variant_opaque; cib 502 lib/cib/cib_remote.c if (cib->state == cib_disconnected) { cib 515 lib/cib/cib_remote.c cib->call_id++; cib 516 lib/cib/cib_remote.c if (cib->call_id < 1) { cib 517 lib/cib/cib_remote.c cib->call_id = 1; cib 521 lib/cib/cib_remote.c cib_create_op(cib->call_id, private->callback.token, op, host, section, data, call_options, cib 540 lib/cib/cib_remote.c return cib->call_id; cib 546 lib/cib/cib_remote.c remaining_time = cib->call_timeout ? cib->call_timeout : 60; cib 551 lib/cib/cib_remote.c int msg_id = cib->call_id; cib 627 lib/cib/cib_remote.c crm_trace("No output in reply to \"%s\" command %d", op, cib->call_id - 1); cib 60 lib/cib/cib_utils.c cib_get_generation(cib_t * cib) cib 65 lib/cib/cib_utils.c cib->cmds->query(cib, NULL, &the_cib, cib_scope_local | cib_sync_call); cib 75 lib/cib/cib_utils.c cib_version_details(xmlNode * cib, int *admin_epoch, int *epoch, int *updates) cib 81 lib/cib/cib_utils.c if (cib == NULL) { cib 85 lib/cib/cib_utils.c crm_element_value_int(cib, XML_ATTR_GENERATION, epoch); cib 86 lib/cib/cib_utils.c crm_element_value_int(cib, XML_ATTR_NUMUPDATES, updates); cib 87 lib/cib/cib_utils.c crm_element_value_int(cib, XML_ATTR_GENERATION_ADMIN, admin_epoch); cib 538 lib/cib/cib_utils.c cib_native_callback(cib_t * cib, xmlNode * msg, int call_id, int rc) cib 554 lib/cib/cib_utils.c if (cib == NULL) { cib 567 lib/cib/cib_utils.c } else if (cib && cib->op_callback == NULL && rc != pcmk_ok) { cib 577 lib/cib/cib_utils.c if (cib && cib->op_callback != NULL) { cib 579 lib/cib/cib_utils.c cib->op_callback(msg, call_id, rc, output); cib 709 lib/cib/cib_utils.c cib_internal_op(cib_t * cib, const char *op, const char *host, cib 713 lib/cib/cib_utils.c int (*delegate) (cib_t * cib, const char *op, const char *host, cib 716 lib/cib/cib_utils.c cib->delegate_fn; cib 724 lib/cib/cib_utils.c return delegate(cib, op, host, section, data, output_data, call_options, user_name); cib 234 lib/cluster/membership.c crm_remote_peer_cache_refresh(xmlNode *cib) cib 249 lib/cluster/membership.c crm_foreach_xpath_result(cib, XPATH_REMOTE_NODE_STATUS, cib 260 lib/cluster/membership.c crm_foreach_xpath_result(cib, XPATH_GUEST_NODE_CONFIG, cib 264 lib/cluster/membership.c crm_foreach_xpath_result(cib, XPATH_REMOTE_NODE_CONFIG, cib 1149 lib/cluster/membership.c crm_known_peer_cache_refresh(xmlNode *cib) cib 1155 lib/cluster/membership.c crm_foreach_xpath_result(cib, XPATH_MEMBER_NODE_CONFIG, cib 1163 lib/cluster/membership.c crm_peer_caches_refresh(xmlNode *cib) cib 1165 lib/cluster/membership.c crm_remote_peer_cache_refresh(cib); cib 1166 lib/cluster/membership.c crm_known_peer_cache_refresh(cib); cib 227 lib/common/patchset.c xmlNode *cib = NULL; cib 250 lib/common/patchset.c cib = find_xml_node(diff_child, tag, FALSE); cib 251 lib/common/patchset.c if (cib == NULL) { cib 252 lib/common/patchset.c cib = create_xml_node(diff_child, tag); cib 260 lib/common/patchset.c crm_xml_add(cib, vfields[lpc], value); cib 271 lib/common/patchset.c cib = find_xml_node(diff_child, tag, FALSE); cib 272 lib/common/patchset.c if (cib == NULL) { cib 273 lib/common/patchset.c cib = create_xml_node(diff_child, tag); cib 289 lib/common/patchset.c xmlSetProp(cib, (pcmkXmlStr) p_name, (pcmkXmlStr) p_value); cib 369 lib/pacemaker/pcmk_sched_transition.c const char *attr_value, cib_t * cib, int cib_options) cib 375 lib/pacemaker/pcmk_sched_transition.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); cib 396 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, xml_top, cib_options); cib 404 lib/pacemaker/pcmk_sched_transition.c modify_configuration(pe_working_set_t * data_set, cib_t *cib, cib 425 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, NULL, top, cib_sync_call | cib_scope_local); cib 432 lib/pacemaker/pcmk_sched_transition.c rc = update_attr_delegate(cib, cib_sync_call | cib_scope_local, cib 443 lib/pacemaker/pcmk_sched_transition.c cib_node = modify_node(cib, node, TRUE); cib 446 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cib 457 lib/pacemaker/pcmk_sched_transition.c cib_node = modify_node(cib, node, FALSE); cib 460 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cib 466 lib/pacemaker/pcmk_sched_transition.c cib->cmds->remove(cib, xpath, NULL, cib 471 lib/pacemaker/pcmk_sched_transition.c cib->cmds->remove(cib, xpath, NULL, cib 480 lib/pacemaker/pcmk_sched_transition.c cib_node = modify_node(cib, node, TRUE); cib 484 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cib 495 lib/pacemaker/pcmk_sched_transition.c cib, cib_sync_call | cib_scope_local); cib 505 lib/pacemaker/pcmk_sched_transition.c cib, cib_sync_call | cib_scope_local); cib 515 lib/pacemaker/pcmk_sched_transition.c cib, cib_sync_call | cib_scope_local); cib 525 lib/pacemaker/pcmk_sched_transition.c cib, cib_sync_call | cib_scope_local); cib 570 lib/pacemaker/pcmk_sched_transition.c cib_node = inject_node_state(cib, node, NULL); cib 586 lib/pacemaker/pcmk_sched_transition.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, cib_node, cib 808 lib/pacemaker/pcmk_sched_transition.c run_simulation(pe_working_set_t * data_set, cib_t *cib, GListPtr op_fail_list, bool quiet) cib 820 lib/pacemaker/pcmk_sched_transition.c fake_cib = cib; cib 87 maint/mocked/based.c xmlNode *reply, *cib; cib 102 maint/mocked/based.c cib = xmlReadMemory(cib_str, sizeof(cib_str), "file:///tmp/foo", NULL, 0)->children; cib 115 maint/mocked/based.c if (cib != NULL) { cib 117 maint/mocked/based.c add_message_xml(reply, F_CIB_CALLDATA, cib); cib 125 maint/mocked/based.c free_xml(cib); cib 73 tools/crm_mon.c static cib_t *cib = NULL; cib 722 tools/crm_mon.c if (cib) { cib 723 tools/crm_mon.c cib->cmds->signoff(cib); cib 779 tools/crm_mon.c CRM_CHECK(cib != NULL, return -EINVAL); cib 807 tools/crm_mon.c if (cib->state != cib_connected_query && cib->state != cib_connected_command) { cib 816 tools/crm_mon.c if ((output_format == mon_output_console) && need_pass && (cib->variant == cib_remote)) { cib 821 tools/crm_mon.c rc = cib->cmds->signon(cib, crm_system_name, cib_query); cib 828 tools/crm_mon.c rc = cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); cib 835 tools/crm_mon.c rc = cib->cmds->set_connection_dnotify(cib, mon_cib_connection_destroy_regular); cib 848 tools/crm_mon.c cib->cmds->del_notify_callback(cib, T_CIB_DIFF_NOTIFY, crm_diff_update); cib 849 tools/crm_mon.c rc = cib->cmds->add_notify_callback(cib, T_CIB_DIFF_NOTIFY, crm_diff_update); cib 1217 tools/crm_mon.c cib = cib_new(); cib 1219 tools/crm_mon.c if (cib == NULL) { cib 1222 tools/crm_mon.c switch (cib->variant) { cib 1269 tools/crm_mon.c if (cib) { cib 1273 tools/crm_mon.c cib_delete(cib); cib 1274 tools/crm_mon.c cib = NULL; cib 1276 tools/crm_mon.c cib = cib_new(); cib 1277 tools/crm_mon.c if (cib == NULL) { cib 1349 tools/crm_mon.c if (cib && cib->variant == cib_file) { cib 1373 tools/crm_mon.c if (cib) { cib 1902 tools/crm_mon.c cib->cmds->query(cib, NULL, ¤t_cib, cib_scope_local | cib_sync_call); cib 1942 tools/crm_mon.c if (cib) { cib 1943 tools/crm_mon.c cib->cmds->signoff(cib); cib 2118 tools/crm_mon.c if (cib != NULL) { cib 2119 tools/crm_mon.c cib->cmds->signoff(cib); cib 2120 tools/crm_mon.c cib_delete(cib); cib 2121 tools/crm_mon.c cib = NULL; cib 331 tools/crm_node.c cib_t *cib = NULL; cib 351 tools/crm_node.c cib = cib_new(); cib 352 tools/crm_node.c cib->cmds->signon(cib, crm_system_name, cib_command); cib 354 tools/crm_node.c rc = cib->cmds->remove(cib, XML_CIB_TAG_NODES, node, cib_sync_call); cib 359 tools/crm_node.c rc = cib->cmds->remove(cib, XML_CIB_TAG_STATUS, node_state, cib_sync_call); cib 365 tools/crm_node.c cib->cmds->signoff(cib); cib 366 tools/crm_node.c cib_delete(cib); cib 55 tools/crm_resource.h void cli_resource_check(cib_t * cib, pe_resource_t *rsc); cib 70 tools/crm_resource.h int timeout_ms, cib_t *cib, int cib_options, cib 74 tools/crm_resource.h cib_t *cib, int cib_options, pe_working_set_t *data_set, cib 83 tools/crm_resource.h int timeout_ms, cib_t *cib, pe_working_set_t *data_set, cib 89 tools/crm_resource.h const char *attr_value, gboolean recursive, cib_t *cib, cib 93 tools/crm_resource.h const char *attr_id, const char *attr_name, cib_t *cib, cib 97 tools/crm_resource.h int wait_till_stable(int timeout_ms, cib_t * cib); cib 161 tools/crm_resource_runtime.c const char * attr_name, cib_t * cib, const char * cmd, int depth) cib 171 tools/crm_resource_runtime.c attr_id, attr_name, cib, cmd, depth+1); cib 178 tools/crm_resource_runtime.c rc = find_resource_attr(cib, XML_ATTR_ID, lookup_id, attr_set_type, attr_set, attr_id, attr_name, &local_attr_id); cib 195 tools/crm_resource_runtime.c const char * attr_name, cib_t * cib, const char * cmd, gboolean force) cib 210 tools/crm_resource_runtime.c rc = find_resource_attr(cib, XML_ATTR_ID, rsc_id, attr_set_type, attr_set, attr_id, attr_name, &local_attr_id); cib 225 tools/crm_resource_runtime.c rc = find_resource_attr(cib, XML_ATTR_ID, lookup_id, attr_set_type, attr_set, attr_id, attr_name, &local_attr_id); cib 242 tools/crm_resource_runtime.c cib, cmd, 0); cib 251 tools/crm_resource_runtime.c const char *attr_value, gboolean recursive, cib_t *cib, cib 266 tools/crm_resource_runtime.c cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, NULL, NULL, attr_name, NULL) == EINVAL) { cib 272 tools/crm_resource_runtime.c rc = find_resource_attr(cib, XML_ATTR_ID, uber_parent(rsc)->id, cib 290 tools/crm_resource_runtime.c attr_id, attr_name, cib, "update", force); cib 309 tools/crm_resource_runtime.c rc = find_resource_attr(cib, XML_ATTR_ID, lookup_id, attr_set_type, attr_set, attr_id, attr_name, cib 349 tools/crm_resource_runtime.c rc = cib->cmds->modify(cib, XML_CIB_TAG_RESOURCES, xml_top, cib_options); cib 392 tools/crm_resource_runtime.c cib, cib_options, data_set, force); cib 405 tools/crm_resource_runtime.c const char *attr_id, const char *attr_name, cib_t *cib, cib 414 tools/crm_resource_runtime.c cib, XML_ATTR_ID, uber_parent(rsc)->id, NULL, NULL, NULL, attr_name, NULL) == EINVAL) { cib 420 tools/crm_resource_runtime.c attr_id, attr_name, cib, "delete", force); cib 433 tools/crm_resource_runtime.c rc = find_resource_attr(cib, XML_ATTR_ID, lookup_id, attr_set_type, attr_set, attr_id, attr_name, cib 454 tools/crm_resource_runtime.c CRM_ASSERT(cib); cib 455 tools/crm_resource_runtime.c rc = cib->cmds->remove(cib, XML_CIB_TAG_RESOURCES, xml_obj, cib_options); cib 1106 tools/crm_resource_runtime.c update_working_set_from_cib(pe_working_set_t * data_set, cib_t *cib) cib 1111 tools/crm_resource_runtime.c rc = cib->cmds->query(cib, NULL, &cib_xml_copy, cib_scope_local | cib_sync_call); cib 1130 tools/crm_resource_runtime.c update_dataset(cib_t *cib, pe_working_set_t * data_set, bool simulate) cib 1138 tools/crm_resource_runtime.c rc = update_working_set_from_cib(data_set, cib); cib 1264 tools/crm_resource_runtime.c int timeout_ms, cib_t *cib, int cib_options, cib 1325 tools/crm_resource_runtime.c rc = update_dataset(cib, data_set, FALSE); cib 1339 tools/crm_resource_runtime.c rc = cli_resource_ban(rsc_id, host, move_lifetime, NULL, cib, cib 1349 tools/crm_resource_runtime.c find_resource_attr(cib, XML_NVPAIR_ATTR_VALUE, lookup_id, NULL, NULL, cib 1354 tools/crm_resource_runtime.c RSC_STOPPED, FALSE, cib, cib_options, cib 1368 tools/crm_resource_runtime.c rc = update_dataset(cib, data_set, TRUE); cib 1395 tools/crm_resource_runtime.c rc = update_dataset(cib, data_set, FALSE); cib 1423 tools/crm_resource_runtime.c rc = cli_resource_clear(rsc_id, host, NULL, cib, cib_options, TRUE, force); cib 1428 tools/crm_resource_runtime.c orig_target_role, FALSE, cib, cib 1434 tools/crm_resource_runtime.c XML_RSC_ATTR_TARGET_ROLE, cib, cib 1467 tools/crm_resource_runtime.c rc = update_dataset(cib, data_set, FALSE); cib 1502 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, host, NULL, cib, cib_options, TRUE, force); cib 1506 tools/crm_resource_runtime.c FALSE, cib, cib_options, data_set, force); cib 1510 tools/crm_resource_runtime.c XML_RSC_ATTR_TARGET_ROLE, cib, cib_options, cib 1613 tools/crm_resource_runtime.c wait_till_stable(int timeout_ms, cib_t * cib) cib 1645 tools/crm_resource_runtime.c rc = update_working_set_from_cib(data_set, cib); cib 1820 tools/crm_resource_runtime.c int timeout_ms, cib_t * cib, pe_working_set_t *data_set, cib 1891 tools/crm_resource_runtime.c const char *move_lifetime, cib_t *cib, int cib_options, cib 1962 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, NULL, data_set->nodes, cib, cib_options, FALSE, force); cib 1965 tools/crm_resource_runtime.c cli_resource_clear(rsc_id, dest->details->uname, data_set->nodes, cib, cib 1970 tools/crm_resource_runtime.c cib, cib_options, promoted_role_only); cib 1982 tools/crm_resource_runtime.c NULL, cib, cib_options, promoted_role_only); cib 368 tools/crm_ticket.c cib_t * cib, pe_working_set_t * data_set) cib 383 tools/crm_ticket.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); cib 428 tools/crm_ticket.c rc = cib->cmds->replace(cib, XML_CIB_TAG_STATUS, ticket_state_xml, cib_options); cib 432 tools/crm_ticket.c rc = cib->cmds->modify(cib, XML_CIB_TAG_STATUS, xml_top, cib_options); cib 440 tools/crm_ticket.c delete_ticket_state(const char *ticket_id, cib_t * cib) cib 446 tools/crm_ticket.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); cib 457 tools/crm_ticket.c rc = cib->cmds->remove(cib, XML_CIB_TAG_STATUS, ticket_state_xml, cib_options);