~drizzle-trunk/drizzle/development

« back to all changes in this revision

Viewing changes to plugin/archive/azio.h

  • Committer: Brian Aker
  • Date: 2010-01-15 01:41:40 UTC
  • mfrom: (1259.8.3 i_s_work)
  • Revision ID: brian@gaz-20100115014140-0n6kh7fqhp1abqs4
Merge Joe Daly

Show diffs side-by-side

added added

removed removed

Lines of Context:
40
40
#define AZIO_AIO
41
41
 
42
42
#include <drizzled/common.h>
43
 
#include <mysys/my_sys.h>
 
43
#include "drizzled/internal/my_sys.h"
44
44
 
45
45
#include <zlib.h>
46
46
 
242
242
  z_stream stream;
243
243
  int      z_err;   /* error code for last stream operation */
244
244
  int      z_eof;   /* set if end of input file */
245
 
  File     file;   /* .gz file */
 
245
  int     file;   /* .gz file */
246
246
  Byte     *inbuf;  /* input buffer */
247
247
  Byte     buffer1[AZ_BUFSIZE_READ];  /* input buffer */
248
248
  Byte     buffer2[AZ_BUFSIZE_READ];  /* input buffer */
297
297
   can be checked to distinguish the two cases (if errno is zero, the
298
298
   zlib error is Z_MEM_ERROR).  */
299
299
 
300
 
int azdopen(azio_stream *s,File fd, int Flags);
 
300
int azdopen(azio_stream *s,int fd, int Flags);
301
301
/*
302
302
     azdopen() associates a azio_stream with the file descriptor fd.  File
303
303
   descriptors are obtained from calls like open, dup, creat, pipe or