1999-04-17 08:37:12 +08:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2004-01-09 01:33:29 +08:00
|
|
|
| PHP Version 5 |
|
1999-04-17 08:37:12 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2004-01-09 01:33:29 +08:00
|
|
|
| Copyright (c) 1997-2004 The PHP Group |
|
1999-04-17 08:37:12 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2003-06-11 04:04:29 +08:00
|
|
|
| This source file is subject to version 3.0 of the PHP license, |
|
2000-07-24 09:40:02 +08:00
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
2003-06-11 04:04:29 +08:00
|
|
|
| available through the world-wide-web at the following url: |
|
|
|
|
| http://www.php.net/license/3_0.txt. |
|
2000-07-24 09:40:02 +08: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. |
|
1999-04-17 08:37:12 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2002-02-28 16:29:35 +08:00
|
|
|
| Author: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
|
1999-04-17 08:37:12 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2000-07-24 09:40:02 +08:00
|
|
|
*/
|
1999-04-17 08:37:12 +08:00
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
2000-07-03 07:46:51 +08:00
|
|
|
#ifndef HTML_H
|
|
|
|
#define HTML_H
|
1999-04-17 08:37:12 +08:00
|
|
|
|
2002-03-16 05:03:08 +08:00
|
|
|
#define ENT_HTML_QUOTE_NONE 0
|
|
|
|
#define ENT_HTML_QUOTE_SINGLE 1
|
|
|
|
#define ENT_HTML_QUOTE_DOUBLE 2
|
|
|
|
|
|
|
|
#define ENT_COMPAT ENT_HTML_QUOTE_DOUBLE
|
|
|
|
#define ENT_QUOTES (ENT_HTML_QUOTE_DOUBLE | ENT_HTML_QUOTE_SINGLE)
|
|
|
|
#define ENT_NOQUOTES ENT_HTML_QUOTE_NONE
|
2001-04-26 04:14:29 +08:00
|
|
|
|
1999-11-21 21:25:04 +08:00
|
|
|
void register_html_constants(INIT_FUNC_ARGS);
|
|
|
|
|
1999-05-16 19:19:26 +08:00
|
|
|
PHP_FUNCTION(htmlspecialchars);
|
|
|
|
PHP_FUNCTION(htmlentities);
|
2005-03-08 03:37:27 +08:00
|
|
|
PHP_FUNCTION(htmlspecialchars_decode);
|
2002-03-16 05:03:08 +08:00
|
|
|
PHP_FUNCTION(html_entity_decode);
|
1999-11-21 21:25:04 +08:00
|
|
|
PHP_FUNCTION(get_html_translation_table);
|
1999-04-17 08:37:12 +08:00
|
|
|
|
2002-09-27 02:13:32 +08:00
|
|
|
PHPAPI char *php_escape_html_entities(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset TSRMLS_DC);
|
2000-02-29 12:38:14 +08:00
|
|
|
|
2000-07-03 07:46:51 +08:00
|
|
|
#endif /* HTML_H */
|