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 :
20 : /* $Id: internal_functions.c.in,v 1.30.2.1.2.2 2007/01/01 19:32:09 iliaa Exp $ */
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/pcre/php_pcre.h"
31 : #include "ext/date/php_date.h"
32 : #include "ext/hash/php_hash.h"
33 : #include "ext/iconv/php_iconv.h"
34 : #include "ext/reflection/php_reflection.h"
35 : #include "ext/session/php_session.h"
36 : #include "ext/spl/php_spl.h"
37 : #include "ext/standard/php_standard.h"
38 : #include "ext/http/php_http.h"
39 :
40 :
41 : static zend_module_entry *php_builtin_extensions[] = {
42 : phpext_http_ptr,
43 : phpext_standard_ptr,
44 : phpext_pcre_ptr,
45 : phpext_spl_ptr,
46 : phpext_session_ptr,
47 : phpext_reflection_ptr,
48 : phpext_iconv_ptr,
49 : phpext_hash_ptr,
50 : phpext_date_ptr,
51 :
52 : };
53 :
54 : #define EXTCOUNT (sizeof(php_builtin_extensions)/sizeof(zend_module_entry *))
55 :
56 :
57 : int php_register_internal_extensions(TSRMLS_D)
58 1 : {
59 1 : return php_register_extensions(php_builtin_extensions, EXTCOUNT TSRMLS_CC);
60 : }
61 :
62 : /*
63 : * Local variables:
64 : * tab-width: 4
65 : * c-basic-offset: 4
66 : * End:
67 : */
|