source: git/xcache_globals.h @ 22aaf97

1.3
Last change on this file since 22aaf97 was 22aaf97, checked in by Xuefer <xuefer@…>, 10 years ago

merged r585:592 from trunk

git-svn-id: svn://svn.lighttpd.net/xcache/branches/1.3@627 c26eb9a1-5813-0410-bd6c-c2e55f420ca7

  • Property mode set to 100644
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.