/[pkg-mixmaster]/trunk/Mix/Src/compress.c
ViewVC logotype

Diff of /trunk/Mix/Src/compress.c

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

revision 1 by rabbi, Wed Oct 31 08:19:51 2001 UTC revision 262 by rabbi, Wed Sep 18 23:26:17 2002 UTC
# Line 6  Line 6 
6     details.     details.
7    
8     Buffer compression (interface to zlib)     Buffer compression (interface to zlib)
9     $Id: compress.c,v 1.1 2001/10/31 08:19:53 rabbi Exp $ */     $Id: compress.c,v 1.2 2002/09/18 23:26:16 rabbi Exp $ */
10    
11    
12  #include "mix3.h"  #include "mix3.h"
# Line 139  end: Line 139  end:
139    return (err);    return (err);
140  }  }
141    
142  #else  #else /* end of USE_ZLIB */
143  int buf_zip(BUFFER *out, BUFFER *in, int bits)  int buf_zip(BUFFER *out, BUFFER *in, int bits)
144  {  {
145    return (-1);    return (-1);
# Line 150  int buf_unzip(BUFFER *b, int type) Line 150  int buf_unzip(BUFFER *b, int type)
150    errlog(ERRORMSG, "Can't uncompress: no zlib\n");    errlog(ERRORMSG, "Can't uncompress: no zlib\n");
151    return (-1);    return (-1);
152  }  }
153  #endif  #endif /* else not USE_ZLIB */
154    
155  int compressed(BUFFER *b)  int compressed(BUFFER *b)
156  {  {

Legend:
Removed from v.1  
changed lines
  Added in v.262

  ViewVC Help
Powered by ViewVC 1.1.5