ticket_id 250 include/crm/pengine/internal.h extern ticket_t *ticket_new(const char *ticket_id, pe_working_set_t * data_set); ticket_id 845 lib/pengine/unpack.c const char *ticket_id = NULL; ticket_id 853 lib/pengine/unpack.c ticket_id = ID(xml_ticket); ticket_id 854 lib/pengine/unpack.c if (ticket_id == NULL || strlen(ticket_id) == 0) { ticket_id 858 lib/pengine/unpack.c crm_trace("Processing ticket state for %s", ticket_id); ticket_id 860 lib/pengine/unpack.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 862 lib/pengine/unpack.c ticket = ticket_new(ticket_id, data_set); ticket_id 902 lib/pengine/unpack.c crm_trace("Done with ticket state for %s", ticket_id); ticket_id 935 lib/pengine/unpack.c const char *ticket_id = NULL; ticket_id 952 lib/pengine/unpack.c ticket_id = long_key + granted_prefix_strlen; ticket_id 953 lib/pengine/unpack.c if (strlen(ticket_id)) { ticket_id 958 lib/pengine/unpack.c ticket_id = long_key + last_granted_prefix_strlen; ticket_id 959 lib/pengine/unpack.c if (strlen(ticket_id)) { ticket_id 964 lib/pengine/unpack.c ticket_id = sep + 1; ticket_id 968 lib/pengine/unpack.c if (ticket_id == NULL || strlen(ticket_id) == 0) { ticket_id 978 lib/pengine/unpack.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 980 lib/pengine/unpack.c ticket = ticket_new(ticket_id, data_set); ticket_id 1807 lib/pengine/utils.c ticket_new(const char *ticket_id, pe_working_set_t * data_set) ticket_id 1811 lib/pengine/utils.c if (ticket_id == NULL || strlen(ticket_id) == 0) { ticket_id 1820 lib/pengine/utils.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 1825 lib/pengine/utils.c crm_err("Cannot allocate ticket '%s'", ticket_id); ticket_id 1829 lib/pengine/utils.c crm_trace("Creaing ticket entry for %s", ticket_id); ticket_id 1831 lib/pengine/utils.c ticket->id = strdup(ticket_id); ticket_id 47 tools/crm_ticket.c const char *ticket_id = NULL; ticket_id 66 tools/crm_ticket.c find_ticket(const char *ticket_id, pe_working_set_t * data_set) ticket_id 70 tools/crm_ticket.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 156 tools/crm_ticket.c find_ticket_state(cib_t * the_cib, const char *ticket_id, xmlNode ** ticket_state_xml) ticket_id 170 tools/crm_ticket.c if (ticket_id) { ticket_id 172 tools/crm_ticket.c XML_CIB_TAG_TICKET_STATE, ticket_id); ticket_id 185 tools/crm_ticket.c if (ticket_id) { ticket_id 186 tools/crm_ticket.c fprintf(stdout, "Multiple ticket_states match ticket_id=%s\n", ticket_id); ticket_id 199 tools/crm_ticket.c find_ticket_constraints(cib_t * the_cib, const char *ticket_id, xmlNode ** ticket_cons_xml) ticket_id 215 tools/crm_ticket.c if (ticket_id) { ticket_id 217 tools/crm_ticket.c ticket_id); ticket_id 237 tools/crm_ticket.c dump_ticket_xml(cib_t * the_cib, const char *ticket_id) ticket_id 242 tools/crm_ticket.c rc = find_ticket_state(the_cib, ticket_id, &state_xml); ticket_id 262 tools/crm_ticket.c dump_constraints(cib_t * the_cib, const char *ticket_id) ticket_id 268 tools/crm_ticket.c rc = find_ticket_constraints(the_cib, ticket_id, &cons_xml); ticket_id 283 tools/crm_ticket.c find_ticket_state_attr_legacy(cib_t * the_cib, const char *attr, const char *ticket_id, ticket_id 320 tools/crm_ticket.c long_key = crm_concat(attr_prefix, ticket_id, '-'); ticket_id 366 tools/crm_ticket.c delete_ticket_state_attr_legacy(const char *ticket_id, const char *set_name, const char *attr_id, ticket_id 374 tools/crm_ticket.c rc = find_ticket_state_attr_legacy(cib, XML_ATTR_ID, ticket_id, XML_TAG_ATTR_SETS, set_name, ticket_id 394 tools/crm_ticket.c fprintf(stdout, "Deleted legacy %s state attribute: id=%s%s%s%s%s\n", ticket_id, ticket_id 405 tools/crm_ticket.c get_ticket_state_attr(const char *ticket_id, const char *attr_name, const char **attr_value, ticket_id 413 tools/crm_ticket.c ticket = g_hash_table_lookup(data_set->tickets, ticket_id); ticket_id 427 tools/crm_ticket.c ticket_warning(const char *ticket_id, const char *action) ticket_id 440 tools/crm_ticket.c ticket_id); ticket_id 446 tools/crm_ticket.c ticket_id, ticket_id); ticket_id 450 tools/crm_ticket.c ticket_id); ticket_id 454 tools/crm_ticket.c ticket_id, ticket_id, ticket_id); ticket_id 460 tools/crm_ticket.c action, ticket_id, word); ticket_id 473 tools/crm_ticket.c allow_modification(const char *ticket_id, GListPtr attr_delete, ticket_id 485 tools/crm_ticket.c ticket_warning(ticket_id, "grant"); ticket_id 489 tools/crm_ticket.c ticket_warning(ticket_id, "revoke"); ticket_id 498 tools/crm_ticket.c ticket_warning(ticket_id, "revoke"); ticket_id 507 tools/crm_ticket.c modify_ticket_state(const char * ticket_id, GListPtr attr_delete, GHashTable * attr_set, ticket_id 526 tools/crm_ticket.c delete_ticket_state_attr_legacy(ticket_id, set_name, attr_id, key, cib); ticket_id 529 tools/crm_ticket.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); ticket_id 531 tools/crm_ticket.c crm_debug("Found a match state for ticket: id=%s", ticket_id); ticket_id 547 tools/crm_ticket.c crm_xml_add(ticket_state_xml, XML_ATTR_ID, ticket_id); ticket_id 555 tools/crm_ticket.c ticket = find_ticket(ticket_id, data_set); ticket_id 590 tools/crm_ticket.c delete_ticket_state_attr_legacy(ticket_id, set_name, attr_id, key, cib); ticket_id 594 tools/crm_ticket.c delete_ticket_state_attr_legacy(ticket_id, set_name, attr_id, "last-granted", cib); ticket_id 601 tools/crm_ticket.c delete_ticket_state(const char *ticket_id, cib_t * cib) ticket_id 607 tools/crm_ticket.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); ticket_id 621 tools/crm_ticket.c fprintf(stdout, "Cleaned up %s\n", ticket_id); ticket_id 745 tools/crm_ticket.c ticket_id = optarg; ticket_id 889 tools/crm_ticket.c if (ticket_id) { ticket_id 890 tools/crm_ticket.c ticket_t *ticket = find_ticket(ticket_id, &data_set); ticket_id 903 tools/crm_ticket.c rc = dump_ticket_xml(cib_conn, ticket_id); ticket_id 906 tools/crm_ticket.c rc = dump_constraints(cib_conn, ticket_id); ticket_id 911 tools/crm_ticket.c if (ticket_id == NULL) { ticket_id 917 tools/crm_ticket.c rc = get_ticket_state_attr(ticket_id, get_attr_name, &value, &data_set); ticket_id 926 tools/crm_ticket.c if (ticket_id == NULL) { ticket_id 935 tools/crm_ticket.c ticket = find_ticket(ticket_id, &data_set); ticket_id 942 tools/crm_ticket.c ticket_warning(ticket_id, "revoke"); ticket_id 948 tools/crm_ticket.c rc = delete_ticket_state(ticket_id, cib_conn); ticket_id 951 tools/crm_ticket.c if (ticket_id == NULL) { ticket_id 971 tools/crm_ticket.c if (allow_modification(ticket_id, attr_delete, attr_set) == FALSE) { ticket_id 976 tools/crm_ticket.c rc = modify_ticket_state(ticket_id, attr_delete, attr_set, cib_conn, &data_set); ticket_id 983 tools/crm_ticket.c if (ticket_id == NULL) { ticket_id 338 tools/fake_transition.c find_ticket_state(cib_t * the_cib, const char *ticket_id, xmlNode ** ticket_state_xml) ticket_id 352 tools/fake_transition.c if (ticket_id) { ticket_id 354 tools/fake_transition.c XML_CIB_TAG_TICKET_STATE, ticket_id); ticket_id 366 tools/fake_transition.c if (ticket_id) { ticket_id 367 tools/fake_transition.c fprintf(stdout, "Multiple ticket_states match ticket_id=%s\n", ticket_id); ticket_id 380 tools/fake_transition.c set_ticket_state_attr(const char *ticket_id, const char *attr_name, ticket_id 387 tools/fake_transition.c rc = find_ticket_state(cib, ticket_id, &ticket_state_xml); ticket_id 389 tools/fake_transition.c crm_debug("Found a match state for ticket: id=%s", ticket_id); ticket_id 401 tools/fake_transition.c crm_xml_add(ticket_state_xml, XML_ATTR_ID, ticket_id); ticket_id 503 tools/fake_transition.c char *ticket_id = (char *)gIter->data; ticket_id 505 tools/fake_transition.c quiet_log(" + Granting ticket %s\n", ticket_id); ticket_id 506 tools/fake_transition.c rc = set_ticket_state_attr(ticket_id, "granted", "true", ticket_id 513 tools/fake_transition.c char *ticket_id = (char *)gIter->data; ticket_id 515 tools/fake_transition.c quiet_log(" + Revoking ticket %s\n", ticket_id); ticket_id 516 tools/fake_transition.c rc = set_ticket_state_attr(ticket_id, "granted", "false", ticket_id 523 tools/fake_transition.c char *ticket_id = (char *)gIter->data; ticket_id 525 tools/fake_transition.c quiet_log(" + Making ticket %s standby\n", ticket_id); ticket_id 526 tools/fake_transition.c rc = set_ticket_state_attr(ticket_id, "standby", "true", ticket_id 533 tools/fake_transition.c char *ticket_id = (char *)gIter->data; ticket_id 535 tools/fake_transition.c quiet_log(" + Activating ticket %s\n", ticket_id); ticket_id 536 tools/fake_transition.c rc = set_ticket_state_attr(ticket_id, "standby", "false",