Back to index

php5  5.3.10
internal_functions_win32.c
Go to the documentation of this file.
00001 /* 
00002        +----------------------------------------------------------------------+
00003        | PHP Version 5                                                        |
00004        +----------------------------------------------------------------------+
00005        | Copyright (c) 1997-2012 The PHP Group                                |
00006        +----------------------------------------------------------------------+
00007        | This source file is subject to version 3.01 of the PHP license,      |
00008        | that is bundled with this package in the file LICENSE, and is        |
00009        | available through the world-wide-web at the following url:           |
00010        | http://www.php.net/license/3_01.txt                                  |
00011        | If you did not receive a copy of the PHP license and are unable to   |
00012        | obtain it through the world-wide-web, please send a note to          |
00013        | license@php.net so we can mail you a copy immediately.               |
00014        +----------------------------------------------------------------------+
00015        | Authors: Andi Gutmans <andi@zend.com>                                |
00016        |          Zeev Suraski <zeev@zend.com>                                |
00017        +----------------------------------------------------------------------+
00018 */
00019 
00020 /* $Id: internal_functions_win32.c 321634 2012-01-01 13:15:04Z felipe $ */
00021 
00022 /* {{{ includes
00023  */
00024 #include "php.h"
00025 #include "php_main.h"
00026 #include "zend_modules.h"
00027 #include "zend_compile.h"
00028 #include <stdarg.h>
00029 #include <stdlib.h>
00030 #include <stdio.h>
00031 
00032 #ifndef ZEND_ENGINE_2
00033 #error HEAD does not work with ZendEngine1 anymore
00034 #endif
00035 
00036 #include "ext/standard/dl.h"
00037 #include "ext/standard/file.h"
00038 #include "ext/standard/fsock.h"
00039 #include "ext/standard/head.h"
00040 #include "ext/standard/pack.h"
00041 #include "ext/standard/php_browscap.h"
00042 #include "ext/standard/php_crypt.h"
00043 #include "ext/standard/php_dir.h"
00044 #include "ext/standard/php_filestat.h"
00045 #include "ext/standard/php_mail.h"
00046 #include "ext/standard/php_ext_syslog.h"
00047 #include "ext/standard/php_standard.h"
00048 #include "ext/standard/php_lcg.h"
00049 #include "ext/standard/php_array.h"
00050 #include "ext/standard/php_assert.h"
00051 #include "ext/reflection/php_reflection.h"
00052 #if HAVE_BCMATH
00053 #include "ext/bcmath/php_bcmath.h"
00054 #endif
00055 #if HAVE_CALENDAR
00056 #include "ext/calendar/php_calendar.h"
00057 #endif
00058 #if HAVE_CTYPE
00059 #include "ext/ctype/php_ctype.h"
00060 #endif
00061 #if HAVE_DATE
00062 #include "ext/date/php_date.h"
00063 #endif
00064 #if HAVE_FTP
00065 #include "ext/ftp/php_ftp.h"
00066 #endif
00067 #if HAVE_ICONV
00068 #include "ext/iconv/php_iconv.h"
00069 #endif
00070 #include "ext/standard/reg.h"
00071 #if HAVE_PCRE || HAVE_BUNDLED_PCRE
00072 #include "ext/pcre/php_pcre.h"
00073 #endif
00074 #if HAVE_UODBC
00075 #include "ext/odbc/php_odbc.h"
00076 #endif
00077 #if HAVE_PHP_SESSION
00078 #include "ext/session/php_session.h"
00079 #endif
00080 #if HAVE_MBSTRING
00081 #include "ext/mbstring/mbstring.h"
00082 #endif
00083 #if HAVE_TOKENIZER
00084 #include "ext/tokenizer/php_tokenizer.h"
00085 #endif
00086 #if HAVE_ZLIB
00087 #include "ext/zlib/php_zlib.h"
00088 #endif
00089 #if HAVE_LIBXML
00090 #include "ext/libxml/php_libxml.h"
00091 #if HAVE_DOM
00092 #include "ext/dom/php_dom.h"
00093 #endif
00094 #if HAVE_SIMPLEXML
00095 #include "ext/simplexml/php_simplexml.h"
00096 #endif
00097 #endif
00098 #if HAVE_XML
00099 #include "ext/xml/php_xml.h"
00100 #endif
00101 #if HAVE_XML && HAVE_WDDX
00102 #include "ext/wddx/php_wddx.h"
00103 #endif
00104 #ifdef HAVE_SQLITE
00105 #include "ext/sqlite/php_sqlite.h"
00106 #endif
00107 #include "ext/com_dotnet/php_com_dotnet.h"
00108 #ifdef HAVE_SPL
00109 #include "ext/spl/php_spl.h"
00110 #endif
00111 #if HAVE_XML && HAVE_XMLREADER
00112 #include "ext/xmlreader/php_xmlreader.h"
00113 #endif
00114 #if HAVE_XML && HAVE_XMLWRITER
00115 #include "ext/xmlwriter/php_xmlwriter.h"
00116 #endif
00117 /* }}} */
00118 
00119 /* {{{ php_builtin_extensions[]
00120  */
00121 static zend_module_entry *php_builtin_extensions[] = {
00122        phpext_standard_ptr
00123 #if HAVE_BCMATH
00124        ,phpext_bcmath_ptr
00125 #endif
00126 #if HAVE_CALENDAR
00127        ,phpext_calendar_ptr
00128 #endif
00129        ,phpext_com_dotnet_ptr
00130 #if HAVE_CTYPE
00131        ,phpext_ctype_ptr
00132 #endif
00133 #if HAVE_DATE
00134        ,phpext_date_ptr
00135 #endif
00136 #if HAVE_FTP
00137        ,phpext_ftp_ptr
00138 #endif
00139 #if HAVE_HASH
00140        ,phpext_hash_ptr
00141 #endif
00142 #if HAVE_ICONV
00143        ,phpext_iconv_ptr
00144 #endif
00145 #if HAVE_MBSTRING
00146        ,phpext_mbstring_ptr
00147 #endif
00148 #if HAVE_UODBC
00149        ,phpext_odbc_ptr
00150 #endif
00151 #if HAVE_PCRE || HAVE_BUNDLED_PCRE
00152        ,phpext_pcre_ptr
00153 #endif
00154        ,phpext_reflection_ptr
00155 #if HAVE_PHP_SESSION
00156        ,phpext_session_ptr
00157 #endif
00158 #if HAVE_TOKENIZER
00159        ,phpext_tokenizer_ptr
00160 #endif
00161 #if HAVE_ZLIB
00162        ,phpext_zlib_ptr
00163 #endif
00164 #if HAVE_LIBXML
00165        ,phpext_libxml_ptr
00166 #if HAVE_DOM
00167        ,phpext_dom_ptr
00168 #endif
00169 #if HAVE_SIMPLEXML
00170        ,phpext_simplexml_ptr
00171 #endif
00172 #endif
00173 #if HAVE_XML
00174        ,phpext_xml_ptr
00175 #endif
00176 #if HAVE_XML && HAVE_WDDX
00177        ,phpext_wddx_ptr
00178 #endif
00179 #if HAVE_SQLITE
00180        ,phpext_sqlite_ptr
00181 #endif
00182 #if HAVE_SPL
00183        ,phpext_spl_ptr
00184 #endif
00185 #if HAVE_XML && HAVE_XMLREADER
00186        ,phpext_xmlreader_ptr
00187 #endif
00188 #if HAVE_XML && HAVE_XMLWRITER
00189        ,phpext_xmlwriter_ptr
00190 #endif
00191 };
00192 /* }}} */
00193 
00194 #define EXTCOUNT (sizeof(php_builtin_extensions)/sizeof(zend_module_entry *))
00195        
00196 PHPAPI int php_register_internal_extensions(TSRMLS_D)
00197 {
00198        return php_register_extensions(php_builtin_extensions, EXTCOUNT TSRMLS_CC);
00199 }
00200 
00201 /*
00202  * Local variables:
00203  * tab-width: 4
00204  * c-basic-offset: 4
00205  * End:
00206  * vim600: sw=4 ts=4 fdm=marker
00207  * vim<600: sw=4 ts=4
00208  */