internal_functions_nw.c 3.3 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100
  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. | Modified for NetWare: Novell, Inc. |
  18. +----------------------------------------------------------------------+
  19. */
  20. /* $Id$ */
  21. /* {{{ includes
  22. */
  23. #include "php.h"
  24. #include "php_main.h"
  25. #include "zend_modules.h"
  26. #include "zend_compile.h"
  27. #include <stdarg.h>
  28. #include <stdlib.h>
  29. #include <stdio.h>
  30. #include "ext/bcmath/php_bcmath.h"
  31. #include "ext/gd/php_gd.h"
  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/calendar/php_calendar.h"
  48. /*#include "ext/com/php_COM.h"
  49. #include "ext/com/php_VARIANT.h"*/
  50. #include "ext/ftp/php_ftp.h"
  51. #include "ext/standard/reg.h"
  52. #include "ext/pcre/php_pcre.h"
  53. /*#include "ext/odbc/php_odbc.h"*/ /* Commented out for now */
  54. #include "ext/session/php_session.h"
  55. /*#include "ext/xml/php_xml.h"
  56. #include "ext/wddx/php_wddx.h"
  57. #include "ext/mysql/php_mysql.h"*/ /* Commented out for now */
  58. /* }}} */
  59. /* {{{ php_builtin_extensions[]
  60. */
  61. static zend_module_entry *php_builtin_extensions[] = {
  62. phpext_standard_ptr,
  63. #if HAVE_BCMATH
  64. phpext_bcmath_ptr,
  65. #endif
  66. phpext_calendar_ptr,
  67. /* COM_module_ptr,*/
  68. phpext_ftp_ptr,
  69. #if defined(MBSTR_ENC_TRANS)
  70. phpext_mbstring_ptr,
  71. #endif
  72. /* phpext_mysql_ptr,*/ /* Commented out for now */
  73. /* phpext_odbc_ptr, */ /* Commented out for now */
  74. phpext_pcre_ptr,
  75. phpext_session_ptr,
  76. /* phpext_xml_ptr,
  77. phpext_wddx_ptr */ /* Commented out for now */
  78. };
  79. /* }}} */
  80. #define EXTCOUNT (sizeof(php_builtin_extensions)/sizeof(zend_module_entry *))
  81. PHPAPI int php_register_internal_extensions(TSRMLS_D)
  82. {
  83. return php_register_extensions(php_builtin_extensions, EXTCOUNT TSRMLS_CC);
  84. }
  85. /*
  86. * Local variables:
  87. * tab-width: 4
  88. * c-basic-offset: 4
  89. * End:
  90. * vim600: sw=4 ts=4 fdm=marker
  91. * vim<600: sw=4 ts=4
  92. */