root/main/internal_functions_win32.c

/* [<][>][^][v][top][bottom][index][help] */

DEFINITIONS

This source file includes following definitions.
  1. php_register_internal_extensions

   1 /*
   2         +----------------------------------------------------------------------+
   3         | PHP Version 7                                                        |
   4         +----------------------------------------------------------------------+
   5         | Copyright (c) 1997-2016 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$ */
  21 
  22 /* {{{ includes
  23  */
  24 #include "php.h"
  25 #include "php_main.h"
  26 #include "zend_modules.h"
  27 #include "zend_compile.h"
  28 #include <stdarg.h>
  29 #include <stdlib.h>
  30 #include <stdio.h>
  31 
  32 #include "ext/standard/dl.h"
  33 #include "ext/standard/file.h"
  34 #include "ext/standard/fsock.h"
  35 #include "ext/standard/head.h"
  36 #include "ext/standard/pack.h"
  37 #include "ext/standard/php_browscap.h"
  38 #include "ext/standard/php_crypt.h"
  39 #include "ext/standard/php_dir.h"
  40 #include "ext/standard/php_filestat.h"
  41 #include "ext/standard/php_mail.h"
  42 #include "ext/standard/php_ext_syslog.h"
  43 #include "ext/standard/php_standard.h"
  44 #include "ext/standard/php_lcg.h"
  45 #include "ext/standard/php_array.h"
  46 #include "ext/standard/php_assert.h"
  47 #include "ext/reflection/php_reflection.h"
  48 #if HAVE_BCMATH
  49 #include "ext/bcmath/php_bcmath.h"
  50 #endif
  51 #if HAVE_CALENDAR
  52 #include "ext/calendar/php_calendar.h"
  53 #endif
  54 #if HAVE_CTYPE
  55 #include "ext/ctype/php_ctype.h"
  56 #endif
  57 #if HAVE_DATE
  58 #include "ext/date/php_date.h"
  59 #endif
  60 #if HAVE_FTP
  61 #include "ext/ftp/php_ftp.h"
  62 #endif
  63 #if HAVE_ICONV
  64 #include "ext/iconv/php_iconv.h"
  65 #endif
  66 #include "ext/standard/reg.h"
  67 #if HAVE_PCRE || HAVE_BUNDLED_PCRE
  68 #include "ext/pcre/php_pcre.h"
  69 #endif
  70 #if HAVE_UODBC
  71 #include "ext/odbc/php_odbc.h"
  72 #endif
  73 #if HAVE_PHP_SESSION
  74 #include "ext/session/php_session.h"
  75 #endif
  76 #if HAVE_MBSTRING
  77 #include "ext/mbstring/mbstring.h"
  78 #endif
  79 #if HAVE_TOKENIZER
  80 #include "ext/tokenizer/php_tokenizer.h"
  81 #endif
  82 #if HAVE_ZLIB
  83 #include "ext/zlib/php_zlib.h"
  84 #endif
  85 #if HAVE_LIBXML
  86 #include "ext/libxml/php_libxml.h"
  87 #if HAVE_DOM
  88 #include "ext/dom/php_dom.h"
  89 #endif
  90 #if HAVE_SIMPLEXML
  91 #include "ext/simplexml/php_simplexml.h"
  92 #endif
  93 #endif
  94 #if HAVE_XML
  95 #include "ext/xml/php_xml.h"
  96 #endif
  97 #if HAVE_XML && HAVE_WDDX
  98 #include "ext/wddx/php_wddx.h"
  99 #endif
 100 #include "ext/com_dotnet/php_com_dotnet.h"
 101 #ifdef HAVE_SPL
 102 #include "ext/spl/php_spl.h"
 103 #endif
 104 #if HAVE_XML && HAVE_XMLREADER
 105 #include "ext/xmlreader/php_xmlreader.h"
 106 #endif
 107 #if HAVE_XML && HAVE_XMLWRITER
 108 #include "ext/xmlwriter/php_xmlwriter.h"
 109 #endif
 110 /* }}} */
 111 
 112 /* {{{ php_builtin_extensions[]
 113  */
 114 static zend_module_entry *php_builtin_extensions[] = {
 115         phpext_standard_ptr
 116 #if HAVE_BCMATH
 117         ,phpext_bcmath_ptr
 118 #endif
 119 #if HAVE_CALENDAR
 120         ,phpext_calendar_ptr
 121 #endif
 122         ,phpext_com_dotnet_ptr
 123 #if HAVE_CTYPE
 124         ,phpext_ctype_ptr
 125 #endif
 126 #if HAVE_DATE
 127         ,phpext_date_ptr
 128 #endif
 129 #if HAVE_FTP
 130         ,phpext_ftp_ptr
 131 #endif
 132 #if HAVE_HASH
 133         ,phpext_hash_ptr
 134 #endif
 135 #if HAVE_ICONV
 136         ,phpext_iconv_ptr
 137 #endif
 138 #if HAVE_MBSTRING
 139         ,phpext_mbstring_ptr
 140 #endif
 141 #if HAVE_UODBC
 142         ,phpext_odbc_ptr
 143 #endif
 144 #if HAVE_PCRE || HAVE_BUNDLED_PCRE
 145         ,phpext_pcre_ptr
 146 #endif
 147         ,phpext_reflection_ptr
 148 #if HAVE_PHP_SESSION
 149         ,phpext_session_ptr
 150 #endif
 151 #if HAVE_TOKENIZER
 152         ,phpext_tokenizer_ptr
 153 #endif
 154 #if HAVE_ZLIB
 155         ,phpext_zlib_ptr
 156 #endif
 157 #if HAVE_LIBXML
 158         ,phpext_libxml_ptr
 159 #if HAVE_DOM
 160         ,phpext_dom_ptr
 161 #endif
 162 #if HAVE_SIMPLEXML
 163         ,phpext_simplexml_ptr
 164 #endif
 165 #endif
 166 #if HAVE_XML
 167         ,phpext_xml_ptr
 168 #endif
 169 #if HAVE_XML && HAVE_WDDX
 170         ,phpext_wddx_ptr
 171 #endif
 172 #if HAVE_SPL
 173         ,phpext_spl_ptr
 174 #endif
 175 #if HAVE_XML && HAVE_XMLREADER
 176         ,phpext_xmlreader_ptr
 177 #endif
 178 #if HAVE_XML && HAVE_XMLWRITER
 179         ,phpext_xmlwriter_ptr
 180 #endif
 181 };
 182 /* }}} */
 183 
 184 #define EXTCOUNT (sizeof(php_builtin_extensions)/sizeof(zend_module_entry *))
 185 
 186 PHPAPI int php_register_internal_extensions(void)
 187 {
 188         return php_register_extensions(php_builtin_extensions, EXTCOUNT);
 189 }
 190 
 191 /*
 192  * Local variables:
 193  * tab-width: 4
 194  * c-basic-offset: 4
 195  * End:
 196  * vim600: sw=4 ts=4 fdm=marker
 197  * vim<600: sw=4 ts=4
 198  */

/* [<][>][^][v][top][bottom][index][help] */