source: trunk/xcache_globals.h @ 344

Last change on this file since 344 was 344, checked in by moo, 8 years ago

copy internal functions/classes into sandbox, they're needed by compiler

File size: 677 bytes
Line 
1
2ZEND_BEGIN_MODULE_GLOBALS(xcache)
3    zend_bool cacher;      /* true if enabled */
4    zend_bool stat;
5#ifdef HAVE_XCACHE_OPTIMIZER
6    zend_bool optimizer;   /* true if enabled */
7#endif
8#ifdef HAVE_XCACHE_COVERAGER
9    zend_bool coverager;
10    zend_bool coverage_enabled;
11    HashTable *coverages;  /* coverages[file][line] = times */
12#endif
13    xc_stack_t *php_holds;
14    xc_stack_t *var_holds;
15    time_t request_time;
16    long   var_ttl;
17
18    HashTable internal_function_table;
19    HashTable internal_class_table;
20ZEND_END_MODULE_GLOBALS(xcache)
21
22ZEND_EXTERN_MODULE_GLOBALS(xcache)
23
24#ifdef ZTS
25# define XG(v) TSRMG(xcache_globals_id, zend_xcache_globals *, v)
26#else
27# define XG(v) (xcache_globals.v)
28#endif
Note: See TracBrowser for help on using the repository browser.