source: branches/1.3/xcache_globals.h @ 627

Last change on this file since 627 was 627, checked in by moo, 5 years ago

merged r585:592 from trunk

  • Property svn:eol-style set to native
File size: 945 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#ifdef HAVE_XCACHE_OPTIMIZER
7    zend_bool optimizer;   /* true if enabled */
8#endif
9#ifdef HAVE_XCACHE_COVERAGER
10    zend_bool coverager;
11    zend_bool coverage_enabled;
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;
17    long   var_ttl;
18    zend_bool auth_enabled;
19
20#ifdef ZEND_ENGINE_2
21    HashTable gc_op_arrays;
22#endif
23
24#ifdef HAVE_XCACHE_CONSTANT
25    HashTable internal_constant_table;
26#endif
27    HashTable internal_function_table;
28    HashTable internal_class_table;
29    zend_bool internal_table_copied;
30ZEND_END_MODULE_GLOBALS(xcache)
31
32ZEND_EXTERN_MODULE_GLOBALS(xcache)
33
34#ifdef ZTS
35# define XG(v) TSRMG(xcache_globals_id, zend_xcache_globals *, v)
36#else
37# define XG(v) (xcache_globals.v)
38#endif
Note: See TracBrowser for help on using the repository browser.