summaryrefslogtreecommitdiff
path: root/xmlIO.c
diff options
context:
space:
mode:
authorNick Wellnhofer <wellnhofer@aevum.de>2022-08-26 01:22:33 +0200
committerNick Wellnhofer <wellnhofer@aevum.de>2022-08-26 02:11:56 +0200
commit0f568c0b7376d5013a14e9186ec962b5aa033636 (patch)
tree286fc1f82577d02f78fc9242db8a510e91788f41 /xmlIO.c
parent48f84ea8ed3bcd9c096accfdc1e8c2d588a557a4 (diff)
downloadlibxml2-0f568c0b7376d5013a14e9186ec962b5aa033636.tar.gz
Consolidate private header files
Private functions were previously declared - in header files in the root directory - in public headers guarded with IN_LIBXML - in libxml.h - redundantly in source files that used them. Consolidate all private header files in include/private.
Diffstat (limited to 'xmlIO.c')
-rw-r--r--xmlIO.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/xmlIO.c b/xmlIO.c
index 16c29f57..dbd19446 100644
--- a/xmlIO.c
+++ b/xmlIO.c
@@ -66,8 +66,11 @@
#endif
#include <libxml/globals.h>
-#include "buf.h"
-#include "enc.h"
+#include "private/buf.h"
+#include "private/enc.h"
+#include "private/error.h"
+#include "private/io.h"
+#include "private/parser.h"
/* #define VERBOSE_FAILURE */
/* #define DEBUG_EXTERNAL_ENTITIES */
@@ -111,9 +114,6 @@ typedef struct _xmlOutputCallback {
static xmlOutputCallback xmlOutputCallbackTable[MAX_OUTPUT_CALLBACK];
static int xmlOutputCallbackNr = 0;
static int xmlOutputCallbackInitialized = 0;
-
-xmlOutputBufferPtr
-xmlAllocOutputBufferInternal(xmlCharEncodingHandlerPtr encoder);
#endif /* LIBXML_OUTPUT_ENABLED */
/************************************************************************
@@ -1266,7 +1266,7 @@ xmlGzfileClose (void * context) {
* I/O for compressed file accesses *
* *
************************************************************************/
-#include "xzlib.h"
+#include "private/xzlib.h"
/**
* xmlXzfileMatch:
* @filename: the URI for matching