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

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