version 1.8, 2014/07/20 06:24:19 |
version 1.9, 2014/07/20 08:12:46 |
|
|
unsigned char *top; /* highest address+1 in buffer */ |
unsigned char *top; /* highest address+1 in buffer */ |
unsigned char *mark; /* marker (user defined) */ |
unsigned char *mark; /* marker (user defined) */ |
int size; /* size in bytes of buffer */ |
int size; /* size in bytes of buffer */ |
u_long consumetime; /* help us keep straight full, empty, etc. */ |
unsigned long consumetime; /* help us keep straight full, empty, etc. */ |
u_long supplytime; |
unsigned long supplytime; |
} Ring; |
} Ring; |
|
|
/* Here are some functions and macros to deal with the ring buffer */ |
/* Here are some functions and macros to deal with the ring buffer */ |