xref: /PHP-5.6/main/internal_functions.c.in (revision 53fb2f1e)
1/* -*- C -*-
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#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@EXT_INCLUDE_CODE@
31
32static zend_module_entry *php_builtin_extensions[] = {
33@EXT_MODULE_PTRS@
34};
35
36#define EXTCOUNT (sizeof(php_builtin_extensions)/sizeof(zend_module_entry *))
37
38PHPAPI int php_register_internal_extensions(TSRMLS_D)
39{
40	return php_register_extensions(php_builtin_extensions, EXTCOUNT TSRMLS_CC);
41}
42
43/*
44 * Local variables:
45 * tab-width: 4
46 * c-basic-offset: 4
47 * End:
48 */
49