10 #ifndef PCMK__SCHEMAS_INTERNAL__H 11 #define PCMK__SCHEMAS_INTERNAL__H 14 #include <libxml/tree.h> 23 GList **already_included);
28 const char *schema2_name);
30 xmlRelaxNGValidityErrorFunc error_handler,
31 void *error_handler_context);
34 bool transform,
bool to_logs);
39 #endif // PCMK__SCHEMAS_INTERNAL__H int pcmk__cmp_schemas_by_name(const char *schema1_name, const char *schema2_name)
int pcmk__update_configured_schema(xmlNode **xml, bool to_logs)
Update XML from its configured schema to the latest major series.
void crm_schema_init(void)
void crm_schema_cleanup(void)
void pcmk__sort_schemas(void)
bool pcmk__validate_xml(xmlNode *xml_blob, const char *validation, xmlRelaxNGValidityErrorFunc error_handler, void *error_handler_context)
GList * pcmk__get_schema(const char *name)
int pcmk__update_schema(xmlNode **xml, const char *max_schema_name, bool transform, bool to_logs)
Update CIB XML to latest schema that validates it.
GList * pcmk__schema_files_later_than(const char *name)
const char * pcmk__remote_schema_dir(void)
void pcmk__build_schema_xml_node(xmlNode *parent, const char *name, GList **already_included)
bool pcmk__configured_schema_validates(xmlNode *xml)
void pcmk__warn_if_schema_deprecated(const char *schema)
void pcmk__load_schemas_from_dir(const char *dir)
const char * pcmk__highest_schema_name(void)