File indexing completed on 2025-08-03 08:20:46
0001 #ifndef __OLZOBUFFER_H__
0002 #define __OLZOBUFFER_H__
0003
0004 #include <lzo/lzo1x.h>
0005
0006 #include "ophBuffer.h"
0007
0008
0009
0010 #ifndef __CINT__
0011 class WINDOWSEXPORT olzoBuffer : public ophBuffer{
0012 #else
0013 class olzoBuffer : public ophBuffer{
0014 #endif
0015
0016 public:
0017
0018
0019
0020 #ifndef WIN32
0021 olzoBuffer (int fdin, PHDWORD * where,
0022 const int length,
0023 const int irun=1,
0024 const int iseq=0 );
0025 #else
0026 olzoBuffer (const char *fpp, PHDWORD * where,
0027 const int length,
0028 int &status,
0029 const int irun=1,
0030 const int iseq=0 );
0031 #endif
0032 virtual ~olzoBuffer();
0033
0034
0035 virtual int writeout ();
0036
0037
0038 protected:
0039
0040 static int lzo_initialized;
0041
0042 int _broken;
0043
0044 lzo_byte *wrkmem;
0045
0046 PHDWORD *outputarray;
0047 lzo_uint outputarraylength;
0048
0049
0050 };
0051
0052
0053
0054 #endif
0055