source: trunk/xcache_globals.h @ 508

Last change on this file since 508 was 508, checked in by moo, 6 years ago

PHP_4: fix build

  • Property svn:eol-style set to native
File size: 891 bytes
Line 
1
2ZEND_BEGIN_MODULE_GLOBALS(xcache)
3    zend_bool initial_compile_file_called; /* true is origin_compile_file is called */
4    zend_bool cacher;      /* true if enabled */
5    zend_bool stat;
6    zend_bool experimental;
7#ifdef HAVE_XCACHE_OPTIMIZER
8    zend_bool optimizer;   /* true if enabled */
9#endif
10#ifdef HAVE_XCACHE_COVERAGER
11    zend_bool coverager;
12    zend_bool coverage_enabled;
13    HashTable *coverages;  /* coverages[file][line] = times */
14#endif
15    xc_stack_t *php_holds;
16    xc_stack_t *var_holds;
17    time_t request_time;
18    long   var_ttl;
19
20#ifdef ZEND_ENGINE_2
21    HashTable gc_op_arrays;
22#endif
23
24    HashTable internal_function_table;
25    HashTable internal_class_table;
26    zend_bool internal_table_copied;
27
28    void *sandbox;
29ZEND_END_MODULE_GLOBALS(xcache)
30
31ZEND_EXTERN_MODULE_GLOBALS(xcache)
32
33#ifdef ZTS
34# define XG(v) TSRMG(xcache_globals_id, zend_xcache_globals *, v)
35#else
36# define XG(v) (xcache_globals.v)
37#endif
Note: See TracBrowser for help on using the repository browser.