diff options
author | Shane Caraveo <shane@php.net> | 2003-10-19 23:17:56 +0000 |
---|---|---|
committer | Shane Caraveo <shane@php.net> | 2003-10-19 23:17:56 +0000 |
commit | 052f9378b2cc5a3fffc3c7caad7a1df8a48ecd15 (patch) | |
tree | bfcecebe5fdb99d7d9acd95b8f0cafc0bae9965b /ext/libxml/php_libxml.h | |
parent | 399095e7a5c3cc6a288c137b290db04bc9ed17b8 (diff) | |
download | php-git-052f9378b2cc5a3fffc3c7caad7a1df8a48ecd15.tar.gz |
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
Diffstat (limited to 'ext/libxml/php_libxml.h')
-rw-r--r-- | ext/libxml/php_libxml.h | 3 |
1 files changed, 3 insertions, 0 deletions
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 */ /* |