2000-03-07 04:37:11 +08:00
|
|
|
/* -*- C -*-
|
1999-04-08 05:05:13 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2001-12-11 23:32:16 +08:00
|
|
|
| PHP Version 4 |
|
1999-04-08 05:05:13 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2001-12-11 23:32:16 +08:00
|
|
|
| Copyright (c) 1997-2002 The PHP Group |
|
1999-04-08 05:05:13 +08:00
|
|
|
+----------------------------------------------------------------------+
|
2000-05-18 23:34:45 +08:00
|
|
|
| This source file is subject to version 2.02 of the PHP license, |
|
1999-12-07 19:37:30 +08:00
|
|
|
| that is bundled with this package in the file LICENSE, and is |
|
|
|
|
| available at through the world-wide-web at |
|
2000-05-18 23:34:45 +08:00
|
|
|
| http://www.php.net/license/2_02.txt. |
|
1999-12-07 19:37:30 +08:00
|
|
|
| If you did not receive a copy of the PHP license and are unable to |
|
|
|
|
| obtain it through the world-wide-web, please send a note to |
|
|
|
|
| license@php.net so we can mail you a copy immediately. |
|
1999-04-08 05:05:13 +08:00
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
| Authors: Andi Gutmans <andi@zend.com> |
|
|
|
|
| Zeev Suraski <zeev@zend.com> |
|
|
|
|
+----------------------------------------------------------------------+
|
|
|
|
*/
|
|
|
|
|
|
|
|
/* $Id$ */
|
|
|
|
|
|
|
|
#include "php.h"
|
2000-06-06 07:24:42 +08:00
|
|
|
#include "php_main.h"
|
2001-02-27 02:14:50 +08:00
|
|
|
#include "zend_modules.h"
|
1999-04-08 05:05:13 +08:00
|
|
|
#include "internal_functions_registry.h"
|
|
|
|
#include "zend_compile.h"
|
|
|
|
#include <stdarg.h>
|
|
|
|
#include <stdlib.h>
|
|
|
|
#include <stdio.h>
|
|
|
|
|
2002-03-16 05:03:08 +08:00
|
|
|
#if HAVE_OPENSSL_EXT
|
|
|
|
/* zlib typedefs free_func which causes problems if the SSL includes happen
|
|
|
|
* after zlib.h is included */
|
|
|
|
# include <openssl/ssl.h>
|
|
|
|
#endif
|
|
|
|
|
1999-05-03 19:11:23 +08:00
|
|
|
@EXT_INCLUDE_CODE@
|
1999-04-17 08:37:12 +08:00
|
|
|
|
1999-12-08 04:49:01 +08:00
|
|
|
zend_module_entry *php_builtin_extensions[] = {
|
1999-05-03 19:11:23 +08:00
|
|
|
@EXT_MODULE_PTRS@
|
1999-04-08 05:05:13 +08:00
|
|
|
};
|
|
|
|
|
1999-12-08 04:49:01 +08:00
|
|
|
#define EXTCOUNT (sizeof(php_builtin_extensions)/sizeof(zend_module_entry *))
|
|
|
|
|
1999-09-04 01:46:39 +08:00
|
|
|
|
1999-12-08 04:49:01 +08:00
|
|
|
int php_startup_internal_extensions(void)
|
1999-04-08 05:05:13 +08:00
|
|
|
{
|
1999-12-08 04:49:01 +08:00
|
|
|
return php_startup_extensions(php_builtin_extensions, EXTCOUNT);
|
1999-04-08 05:05:13 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Local variables:
|
|
|
|
* tab-width: 4
|
|
|
|
* c-basic-offset: 4
|
|
|
|
* End:
|
|
|
|
*/
|