Annotation of embedaddon/php/main/internal_functions_cli.c, revision 1.1.1.1.2.1

1.1       misho       1: /* -*- C -*-
                      2:    +----------------------------------------------------------------------+
                      3:    | PHP Version 5                                                        |
                      4:    +----------------------------------------------------------------------+
                      5:    | Copyright (c) 1997-2007 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:    | Authors: Andi Gutmans <andi@zend.com>                                |
                     16:    |          Zeev Suraski <zeev@zend.com>                                |
                     17:    +----------------------------------------------------------------------+
                     18:  */
                     19: 
1.1.1.1.2.1! misho      20: /* $Id: internal_functions.c.in,v 1.1.1.2 2012/05/29 12:34:35 misho Exp $ */
1.1       misho      21: 
                     22: #include "php.h"
                     23: #include "php_main.h"
                     24: #include "zend_modules.h"
                     25: #include "zend_compile.h"
                     26: #include <stdarg.h>
                     27: #include <stdlib.h>
                     28: #include <stdio.h>
                     29: 
                     30: #include "ext/date/php_date.h"
                     31: #include "ext/ereg/php_ereg.h"
                     32: #include "ext/libxml/php_libxml.h"
1.1.1.1.2.1! misho      33: #include "ext/openssl/php_openssl.h"
1.1       misho      34: #include "ext/pcre/php_pcre.h"
                     35: #include "ext/reflection/php_reflection.h"
                     36: #include "ext/spl/php_spl.h"
                     37: #include "ext/standard/php_standard.h"
1.1.1.1.2.1! misho      38: #include "ext/xml/php_xml.h"
        !            39: #include "ext/zip/php_zip.h"
1.1       misho      40: 
                     41: 
                     42: static zend_module_entry *php_builtin_extensions[] = {
                     43:        phpext_date_ptr,
                     44:        phpext_ereg_ptr,
                     45:        phpext_libxml_ptr,
1.1.1.1.2.1! misho      46:        phpext_openssl_ptr,
1.1       misho      47:        phpext_pcre_ptr,
                     48:        phpext_reflection_ptr,
                     49:        phpext_spl_ptr,
                     50:        phpext_standard_ptr,
1.1.1.1.2.1! misho      51:        phpext_xml_ptr,
        !            52:        phpext_zip_ptr,
1.1       misho      53: 
                     54: };
                     55: 
                     56: #define EXTCOUNT (sizeof(php_builtin_extensions)/sizeof(zend_module_entry *))
                     57: 
                     58: PHPAPI int php_register_internal_extensions(TSRMLS_D)
                     59: {
                     60:        return php_register_extensions(php_builtin_extensions, EXTCOUNT TSRMLS_CC);
                     61: }
                     62: 
                     63: /*
                     64:  * Local variables:
                     65:  * tab-width: 4
                     66:  * c-basic-offset: 4
                     67:  * End:
                     68:  */

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