source: trunk/xcache_globals.h @ 1234

Last change on this file since 1234 was 1234, checked in by moo, 21 months ago

compatiblity with fcntl

  • Property svn:eol-style set to native
File size: 1.3 KB
RevLine 
[982]1#include "util/xc_stack.h"
[1]2
3ZEND_BEGIN_MODULE_GLOBALS(xcache)
[1178]4    zend_bool initial_compile_file_called; /* true if origin_compile_file is called */
[1]5    zend_bool cacher;      /* true if enabled */
[165]6    zend_bool stat;
[399]7    zend_bool experimental;
[1]8#ifdef HAVE_XCACHE_OPTIMIZER
9    zend_bool optimizer;   /* true if enabled */
10#endif
[28]11#ifdef HAVE_XCACHE_COVERAGER
[204]12    zend_bool coverager;
[1117]13    zend_bool coverager_autostart;
[1118]14    zend_bool coverager_started;
[1]15    HashTable *coverages;  /* coverages[file][line] = times */
16#endif
[1234]17#ifndef ZEND_WIN32
18    pid_t holds_pid;
19#endif
[1]20    xc_stack_t *php_holds;
[1040]21    zend_uint php_holds_size;
[1]22    xc_stack_t *var_holds;
[1040]23    zend_uint var_holds_size;
[1]24    time_t request_time;
[117]25    long   var_ttl;
[1146]26#ifdef IS_UNCODE
27    zval uvar_namespace_hard;
28    zval uvar_namespace_soft;
29#endif
30    zval var_namespace_hard;
31    zval var_namespace_soft;
[344]32
[656]33    zend_llist gc_op_arrays;
[1196]34#ifdef ZEND_ACC_ALIAS
35    zend_llist gc_class_entries;
36#endif
[498]37
[588]38#ifdef HAVE_XCACHE_CONSTANT
39    HashTable internal_constant_table;
40#endif
[344]41    HashTable internal_function_table;
42    HashTable internal_class_table;
[435]43    zend_bool internal_table_copied;
[496]44
45    void *sandbox;
[1]46ZEND_END_MODULE_GLOBALS(xcache)
47
48ZEND_EXTERN_MODULE_GLOBALS(xcache)
49
50#ifdef ZTS
51# define XG(v) TSRMG(xcache_globals_id, zend_xcache_globals *, v)
52#else
53# define XG(v) (xcache_globals.v)
54#endif
Note: See TracBrowser for help on using the repository browser.