10 #ifndef PCMK__CRM_COMMON_SCHEMAS_INTERNAL__H 11 #define PCMK__CRM_COMMON_SCHEMAS_INTERNAL__H 15 #include <libxml/relaxng.h> 16 #include <libxml/tree.h> 29 GList **already_included);
34 const char *schema2_name);
36 xmlRelaxNGValidityErrorFunc error_handler,
37 void *error_handler_context);
40 bool transform,
bool to_logs);
49 #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 pcmk__schema_init(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)
void pcmk__schema_cleanup(void)
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)