๐Ÿ“ฆ Pierstoval / ext-im

๐Ÿ“„ php_includemonitor.h ยท 22 lines
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22/* Includemonitor extension */

#ifndef PHP_INCLUDEMONITOR_H
#define PHP_INCLUDEMONITOR_H

extern zend_module_entry includemonitor_module_entry;
#define phpext_includemonitor_ptr &includemonitor_module_entry

#define PHP_INCLUDEMONITOR_VERSION "0.1.0"

ZEND_BEGIN_MODULE_GLOBALS(includemonitor)
    zend_long log_file;
ZEND_END_MODULE_GLOBALS(includemonitor)

ZEND_EXTERN_MODULE_GLOBALS(includemonitor)

#define INCLUDEMONITOR_G(v) ZEND_MODULE_GLOBALS_ACCESSOR(includemonitor, v)

ZEND_API zend_op_array *includemonitor_compile_file(zend_file_handle *file_handle, int type);

#endif	/* PHP_INCLUDEMONITOR_H */