known_schemas 63 lib/common/schemas.c static struct schema_s *known_schemas = NULL; known_schemas 99 lib/common/schemas.c if (known_schemas[lpc].version.v[0] known_schemas 100 lib/common/schemas.c < known_schemas[best].version.v[0]) { known_schemas 187 lib/common/schemas.c known_schemas = pcmk__realloc(known_schemas, known_schemas 189 lib/common/schemas.c CRM_ASSERT(known_schemas != NULL); known_schemas 190 lib/common/schemas.c memset(known_schemas+last, 0, sizeof(struct schema_s)); known_schemas 191 lib/common/schemas.c known_schemas[last].validator = validator; known_schemas 192 lib/common/schemas.c known_schemas[last].after_transform = after_transform; known_schemas 195 lib/common/schemas.c known_schemas[last].version.v[i] = version->v[i]; known_schemas 201 lib/common/schemas.c known_schemas[last].name = schema_strdup_printf("pacemaker-", *version, ""); known_schemas 204 lib/common/schemas.c schema_scanf(name, "%*[^-]-", known_schemas[last].version, ""); known_schemas 205 lib/common/schemas.c known_schemas[last].name = strdup(name); known_schemas 209 lib/common/schemas.c known_schemas[last].transform = strdup(transform); known_schemas 212 lib/common/schemas.c known_schemas[last].transform_enter = strdup(transform_enter); known_schemas 214 lib/common/schemas.c known_schemas[last].transform_onleave = transform_onleave; known_schemas 218 lib/common/schemas.c known_schemas[last].after_transform = after_transform; known_schemas 220 lib/common/schemas.c if (known_schemas[last].after_transform < 0) { known_schemas 222 lib/common/schemas.c last, known_schemas[last].name); known_schemas 224 lib/common/schemas.c } else if (known_schemas[last].transform) { known_schemas 226 lib/common/schemas.c last, known_schemas[last].name, known_schemas 227 lib/common/schemas.c known_schemas[last].after_transform, known_schemas 228 lib/common/schemas.c known_schemas[last].transform); known_schemas 232 lib/common/schemas.c last, known_schemas[last].name, known_schemas 233 lib/common/schemas.c known_schemas[last].after_transform); known_schemas 559 lib/common/schemas.c switch (known_schemas[lpc].validator) { known_schemas 563 lib/common/schemas.c ctx = (relaxng_ctx_cache_t *) known_schemas[lpc].cache; known_schemas 577 lib/common/schemas.c known_schemas[lpc].cache = NULL; known_schemas 580 lib/common/schemas.c free(known_schemas[lpc].name); known_schemas 581 lib/common/schemas.c free(known_schemas[lpc].transform); known_schemas 582 lib/common/schemas.c free(known_schemas[lpc].transform_enter); known_schemas 584 lib/common/schemas.c free(known_schemas); known_schemas 585 lib/common/schemas.c known_schemas = NULL; known_schemas 601 lib/common/schemas.c if (known_schemas[method].validator == schema_validator_none) { known_schemas 608 lib/common/schemas.c known_schemas[method].name); known_schemas 611 lib/common/schemas.c crm_str(file), known_schemas[method].validator); known_schemas 612 lib/common/schemas.c switch (known_schemas[method].validator) { known_schemas 616 lib/common/schemas.c (relaxng_ctx_cache_t **) & (known_schemas[method].cache)); known_schemas 620 lib/common/schemas.c known_schemas[method].validator); known_schemas 714 lib/common/schemas.c known_schemas[lpc].name); known_schemas 715 lib/common/schemas.c crm_info("XML validated against %s", known_schemas[lpc].name); known_schemas 716 lib/common/schemas.c if(known_schemas[lpc].after_transform == 0) { known_schemas 1020 lib/common/schemas.c return known_schemas[version].name; known_schemas 1032 lib/common/schemas.c if (pcmk__str_eq(name, known_schemas[lpc].name, pcmk__str_casei)) { known_schemas 1081 lib/common/schemas.c known_schemas[lpc].name ? known_schemas[lpc].name : "<unset>", known_schemas 1087 lib/common/schemas.c known_schemas[lpc].name); known_schemas 1091 lib/common/schemas.c known_schemas[lpc].name ? known_schemas[lpc].name : "<unset>"); known_schemas 1102 lib/common/schemas.c known_schemas[next].name); known_schemas 1114 lib/common/schemas.c next = known_schemas[lpc].after_transform; known_schemas 1118 lib/common/schemas.c crm_trace("Stopping at %s", known_schemas[lpc].name); known_schemas 1123 lib/common/schemas.c known_schemas[lpc].name, lpc, next, max); known_schemas 1126 lib/common/schemas.c } else if (known_schemas[lpc].transform == NULL known_schemas 1134 lib/common/schemas.c known_schemas[lpc].name, known_schemas[next].name); known_schemas 1140 lib/common/schemas.c known_schemas[lpc].name, known_schemas[next].name, known_schemas 1141 lib/common/schemas.c known_schemas[lpc].transform); known_schemas 1143 lib/common/schemas.c upgrade = apply_upgrade(xml, &known_schemas[lpc], to_logs); known_schemas 1146 lib/common/schemas.c known_schemas[lpc].transform); known_schemas 1151 lib/common/schemas.c known_schemas[lpc].transform); known_schemas 1160 lib/common/schemas.c known_schemas[lpc].transform); known_schemas 1178 lib/common/schemas.c value ? value : "<none>", known_schemas[*best].name); known_schemas 1179 lib/common/schemas.c crm_xml_add(xml, XML_ATTR_VALIDATION, known_schemas[*best].name);