2003-08-01 00:22:43 +00:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2019-01-30 09:03:12 +00:00
|
|
|
| Copyright (c) The PHP Group |
|
2003-08-01 00:22:43 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2006-01-01 12:51:34 +00:00
|
|
|
| This source file is subject to version 3.01 of the PHP license, |
|
2003-08-01 00:22:43 +00:00
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
|
|
| available through the world-wide-web at the following url: |
|
2021-05-06 10:16:35 +00:00
|
|
|
| https://www.php.net/license/3_01.txt |
|
2003-08-01 00:22:43 +00:00
|
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
|
|
| license@php.net so we can mail you a copy immediately. |
|
|
|
|
+----------------------------------------------------------------------+
|
2003-12-14 06:02:33 +00:00
|
|
|
| Author: John Coggeshall <john@php.net> |
|
2003-08-01 00:22:43 +00:00
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
*/
|
|
|
|
|
|
|
|
#ifndef PHP_TIDY_H
|
|
|
|
#define PHP_TIDY_H
|
|
|
|
|
2008-01-27 15:04:41 +00:00
|
|
|
extern zend_module_entry tidy_module_entry;
|
2003-08-01 00:22:43 +00:00
|
|
|
#define phpext_tidy_ptr &tidy_module_entry
|
|
|
|
|
2015-03-23 20:30:22 +00:00
|
|
|
#include "php_version.h"
|
|
|
|
#define PHP_TIDY_VERSION PHP_VERSION
|
|
|
|
|
2003-08-01 00:22:43 +00:00
|
|
|
ZEND_BEGIN_MODULE_GLOBALS(tidy)
|
2003-09-20 19:45:32 +00:00
|
|
|
char *default_config;
|
2021-01-15 11:30:54 +00:00
|
|
|
bool clean_output;
|
2003-08-01 00:22:43 +00:00
|
|
|
ZEND_END_MODULE_GLOBALS(tidy)
|
|
|
|
|
2015-07-29 10:26:23 +00:00
|
|
|
#define TG(v) ZEND_MODULE_GLOBALS_ACCESSOR(tidy, v)
|
|
|
|
|
|
|
|
#if defined(ZTS) && defined(COMPILE_DL_TIDY)
|
2016-03-03 15:46:04 +00:00
|
|
|
ZEND_TSRMLS_CACHE_EXTERN()
|
2014-10-16 14:30:26 +00:00
|
|
|
#endif
|
2003-08-01 00:22:43 +00:00
|
|
|
|
|
|
|
#endif
|