Back to index

php5  5.3.10
php_xmlwriter.h
Go to the documentation of this file.
00001 /*
00002   +----------------------------------------------------------------------+
00003   | PHP Version 5                                                        |
00004   +----------------------------------------------------------------------+
00005   | Copyright (c) 1997-2012 The PHP Group                                |
00006   +----------------------------------------------------------------------+
00007   | This source file is subject to version 3.01 of the PHP license,      |
00008   | that is bundled with this package in the file LICENSE, and is        |
00009   | available through the world-wide-web at the following url:           |
00010   | http://www.php.net/license/3_01.txt.                                 |
00011   | If you did not receive a copy of the PHP license and are unable to   |
00012   | obtain it through the world-wide-web, please send a note to          |
00013   | license@php.net so we can mail you a copy immediately.               |
00014   +----------------------------------------------------------------------+
00015   | Author: Rob Richards <rrichards@php.net>                             |
00016   |         Pierre-A. Joye <pajoye@php.net>                              |
00017   +----------------------------------------------------------------------+
00018 */
00019 
00020 /* $Id: php_xmlwriter.h 321634 2012-01-01 13:15:04Z felipe $ */
00021 
00022 #ifndef PHP_XMLWRITER_H
00023 #define PHP_XMLWRITER_H
00024 
00025 extern zend_module_entry xmlwriter_module_entry;
00026 #define phpext_xmlwriter_ptr &xmlwriter_module_entry
00027 
00028 #ifdef ZTS
00029 #include "TSRM.h"
00030 #endif
00031 
00032 #include <libxml/tree.h>
00033 #include <libxml/xmlwriter.h>
00034 #include <libxml/uri.h>
00035 
00036 /* Resource struct, not the object :) */
00037 typedef struct _xmlwriter_object {
00038        xmlTextWriterPtr ptr;
00039        xmlBufferPtr output;
00040 #ifndef ZEND_ENGINE_2
00041        xmlOutputBufferPtr uri_output;
00042 #endif
00043 } xmlwriter_object;
00044 
00045 
00046 /* Extends zend object */
00047 typedef struct _ze_xmlwriter_object {
00048        zend_object zo;
00049        xmlwriter_object *xmlwriter_ptr;
00050 } ze_xmlwriter_object;
00051 
00052 #endif /* PHP_XMLWRITER_H */
00053 
00054 /*
00055  * Local variables:
00056  * tab-width: 4
00057  * c-basic-offset: 4
00058  * End:
00059  * vim600: noet sw=4 ts=4 fdm=marker
00060  * vim<600: noet sw=4 ts=4
00061  */