VR-Forces Developer's Guide
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
Classes | Macros | Typedefs | Functions
ioapi.h File Reference

Go to the source code of this file.

Classes

struct  zlib_filefunc_def_s
 

Macros

#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 const charfilename
 
typedef const char int mode
 
typedef voidpf stream
 
typedef voidpf void * buf
 
typedef voidpf void uLong size
 
typedef voidpf uLong offset
 
typedef voidpf uLong int origin
 
typedef struct zlib_filefunc_def_s zlib_filefunc_def
 

Functions

typedef voidpf (ZCALLBACK *open_file_func) OF((voidpf opaque
 
typedef uLong (ZCALLBACK *read_file_func) OF((voidpf opaque
 
typedef long (ZCALLBACK *tell_file_func) OF((voidpf opaque
 
typedef int (ZCALLBACK *close_file_func) OF((voidpf opaque
 
void fill_fopen_filefunc OF ((zlib_filefunc_def *pzlib_filefunc_def))
 

Macro Definition Documentation

#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))

Typedef Documentation

typedef const char* filename
typedef const char int mode
typedef voidpf stream
typedef voidpf const void * buf
typedef voidpf const void uLong size
typedef voidpf uLong offset

Function Documentation

typedef voidpf ( ZCALLBACK open_file_func)
typedef uLong ( ZCALLBACK read_file_func)
typedef long ( ZCALLBACK tell_file_func)
typedef int ( ZCALLBACK close_file_func)
void fill_fopen_filefunc OF ( (zlib_filefunc_def *pzlib_filefunc_def)  )

Document ID: Generated on Wed Mar 27 22:49:11 EDT 2024 from SVN revision 264633
Copyright © 2005-2024 MAK Technologies. All Rights Reserved (www.mak.com)