-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathphp_bfr.h
57 lines (46 loc) · 2.32 KB
/
php_bfr.h
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
/*
+----------------------------------------------------------------------+
| Better Function Replacer |
| based on APD Profiler & Debugger |
+----------------------------------------------------------------------+
| Copyright (c) 2001-2003 Community Connect Inc. |
+----------------------------------------------------------------------+
| This source file is subject to version 2.02 of the PHP license, |
| that is bundled with this package in the file LICENSE, and is |
| available at through the world-wide-web at |
| http://www.php.net/license/2_02.txt. |
| 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 |
| [email protected] so we can mail you a copy immediately. |
+----------------------------------------------------------------------+
| Authors: Lukas Rist <[email protected]> |
| Daniel Cowgill <[email protected]> |
| George Schlossnagle <[email protected]> |
| Sterling Hughes <[email protected]> |
| Nikita Tokarchuk <[email protected]> |
+----------------------------------------------------------------------+
*/
#ifndef PHP_BFR_H
#define PHP_BFR_H
#include "php.h"
#include "zend.h"
#include "zend_extensions.h"
#include "ext/standard/info.h"
// ---------------------------------------------------------------------------
// Required Declarations
// ---------------------------------------------------------------------------
/* Declarations of functions to be exported. */
PHP_FUNCTION(override_function);
PHP_FUNCTION(rename_function);
PHP_MINIT_FUNCTION(bfr);
PHP_RINIT_FUNCTION(bfr);
PHP_RSHUTDOWN_FUNCTION(bfr);
PHP_MINFO_FUNCTION(bfr);
extern zend_module_entry bfr_module_entry;
#define PHP_BFR_VERSION "1.0.0"
ZEND_BEGIN_MODULE_GLOBALS(bfr)
ZEND_END_MODULE_GLOBALS(bfr)
PHPAPI ZEND_EXTERN_MODULE_GLOBALS(bfr)
/* Declare global structure. */
#define BFR_GLOBALS(v) (bfr_globals.v)
#endif