1999-04-17 00:37:12 +00:00
|
|
|
/*
|
|
|
|
+----------------------------------------------------------------------+
|
2004-01-08 17:33:29 +00:00
|
|
|
| PHP Version 5 |
|
1999-04-17 00:37:12 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2006-01-01 12:51:34 +00:00
|
|
|
| Copyright (c) 1997-2006 The PHP Group |
|
1999-04-17 00:37:12 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2006-01-01 12:51:34 +00:00
|
|
|
| This source file is subject to version 3.01 of the PHP license, |
|
2000-07-24 01:40:02 +00:00
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
2003-06-10 20:04:29 +00:00
|
|
|
| available through the world-wide-web at the following url: |
|
2006-01-01 12:51:34 +00:00
|
|
|
| http://www.php.net/license/3_01.txt |
|
2000-07-24 01:40:02 +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. |
|
1999-04-17 00:37:12 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2002-02-28 08:29:35 +00:00
|
|
|
| Author: Rasmus Lerdorf <rasmus@lerdorf.on.ca> |
|
1999-04-17 00:37:12 +00:00
|
|
|
+----------------------------------------------------------------------+
|
2000-07-24 01:40:02 +00:00
|
|
|
*/
|
1999-04-17 00:37:12 +00:00
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
2000-07-02 23:46:51 +00:00
|
|
|
#ifndef HTML_H
|
|
|
|
#define HTML_H
|
1999-04-17 00:37:12 +00:00
|
|
|
|
2002-03-15 21:03:08 +00: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-25 20:14:29 +00:00
|
|
|
|
1999-11-21 13:25:04 +00:00
|
|
|
void register_html_constants(INIT_FUNC_ARGS);
|
|
|
|
|
1999-05-16 11:19:26 +00:00
|
|
|
PHP_FUNCTION(htmlspecialchars);
|
|
|
|
PHP_FUNCTION(htmlentities);
|
2005-03-07 19:37:27 +00:00
|
|
|
PHP_FUNCTION(htmlspecialchars_decode);
|
2002-03-15 21:03:08 +00:00
|
|
|
PHP_FUNCTION(html_entity_decode);
|
1999-11-21 13:25:04 +00:00
|
|
|
PHP_FUNCTION(get_html_translation_table);
|
1999-04-17 00:37:12 +00:00
|
|
|
|
2002-09-26 18:13:32 +00: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 04:38:14 +00:00
|
|
|
|
2000-07-02 23:46:51 +00:00
|
|
|
#endif /* HTML_H */
|