From 052f9378b2cc5a3fffc3c7caad7a1df8a48ecd15 Mon Sep 17 00:00:00 2001 From: Shane Caraveo Date: Sun, 19 Oct 2003 23:17:56 +0000 Subject: add global init/shutdown functions for libxml. this is required as shutdown is not safe to call multiple times, and to make streams work correctly some init stuff has to happen in a specific order --- ext/libxml/php_libxml.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ext/libxml/php_libxml.h') diff --git a/ext/libxml/php_libxml.h b/ext/libxml/php_libxml.h index 095fa56c61..9db788496f 100644 --- a/ext/libxml/php_libxml.h +++ b/ext/libxml/php_libxml.h @@ -56,6 +56,9 @@ PHP_FUNCTION(libxml_set_streams_context); #define LIBXML(v) (libxml_globals.v) #endif +PHP_LIBXML_API void php_libxml_initialize(); +PHP_LIBXML_API void php_libxml_shutdown(); + #endif /* PHP_LIBXML_H */ /* -- cgit v1.2.1