Annotation of embedaddon/php/main/internal_functions.c, revision 1.1.1.1
1.1 misho 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$ */
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/ereg/php_ereg.h"
32: #include "ext/libxml/php_libxml.h"
33: #include "ext/pcre/php_pcre.h"
34: #include "ext/reflection/php_reflection.h"
35: #include "ext/spl/php_spl.h"
36: #include "ext/standard/php_standard.h"
37: #include "ext/mysqlnd/php_mysqlnd.h"
38:
39:
40: static zend_module_entry *php_builtin_extensions[] = {
41: phpext_date_ptr,
42: phpext_ereg_ptr,
43: phpext_libxml_ptr,
44: phpext_pcre_ptr,
45: phpext_reflection_ptr,
46: phpext_spl_ptr,
47: phpext_standard_ptr,
48: phpext_mysqlnd_ptr,
49:
50: };
51:
52: #define EXTCOUNT (sizeof(php_builtin_extensions)/sizeof(zend_module_entry *))
53:
54: PHPAPI int php_register_internal_extensions(TSRMLS_D)
55: {
56: return php_register_extensions(php_builtin_extensions, EXTCOUNT TSRMLS_CC);
57: }
58:
59: /*
60: * Local variables:
61: * tab-width: 4
62: * c-basic-offset: 4
63: * End:
64: */
FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>