Classes | Defines | Typedefs | Functions
ioapi.h File Reference
#include <stdio.h>
#include <stdlib.h>
#include "zlib.h"
Include dependency graph for ioapi.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  zlib_filefunc64_32_def_s
struct  zlib_filefunc64_def_s
struct  zlib_filefunc_def_s

Defines

#define ZCLOSE64(filefunc, filestream)   ((*((filefunc).zfile_func64.zclose_file)) ((filefunc).zfile_func64.opaque,filestream))
#define ZERROR64(filefunc, filestream)   ((*((filefunc).zfile_func64.zerror_file)) ((filefunc).zfile_func64.opaque,filestream))
#define ZLIB_FILEFUNC_MODE_CREATE   (8)
#define ZLIB_FILEFUNC_MODE_EXISTING   (4)
#define ZLIB_FILEFUNC_MODE_READ   (1)
#define ZLIB_FILEFUNC_MODE_READWRITEFILTER   (3)
#define ZLIB_FILEFUNC_MODE_WRITE   (2)
#define ZLIB_FILEFUNC_SEEK_CUR   (1)
#define ZLIB_FILEFUNC_SEEK_END   (2)
#define ZLIB_FILEFUNC_SEEK_SET   (0)
#define ZOPEN64(filefunc, filename, mode)   (call_zopen64((&(filefunc)),(filename),(mode)))
#define ZREAD64(filefunc, filestream, buf, size)   ((*((filefunc).zfile_func64.zread_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size))
#define ZSEEK64(filefunc, filestream, pos, mode)   (call_zseek64((&(filefunc)),(filestream),(pos),(mode)))
#define ZTELL64(filefunc, filestream)   (call_ztell64((&(filefunc)),(filestream)))
#define ZWRITE64(filefunc, filestream, buf, size)   ((*((filefunc).zfile_func64.zwrite_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size))

Typedefs

typedef voidpf void * buf
typedef const char * filename
typedef const char int mode
typedef voidpf uLong offset
typedef voidpf uLong int origin
typedef voidpf void uLong size
typedef voidpf stream
typedef struct
zlib_filefunc64_32_def_s 
zlib_filefunc64_32_def
typedef struct
zlib_filefunc64_def_s 
zlib_filefunc64_def
typedef struct zlib_filefunc_def_s zlib_filefunc_def
typedef unsigned long long int ZPOS64_T

Functions

void fill_zlib_filefunc64_32_def_from_filefunc32 (zlib_filefunc64_32_def *p_filefunc64_32, const zlib_filefunc_def *p_filefunc32)
typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque
typedef long (ZCALLBACK *tell_file_func) OF((voidpf opaque
void fill_fopen64_filefunc OF ((zlib_filefunc64_def *pzlib_filefunc_def))
void fill_fopen_filefunc OF ((zlib_filefunc_def *pzlib_filefunc_def))
voidpf call_zopen64 OF ((const zlib_filefunc64_32_def *pfilefunc, const void *filename, int mode))
long call_zseek64 OF ((const zlib_filefunc64_32_def *pfilefunc, voidpf filestream, ZPOS64_T offset, int origin))
ZPOS64_T call_ztell64 OF ((const zlib_filefunc64_32_def *pfilefunc, voidpf filestream))
typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque
typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque
typedef ZPOS64_T (ZCALLBACK *tell64_file_func) OF((voidpf opaque

Define Documentation

#define ZCLOSE64 (   filefunc,
  filestream 
)    ((*((filefunc).zfile_func64.zclose_file)) ((filefunc).zfile_func64.opaque,filestream))

Definition at line 183 of file ioapi.h.

#define ZERROR64 (   filefunc,
  filestream 
)    ((*((filefunc).zfile_func64.zerror_file)) ((filefunc).zfile_func64.opaque,filestream))

Definition at line 184 of file ioapi.h.

#define ZLIB_FILEFUNC_MODE_CREATE   (8)

Definition at line 113 of file ioapi.h.

#define ZLIB_FILEFUNC_MODE_EXISTING   (4)

Definition at line 112 of file ioapi.h.

#define ZLIB_FILEFUNC_MODE_READ   (1)

Definition at line 108 of file ioapi.h.

Definition at line 110 of file ioapi.h.

#define ZLIB_FILEFUNC_MODE_WRITE   (2)

Definition at line 109 of file ioapi.h.

#define ZLIB_FILEFUNC_SEEK_CUR   (1)

Definition at line 104 of file ioapi.h.

#define ZLIB_FILEFUNC_SEEK_END   (2)

Definition at line 105 of file ioapi.h.

#define ZLIB_FILEFUNC_SEEK_SET   (0)

Definition at line 106 of file ioapi.h.

#define ZOPEN64 (   filefunc,
  filename,
  mode 
)    (call_zopen64((&(filefunc)),(filename),(mode)))

Definition at line 192 of file ioapi.h.

#define ZREAD64 (   filefunc,
  filestream,
  buf,
  size 
)    ((*((filefunc).zfile_func64.zread_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size))

Definition at line 179 of file ioapi.h.

#define ZSEEK64 (   filefunc,
  filestream,
  pos,
  mode 
)    (call_zseek64((&(filefunc)),(filestream),(pos),(mode)))

Definition at line 194 of file ioapi.h.

#define ZTELL64 (   filefunc,
  filestream 
)    (call_ztell64((&(filefunc)),(filestream)))

Definition at line 193 of file ioapi.h.

#define ZWRITE64 (   filefunc,
  filestream,
  buf,
  size 
)    ((*((filefunc).zfile_func64.zwrite_file)) ((filefunc).zfile_func64.opaque,filestream,buf,size))

Definition at line 180 of file ioapi.h.


Typedef Documentation

typedef voidpf const void * buf

Definition at line 128 of file ioapi.h.

typedef const void * filename

Definition at line 127 of file ioapi.h.

typedef const void int mode

Definition at line 127 of file ioapi.h.

Definition at line 134 of file ioapi.h.

Definition at line 134 of file ioapi.h.

typedef voidpf const void uLong size

Definition at line 128 of file ioapi.h.

typedef voidpf stream

Definition at line 128 of file ioapi.h.

typedef unsigned long long int ZPOS64_T

Definition at line 92 of file ioapi.h.


Function Documentation

void fill_zlib_filefunc64_32_def_from_filefunc32 ( zlib_filefunc64_32_def p_filefunc64_32,
const zlib_filefunc_def p_filefunc32 
)

Definition at line 57 of file ioapi.c.

typedef int ( ZCALLBACK *  close_file_func)
typedef long ( ZCALLBACK *  tell_file_func)
void fill_win32_filefunc64W OF ( (zlib_filefunc64_def *pzlib_filefunc_def)  )
void fill_fopen_filefunc OF ( (zlib_filefunc_def *pzlib_filefunc_def)  )
voidpf call_zopen64 OF ( (const zlib_filefunc64_32_def *pfilefunc, const void *filename, int mode )
long call_zseek64 OF ( (const zlib_filefunc64_32_def *pfilefunc, voidpf filestream, ZPOS64_T offset, int origin )
ZPOS64_T call_ztell64 OF ( (const zlib_filefunc64_32_def *pfilefunc, voidpf filestream)  )
typedef uLong ( ZCALLBACK *  read_file_func)
typedef voidpf ( ZCALLBACK *  open_file_func)
typedef ZPOS64_T ( ZCALLBACK *  tell64_file_func)


re_object_recorder
Author(s): Andreas Koch
autogenerated on Sun Jan 5 2014 11:39:13