source: trunk/xcache_globals.h @ 982

Last change on this file since 982 was 982, checked in by moo, 2 years ago

move files to subdirs

  • Property svn:eol-style set to native
File size: 987 bytes
Line 
1#include "util/xc_stack.h"
2
3ZEND_BEGIN_MODULE_GLOBALS(xcache)
4    zend_bool initial_compile_file_called; /* true is origin_compile_file is called */
5    zend_bool cacher;      /* true if enabled */
6    zend_bool stat;
7    zend_bool experimental;
8#ifdef HAVE_XCACHE_OPTIMIZER
9    zend_bool optimizer;   /* true if enabled */
10#endif
11#ifdef HAVE_XCACHE_COVERAGER
12    zend_bool coverager;
13    zend_bool coverage_enabled;
14    HashTable *coverages;  /* coverages[file][line] = times */
15#endif
16    xc_stack_t *php_holds;
17    xc_stack_t *var_holds;
18    time_t request_time;
19    long   var_ttl;
20    zend_bool auth_enabled;
21
22    zend_llist gc_op_arrays;
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;
30
31    void *sandbox;
32ZEND_END_MODULE_GLOBALS(xcache)
33
34ZEND_EXTERN_MODULE_GLOBALS(xcache)
35
36#ifdef ZTS
37# define XG(v) TSRMG(xcache_globals_id, zend_xcache_globals *, v)
38#else
39# define XG(v) (xcache_globals.v)
40#endif
Note: See TracBrowser for help on using the repository browser.