XCache is a fast, stable PHP opcode cacher that has been proven and is now running on production servers under high load. https://xcache.lighttpd.net/
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

32 lines
972 B

  1. typedef struct _xc_processor_t {
  2. char *p;
  3. size_t size;
  4. HashTable zvalptrs;
  5. zend_bool handle_reference; /* enable if to deal with reference */
  6. zend_bool have_references;
  7. ptrdiff_t relocatediff;
  8. const xc_entry_php_t *entry_php_src;
  9. const xc_entry_php_t *entry_php_dst;
  10. const xc_entry_data_php_t *php_src;
  11. const xc_entry_data_php_t *php_dst;
  12. const zend_class_entry *cache_ce;
  13. zend_ulong cache_class_index;
  14. const zend_op_array *active_op_array_src;
  15. zend_op_array *active_op_array_dst;
  16. const zend_class_entry *active_class_entry_src;
  17. zend_class_entry *active_class_entry_dst;
  18. zend_uint active_class_index;
  19. zend_uint active_op_array_index;
  20. const xc_op_array_info_t *active_op_array_infos_src;
  21. zend_bool readonly_protection; /* wheather it's present */
  22. #include "processor/string-helper-t.h"
  23. #include "processor/var-helper-t.h"
  24. #ifdef HAVE_XCACHE_TEST
  25. xc_vector_t allocsizes;
  26. #endif
  27. } xc_processor_t;