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.
18 lines
355 B
18 lines
355 B
![]()
16 years ago
|
|
||
|
typedef struct {
|
||
|
void **data;
|
||
|
int cnt;
|
||
|
int size;
|
||
|
} xc_stack_t;
|
||
|
|
||
|
#define S xc_stack_t*
|
||
|
void xc_stack_init(S stack);
|
||
|
void xc_stack_destroy(S stack);
|
||
|
void xc_stack_push(S stack, void *item);
|
||
|
void *xc_stack_pop(S stack);
|
||
|
void *xc_stack_top(S stack);
|
||
|
void *xc_stack_get(S stack, int n);
|
||
|
int xc_stack_size(S stack);
|
||
|
void xc_stack_reverse(S stack);
|
||
|
#undef S
|