1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-21 14:53:44 +03:00

io: Rework default callbacks

Register a dummy callback struct for default callbacks. Handle them in a
separate function which will later allow to return meaningful error
codes.
This commit is contained in:
Nick Wellnhofer
2023-12-19 13:33:59 +01:00
parent 531d06add6
commit b2dbcc432b
4 changed files with 245 additions and 315 deletions

View File

@@ -321,6 +321,7 @@ xmlOutputBufferPtr
#ifdef LIBXML_HTTP_ENABLED
/* This function only exists if HTTP support built into the library */
XML_DEPRECATED
XMLPUBFUN void
xmlRegisterHTTPPostCallbacks (void );
#endif /* LIBXML_HTTP_ENABLED */