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 226204 2007-01-01 19:32:10Z iliaa $ */
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/libxml/php_libxml.h"
32 : #include "ext/openssl/php_openssl.h"
33 : #include "ext/pcre/php_pcre.h"
34 : #include "ext/zlib/php_zlib.h"
35 : #include "ext/bcmath/php_bcmath.h"
36 : #include "ext/bz2/php_bz2.h"
37 : #include "ext/calendar/php_calendar.h"
38 : #include "ext/ctype/php_ctype.h"
39 : #include "ext/curl/php_curl.h"
40 : #include "ext/dba/php_dba.h"
41 : #include "ext/dbase/php_dbase.h"
42 : #include "ext/dom/php_dom.h"
43 : #include "ext/exif/php_exif.h"
44 : #include "ext/filter/php_filter.h"
45 : #include "ext/ftp/php_ftp.h"
46 : #include "ext/gd/php_gd.h"
47 : #include "ext/gmp/php_gmp.h"
48 : #include "ext/hash/php_hash.h"
49 : #include "ext/iconv/php_iconv.h"
50 : #include "ext/imap/php_imap.h"
51 : #include "ext/json/php_json.h"
52 : #include "ext/ldap/php_ldap.h"
53 : #include "ext/mbstring/mbstring.h"
54 : #include "ext/mcrypt/php_mcrypt.h"
55 : #include "ext/mysql/php_mysql.h"
56 : #include "ext/mysql/php_mysql_structs.h"
57 : #include "ext/mysqli/php_mysqli.h"
58 : #include "ext/ncurses/php_ncurses.h"
59 : #include "ext/oci8/php_oci8.h"
60 : #include "ext/pcntl/php_pcntl.h"
61 : #include "ext/pdo/php_pdo.h"
62 : #include "ext/pdo_mysql/php_pdo_mysql.h"
63 : #include "ext/pdo_oci/php_pdo_oci.h"
64 : #include "ext/pdo_pgsql/php_pdo_pgsql.h"
65 : #include "ext/pdo_sqlite/php_pdo_sqlite.h"
66 : #include "ext/pgsql/php_pgsql.h"
67 : #include "ext/posix/php_posix.h"
68 : #include "ext/pspell/php_pspell.h"
69 : #include "ext/reflection/php_reflection.h"
70 : #include "ext/session/php_session.h"
71 : #include "ext/shmop/php_shmop.h"
72 : #include "ext/simplexml/php_simplexml.h"
73 : #include "ext/snmp/php_snmp.h"
74 : #include "ext/soap/php_soap.h"
75 : #include "ext/sockets/php_sockets.h"
76 : #include "ext/spl/php_spl.h"
77 : #include "ext/sqlite/php_sqlite.h"
78 : #include "ext/standard/php_standard.h"
79 : #include "ext/sysvmsg/php_sysvmsg.h"
80 : #include "ext/sysvsem/php_sysvsem.h"
81 : #include "ext/sysvshm/php_sysvshm.h"
82 : #include "ext/tidy/php_tidy.h"
83 : #include "ext/tokenizer/php_tokenizer.h"
84 : #include "ext/wddx/php_wddx.h"
85 : #include "ext/xml/php_xml.h"
86 : #include "ext/xmlreader/php_xmlreader.h"
87 : #include "ext/xmlrpc/php_xmlrpc.h"
88 : #include "ext/xmlwriter/php_xmlwriter.h"
89 : #include "ext/xsl/php_xsl.h"
90 : #include "ext/zip/php_zip.h"
91 :
92 :
93 : static zend_module_entry *php_builtin_extensions[] = {
94 : phpext_date_ptr,
95 : phpext_libxml_ptr,
96 : phpext_openssl_ptr,
97 : phpext_pcre_ptr,
98 : phpext_zlib_ptr,
99 : phpext_bcmath_ptr,
100 : phpext_bz2_ptr,
101 : phpext_calendar_ptr,
102 : phpext_ctype_ptr,
103 : phpext_curl_ptr,
104 : phpext_dba_ptr,
105 : phpext_dbase_ptr,
106 : phpext_dom_ptr,
107 : phpext_exif_ptr,
108 : phpext_filter_ptr,
109 : phpext_ftp_ptr,
110 : phpext_gd_ptr,
111 : phpext_gmp_ptr,
112 : phpext_hash_ptr,
113 : phpext_iconv_ptr,
114 : phpext_imap_ptr,
115 : phpext_json_ptr,
116 : phpext_ldap_ptr,
117 : phpext_mbstring_ptr,
118 : phpext_mcrypt_ptr,
119 : phpext_mysql_ptr,
120 : phpext_mysqli_ptr,
121 : phpext_ncurses_ptr,
122 : phpext_oci8_ptr,
123 : phpext_pcntl_ptr,
124 : phpext_spl_ptr,
125 : phpext_pdo_ptr,
126 : phpext_pdo_mysql_ptr,
127 : phpext_pdo_oci_ptr,
128 : phpext_pdo_pgsql_ptr,
129 : phpext_pdo_sqlite_ptr,
130 : phpext_pgsql_ptr,
131 : phpext_posix_ptr,
132 : phpext_pspell_ptr,
133 : phpext_reflection_ptr,
134 : phpext_session_ptr,
135 : phpext_shmop_ptr,
136 : phpext_simplexml_ptr,
137 : phpext_snmp_ptr,
138 : phpext_soap_ptr,
139 : phpext_sockets_ptr,
140 : phpext_sqlite_ptr,
141 : phpext_standard_ptr,
142 : phpext_sysvmsg_ptr,
143 : phpext_sysvsem_ptr,
144 : phpext_sysvshm_ptr,
145 : phpext_tidy_ptr,
146 : phpext_tokenizer_ptr,
147 : phpext_wddx_ptr,
148 : phpext_xml_ptr,
149 : phpext_xmlreader_ptr,
150 : phpext_xmlrpc_ptr,
151 : phpext_xmlwriter_ptr,
152 : phpext_xsl_ptr,
153 : phpext_zip_ptr,
154 :
155 : };
156 :
157 : #define EXTCOUNT (sizeof(php_builtin_extensions)/sizeof(zend_module_entry *))
158 :
159 :
160 : int php_register_internal_extensions(TSRMLS_D)
161 98 : {
162 98 : return php_register_extensions(php_builtin_extensions, EXTCOUNT TSRMLS_CC);
163 : }
164 :
165 : /*
166 : * Local variables:
167 : * tab-width: 4
168 : * c-basic-offset: 4
169 : * End:
170 : */
|