1 #ifndef __RINGBUFFER_GM_H__ 2 #define __RINGBUFFER_GM_H__ 10 inline char *GetMessageHead(
void);
11 inline char *GetBufferOpen(
void);
12 inline void ForceWindowSlide(
void);
14 #define FastGetMessageHead() (_Buffer + _StartPos) 15 #define FastAmountBeffered() (_EndPos - _StartPos) 17 inline bool PutFast(
const char * data,
size_t len);
20 inline size_t AmountBuffered(
void);
21 inline size_t BufferAvailabe(
void);
22 inline void ResetContent(
void);
25 inline void FullCompress(
void);
26 inline void Compress(
void);
27 inline bool Put(
const char * data,
size_t len);
28 inline bool Get(
char * data,
size_t len);
31 #include "ringbuffer.I" 33 #endif //__RINGBUFFER_GM_H__