summaryrefslogtreecommitdiff
path: root/bindings/swig/swcompress.i
blob: 9029db688fe9121497c4e16fb14eab767ef15390 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
%{
#include <swcomprs.h>
using namespace sword;
%}

class SWCompress {
public:
  SWCompress();
  virtual ~SWCompress();

  virtual char *Buf (const char *buf = 0, unsigned long *len = 0);
  virtual char *zBuf (unsigned long *len, char *buf = 0);
  virtual unsigned long GetChars (char *buf, unsigned long len);
  virtual unsigned long SendChars (char *buf, unsigned long len);
  virtual void Encode (void);
  virtual void Decode (void);
};