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.

17 lines
355 B

  1. typedef struct {
  2. void **data;
  3. int cnt;
  4. int size;
  5. } xc_stack_t;
  6. #define S xc_stack_t*
  7. void xc_stack_init(S stack);
  8. void xc_stack_destroy(S stack);
  9. void xc_stack_push(S stack, void *item);
  10. void *xc_stack_pop(S stack);
  11. void *xc_stack_top(S stack);
  12. void *xc_stack_get(S stack, int n);
  13. int xc_stack_size(S stack);
  14. void xc_stack_reverse(S stack);
  15. #undef S