ioapi.h File Reference

Go to the source code of this file.

Data Structures

struct  zlib_filefunc_def_s

Defines

#define ZLIB_FILEFUNC_SEEK_CUR   (1)
#define ZLIB_FILEFUNC_SEEK_END   (2)
#define ZLIB_FILEFUNC_SEEK_SET   (0)
#define ZLIB_FILEFUNC_MODE_READ   (1)
#define ZLIB_FILEFUNC_MODE_WRITE   (2)
#define ZLIB_FILEFUNC_MODE_READWRITEFILTER   (3)
#define ZLIB_FILEFUNC_MODE_EXISTING   (4)
#define ZLIB_FILEFUNC_MODE_CREATE   (8)
#define ZCALLBACK
#define ZREAD(filefunc, filestream, buf, size)   ((*((filefunc).zread_file))((filefunc).opaque,filestream,buf,size))
#define ZWRITE(filefunc, filestream, buf, size)   ((*((filefunc).zwrite_file))((filefunc).opaque,filestream,buf,size))
#define ZTELL(filefunc, filestream)   ((*((filefunc).ztell_file))((filefunc).opaque,filestream))
#define ZSEEK(filefunc, filestream, pos, mode)   ((*((filefunc).zseek_file))((filefunc).opaque,filestream,pos,mode))
#define ZCLOSE(filefunc, filestream)   ((*((filefunc).zclose_file))((filefunc).opaque,filestream))
#define ZERROR(filefunc, filestream)   ((*((filefunc).zerror_file))((filefunc).opaque,filestream))

Typedefs

typedef voidpf open_file_func OF ((voidpf opaque, const char *filename, int mode))
typedef uLong read_file_func OF ((voidpf opaque, voidpf stream, void *buf, uLong size))
typedef uLong write_file_func OF ((voidpf opaque, voidpf stream, const void *buf, uLong size))
typedef long tell_file_func OF ((voidpf opaque, voidpf stream))
typedef long seek_file_func OF ((voidpf opaque, voidpf stream, uLong offset, int origin))
typedef int close_file_func OF ((voidpf opaque, voidpf stream))
typedef int testerror_file_func OF ((voidpf opaque, voidpf stream))
typedef zlib_filefunc_def_s zlib_filefunc_def

Functions

void fill_fopen_filefunc OF ((zlib_filefunc_def *pzlib_filefunc_def))


Define Documentation

#define ZCALLBACK

#define ZCLOSE ( filefunc,
filestream   )     ((*((filefunc).zclose_file))((filefunc).opaque,filestream))

#define ZERROR ( filefunc,
filestream   )     ((*((filefunc).zerror_file))((filefunc).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 ZREAD ( filefunc,
filestream,
buf,
size   )     ((*((filefunc).zread_file))((filefunc).opaque,filestream,buf,size))

#define ZSEEK ( filefunc,
filestream,
pos,
mode   )     ((*((filefunc).zseek_file))((filefunc).opaque,filestream,pos,mode))

#define ZTELL ( filefunc,
filestream   )     ((*((filefunc).ztell_file))((filefunc).opaque,filestream))

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


Typedef Documentation

typedef int testerror_file_func OF((voidpf opaque, voidpf stream))

typedef int close_file_func OF((voidpf opaque, voidpf stream))

typedef long seek_file_func OF((voidpf opaque, voidpf stream, uLong offset, int origin))

typedef long tell_file_func OF((voidpf opaque, voidpf stream))

typedef uLong write_file_func OF((voidpf opaque, voidpf stream, const void *buf, uLong size))

typedef uLong read_file_func OF((voidpf opaque, voidpf stream, void *buf, uLong size))

int ZEXPORT unzGetLocalExtrafield OF

typedef struct zlib_filefunc_def_s zlib_filefunc_def


Function Documentation

void fill_fopen_filefunc OF ( (zlib_filefunc_def *pzlib_filefunc_def)   ) 


Generated on Wed Aug 13 08:04:24 2008 for VLC by  doxygen 1.5.1