Annotation of embedaddon/php/ext/xmlwriter/php_xmlwriter.h, revision 1.1
1.1 ! misho 1: /*
! 2: +----------------------------------------------------------------------+
! 3: | PHP Version 5 |
! 4: +----------------------------------------------------------------------+
! 5: | Copyright (c) 1997-2012 The PHP Group |
! 6: +----------------------------------------------------------------------+
! 7: | This source file is subject to version 3.01 of the PHP license, |
! 8: | that is bundled with this package in the file LICENSE, and is |
! 9: | available through the world-wide-web at the following url: |
! 10: | http://www.php.net/license/3_01.txt. |
! 11: | If you did not receive a copy of the PHP license and are unable to |
! 12: | obtain it through the world-wide-web, please send a note to |
! 13: | license@php.net so we can mail you a copy immediately. |
! 14: +----------------------------------------------------------------------+
! 15: | Author: Rob Richards <rrichards@php.net> |
! 16: | Pierre-A. Joye <pajoye@php.net> |
! 17: +----------------------------------------------------------------------+
! 18: */
! 19:
! 20: /* $Id: php_xmlwriter.h 321634 2012-01-01 13:15:04Z felipe $ */
! 21:
! 22: #ifndef PHP_XMLWRITER_H
! 23: #define PHP_XMLWRITER_H
! 24:
! 25: extern zend_module_entry xmlwriter_module_entry;
! 26: #define phpext_xmlwriter_ptr &xmlwriter_module_entry
! 27:
! 28: #ifdef ZTS
! 29: #include "TSRM.h"
! 30: #endif
! 31:
! 32: #include <libxml/tree.h>
! 33: #include <libxml/xmlwriter.h>
! 34: #include <libxml/uri.h>
! 35:
! 36: /* Resource struct, not the object :) */
! 37: typedef struct _xmlwriter_object {
! 38: xmlTextWriterPtr ptr;
! 39: xmlBufferPtr output;
! 40: #ifndef ZEND_ENGINE_2
! 41: xmlOutputBufferPtr uri_output;
! 42: #endif
! 43: } xmlwriter_object;
! 44:
! 45:
! 46: /* Extends zend object */
! 47: typedef struct _ze_xmlwriter_object {
! 48: zend_object zo;
! 49: xmlwriter_object *xmlwriter_ptr;
! 50: } ze_xmlwriter_object;
! 51:
! 52: #endif /* PHP_XMLWRITER_H */
! 53:
! 54: /*
! 55: * Local variables:
! 56: * tab-width: 4
! 57: * c-basic-offset: 4
! 58: * End:
! 59: * vim600: noet sw=4 ts=4 fdm=marker
! 60: * vim<600: noet sw=4 ts=4
! 61: */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>