aboutsummaryrefslogtreecommitdiffstats
path: root/bindings/swig/swcompress.i
blob: 79ccd7fddf853a454f823633b5b8084b3b055440 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
%{
 #include <swcomprs.h>
%}

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);
};