source: branches/1.2/xcache_globals.h @ 437

Last change on this file since 437 was 437, checked in by moo, 7 years ago

copy internal table correctly, refix #59 which is broken by [429]

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