1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-03-27 18:50:07 +03:00

catalog: Deprecate xmlCatalogSetDefaultPrefer

This commit is contained in:
Nick Wellnhofer 2024-07-02 21:05:22 +02:00
parent 606f410891
commit c127c89f98
2 changed files with 3 additions and 0 deletions

View File

@ -3461,6 +3461,8 @@ xmlCatalogSetDefaults(xmlCatalogAllow allow) {
* xmlCatalogSetDefaultPrefer:
* @prefer: the default preference for delegation
*
* DEPRECATED: This setting is global and not thread-safe.
*
* Allows to set the preference between public and system for deletion
* in XML Catalog resolution. C.f. section 4.1.1 of the spec
* Values accepted are XML_CATA_PREFER_PUBLIC or XML_CATA_PREFER_SYSTEM

View File

@ -161,6 +161,7 @@ XMLPUBFUN xmlChar *
*/
XMLPUBFUN int
xmlCatalogSetDebug (int level);
XML_DEPRECATED
XMLPUBFUN xmlCatalogPrefer
xmlCatalogSetDefaultPrefer(xmlCatalogPrefer prefer);
XMLPUBFUN void