-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathphp_prep.h
More file actions
41 lines (31 loc) · 824 Bytes
/
php_prep.h
File metadata and controls
41 lines (31 loc) · 824 Bytes
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
#ifndef PHP_PREP_H
#define PHP_PREP_H
#define PHP_PREP_VERSION "0.0.1"
extern zend_module_entry prep_module_entry;
#define phpext_prep_ptr &prep_module_entry
#ifdef PHP_WIN32
# define PHP_PREP_API __declspec(dllexport)
#elif defined(__GNUC__) && __GNUC__ >= 4
# define PHP_PREP_API __attribute__ ((visibility("default")))
#else
# define PHP_PREP_API
#endif
#ifdef ZTS
#include "TSRM.h"
#endif
ZEND_BEGIN_MODULE_GLOBALS(prep)
HashTable commands;
HashTable orig_files;
ZEND_END_MODULE_GLOBALS(prep)
PHP_MINIT_FUNCTION(prep);
PHP_MSHUTDOWN_FUNCTION(prep);
PHP_RINIT_FUNCTION(prep);
PHP_RSHUTDOWN_FUNCTION(prep);
PHP_MINFO_FUNCTION(prep);
PHP_FUNCTION(prep_get_file);
#ifdef ZTS
#define PREP_G(v) TSRMG(prep_globals_id, zend_prep_globals *, v)
#else
#define PREP_G(v) (prep_globals.v)
#endif
#endif /* PHP_PREP_H */