1 #ifndef __XrdBuffer_H__
2 #define __XrdBuffer_H__
34 #include <sys/types.h>
49 {
buff = bp;
bsize = sz; bindex = ix; next = 0;}
66 #define XRD_BUCKETS 12
67 #define XRD_BUSHIFT 10
87 void Set(
int maxmem=-1,
int minw=-1);
89 int Stats(
char *buff,
int blen,
int do_sync=0);
116 static const char *TraceID;
int Stats(char *buff, int blen, int do_sync=0)
void Release(XrdBuffer *bp)
XrdBuffer * Obtain(int bsz)
XrdBuffManager(int minrst=20 *60)
void Set(int maxmem=-1, int minw=-1)
XrdBuffer(char *bp, int sz, int ix)