~ubuntu-branches/debian/squeeze/sword/squeeze

« back to all changes in this revision

Viewing changes to bindings/swig/swcompress.i

  • Committer: Bazaar Package Importer
  • Author(s): Daniel Glassey
  • Date: 2004-01-15 15:50:07 UTC
  • Revision ID: james.westby@ubuntu.com-20040115155007-n9mz4x0zxrs1isd3
Tags: upstream-1.5.7
ImportĀ upstreamĀ versionĀ 1.5.7

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
%{
 
2
#include <swcomprs.h>
 
3
using namespace sword;
 
4
%}
 
5
 
 
6
class SWCompress {
 
7
public:
 
8
  SWCompress();
 
9
  virtual ~SWCompress();
 
10
 
 
11
  virtual char *Buf (const char *buf = 0, unsigned long *len = 0);
 
12
  virtual char *zBuf (unsigned long *len, char *buf = 0);
 
13
  virtual unsigned long GetChars (char *buf, unsigned long len);
 
14
  virtual unsigned long SendChars (char *buf, unsigned long len);
 
15
  virtual void Encode (void);
 
16
  virtual void Decode (void);
 
17
};