Annotation of embedaddon/php/ext/standard/html.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: Rasmus Lerdorf <rasmus@lerdorf.on.ca>                        |
        !            16:    +----------------------------------------------------------------------+
        !            17: */
        !            18: 
        !            19: /* $Id: html.h 321634 2012-01-01 13:15:04Z felipe $ */
        !            20: 
        !            21: #ifndef HTML_H
        !            22: #define HTML_H
        !            23: 
        !            24: #define ENT_HTML_QUOTE_NONE            0
        !            25: #define ENT_HTML_QUOTE_SINGLE  1
        !            26: #define ENT_HTML_QUOTE_DOUBLE  2
        !            27: #define ENT_HTML_IGNORE_ERRORS 4
        !            28: 
        !            29: #define ENT_COMPAT    ENT_HTML_QUOTE_DOUBLE
        !            30: #define ENT_QUOTES    (ENT_HTML_QUOTE_DOUBLE | ENT_HTML_QUOTE_SINGLE)
        !            31: #define ENT_NOQUOTES  ENT_HTML_QUOTE_NONE
        !            32: #define ENT_IGNORE    ENT_HTML_IGNORE_ERRORS
        !            33: 
        !            34: void register_html_constants(INIT_FUNC_ARGS);
        !            35: 
        !            36: PHP_FUNCTION(htmlspecialchars);
        !            37: PHP_FUNCTION(htmlentities);
        !            38: PHP_FUNCTION(htmlspecialchars_decode);
        !            39: PHP_FUNCTION(html_entity_decode);
        !            40: PHP_FUNCTION(get_html_translation_table);
        !            41: 
        !            42: PHPAPI char *php_escape_html_entities(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset TSRMLS_DC);
        !            43: PHPAPI char *php_escape_html_entities_ex(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset, zend_bool double_encode TSRMLS_DC);
        !            44: PHPAPI char *php_unescape_html_entities(unsigned char *old, int oldlen, int *newlen, int all, int quote_style, char *hint_charset TSRMLS_DC);
        !            45: 
        !            46: #endif /* HTML_H */

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>