known_schemas 63 lib/common/schemas.c static struct schema_s *known_schemas = NULL; known_schemas 100 lib/common/schemas.c if (known_schemas[lpc].version.v[0] known_schemas 101 lib/common/schemas.c < known_schemas[best].version.v[0]) { known_schemas 188 lib/common/schemas.c known_schemas = pcmk__realloc(known_schemas, known_schemas 190 lib/common/schemas.c CRM_ASSERT(known_schemas != NULL); known_schemas 191 lib/common/schemas.c memset(known_schemas+last, 0, sizeof(struct schema_s)); known_schemas 192 lib/common/schemas.c known_schemas[last].validator = validator; known_schemas 193 lib/common/schemas.c known_schemas[last].after_transform = after_transform; known_schemas 196 lib/common/schemas.c known_schemas[last].version.v[i] = version->v[i]; known_schemas 202 lib/common/schemas.c known_schemas[last].name = schema_strdup_printf("pacemaker-", *version, ""); known_schemas 205 lib/common/schemas.c schema_scanf(name, "%*[^-]-", known_schemas[last].version, ""); known_schemas 206 lib/common/schemas.c known_schemas[last].name = strdup(name); known_schemas 210 lib/common/schemas.c known_schemas[last].transform = strdup(transform); known_schemas 213 lib/common/schemas.c known_schemas[last].transform_enter = strdup(transform_enter); known_schemas 215 lib/common/schemas.c known_schemas[last].transform_onleave = transform_onleave; known_schemas 219 lib/common/schemas.c known_schemas[last].after_transform = after_transform; known_schemas 221 lib/common/schemas.c if (known_schemas[last].after_transform < 0) { known_schemas 223 lib/common/schemas.c last, known_schemas[last].name); known_schemas 225 lib/common/schemas.c } else if (known_schemas[last].transform) { known_schemas 227 lib/common/schemas.c last, known_schemas[last].name, known_schemas 228 lib/common/schemas.c known_schemas[last].after_transform, known_schemas 229 lib/common/schemas.c known_schemas[last].transform); known_schemas 233 lib/common/schemas.c last, known_schemas[last].name, known_schemas 234 lib/common/schemas.c known_schemas[last].after_transform); known_schemas 530 lib/common/schemas.c switch (known_schemas[lpc].validator) { known_schemas 534 lib/common/schemas.c ctx = (relaxng_ctx_cache_t *) known_schemas[lpc].cache; known_schemas 548 lib/common/schemas.c known_schemas[lpc].cache = NULL; known_schemas 551 lib/common/schemas.c free(known_schemas[lpc].name); known_schemas 552 lib/common/schemas.c free(known_schemas[lpc].transform); known_schemas 553 lib/common/schemas.c free(known_schemas[lpc].transform_enter); known_schemas 555 lib/common/schemas.c free(known_schemas); known_schemas 556 lib/common/schemas.c known_schemas = NULL; known_schemas 573 lib/common/schemas.c schema = &(known_schemas[method]); known_schemas 595 lib/common/schemas.c known_schemas[method].validator); known_schemas 697 lib/common/schemas.c known_schemas[lpc].name); known_schemas 698 lib/common/schemas.c crm_info("XML validated against %s", known_schemas[lpc].name); known_schemas 699 lib/common/schemas.c if(known_schemas[lpc].after_transform == 0) { known_schemas 963 lib/common/schemas.c return known_schemas[version].name; known_schemas 975 lib/common/schemas.c if (pcmk__str_eq(name, known_schemas[lpc].name, pcmk__str_casei)) { known_schemas 1027 lib/common/schemas.c known_schemas[lpc].name ? known_schemas[lpc].name : "<unset>", known_schemas 1033 lib/common/schemas.c known_schemas[lpc].name); known_schemas 1037 lib/common/schemas.c known_schemas[lpc].name ? known_schemas[lpc].name : "<unset>"); known_schemas 1048 lib/common/schemas.c known_schemas[next].name); known_schemas 1060 lib/common/schemas.c next = known_schemas[lpc].after_transform; known_schemas 1064 lib/common/schemas.c crm_trace("Stopping at %s", known_schemas[lpc].name); known_schemas 1069 lib/common/schemas.c known_schemas[lpc].name, lpc, next, max); known_schemas 1072 lib/common/schemas.c } else if (known_schemas[lpc].transform == NULL known_schemas 1080 lib/common/schemas.c known_schemas[lpc].name, known_schemas[next].name); known_schemas 1086 lib/common/schemas.c known_schemas[lpc].name, known_schemas[next].name, known_schemas 1087 lib/common/schemas.c known_schemas[lpc].transform); known_schemas 1089 lib/common/schemas.c upgrade = apply_upgrade(xml, &known_schemas[lpc], to_logs); known_schemas 1092 lib/common/schemas.c known_schemas[lpc].transform); known_schemas 1097 lib/common/schemas.c known_schemas[lpc].transform); known_schemas 1106 lib/common/schemas.c known_schemas[lpc].transform); known_schemas 1124 lib/common/schemas.c value ? value : "<none>", known_schemas[*best].name); known_schemas 1125 lib/common/schemas.c crm_xml_add(xml, XML_ATTR_VALIDATION, known_schemas[*best].name);