summaryrefslogtreecommitdiff
path: root/ext/tidy/php_tidy.h
diff options
context:
space:
mode:
authorJohn Coggeshall <john@php.net>2003-09-14 00:45:51 +0000
committerJohn Coggeshall <john@php.net>2003-09-14 00:45:51 +0000
commitce38ec2b2531daa9eea05988fbf564f5285e6b71 (patch)
treeb4436bd8f8e29a45bb6c1f73eff6011e96ed4188 /ext/tidy/php_tidy.h
parent576951c129bd3e71d82beba9ad2c25c903cb86a4 (diff)
downloadphp-git-ce38ec2b2531daa9eea05988fbf564f5285e6b71.tar.gz
Moved things around and added some #ifdefs so that the extension can be used
in PHP 4 (without the ZE2 tree parsing).
Diffstat (limited to 'ext/tidy/php_tidy.h')
-rw-r--r--ext/tidy/php_tidy.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/ext/tidy/php_tidy.h b/ext/tidy/php_tidy.h
index 9c2980bcf9..9ba85f4c86 100644
--- a/ext/tidy/php_tidy.h
+++ b/ext/tidy/php_tidy.h
@@ -113,6 +113,8 @@ PHP_FUNCTION(tidy_load_config_enc);
PHP_FUNCTION(tidy_set_encoding);
PHP_FUNCTION(tidy_save_config);
+#ifdef ZEND_ENGINE_2
+
PHP_FUNCTION(tidy_get_root);
PHP_FUNCTION(tidy_get_html);
PHP_FUNCTION(tidy_get_head);
@@ -155,6 +157,8 @@ zend_bool _php_tidy_attr_call_method(char *method, INTERNAL_FUNCTION_PARAMETERS)
zend_bool _php_tidy_node_call_method(char *method, INTERNAL_FUNCTION_PARAMETERS);
void _php_tidy_init_prop_hashtables();
+#endif
+
/* resource dtor */
void dtor_TidyDoc(zend_rsrc_list_entry * TSRMLS_DC);