Divide Framework 0.1
A free and open-source 3D Framework under heavy development
Loading...
Searching...
No Matches
ioapi.c File Reference
#include "ioapi.h"

Go to the source code of this file.

Functions

voidpf call_zopen64 (const zlib_filefunc64_32_def *pfilefunc, const void *filename, int mode)
 
long call_zseek64 (const zlib_filefunc64_32_def *pfilefunc, voidpf filestream, ZPOS64_T offset, int origin)
 
ZPOS64_T call_ztell64 (const zlib_filefunc64_32_def *pfilefunc, voidpf filestream)
 
void fill_zlib_filefunc64_32_def_from_filefunc32 (zlib_filefunc64_32_def *p_filefunc64_32, const zlib_filefunc_def *p_filefunc32)
 
static voidpf fopen_file_func OF ((voidpf opaque, const char *filename, int mode))
 
static uLong fread_file_func OF ((voidpf opaque, voidpf stream, void *buf, uLong size))
 
static uLong fwrite_file_func OF ((voidpf opaque, voidpf stream, const void *buf, uLong size))
 
static ZPOS64_T ftell64_file_func OF ((voidpf opaque, voidpf stream))
 
static long fseek64_file_func OF ((voidpf opaque, voidpf stream, ZPOS64_T offset, int origin))
 
static voidpf fopen_file_func (voidpf opaque, const char *filename, int mode)
 
static voidpf fopen64_file_func (voidpf opaque, const void *filename, int mode)
 
static uLong fread_file_func (voidpf opaque, voidpf stream, void *buf, uLong size)
 
static uLong fwrite_file_func (voidpf opaque, voidpf stream, const void *buf, uLong size)
 
static long ftell_file_func (voidpf opaque, voidpf stream)
 
static ZPOS64_T ftell64_file_func (voidpf opaque, voidpf stream)
 
static long fseek_file_func (voidpf opaque, voidpf stream, uLong offset, int origin)
 
static long fseek64_file_func (voidpf opaque, voidpf stream, ZPOS64_T offset, int origin)
 
static int fclose_file_func (voidpf opaque, voidpf stream)
 
static int ferror_file_func (voidpf opaque, voidpf stream)
 
void fill_fopen_filefunc (zlib_filefunc_def *pzlib_filefunc_def)
 
void fill_fopen64_filefunc (zlib_filefunc64_def *pzlib_filefunc_def)
 

Function Documentation

◆ call_zopen64()

voidpf call_zopen64 ( const zlib_filefunc64_32_def pfilefunc,
const void *  filename,
int  mode 
)

Definition at line 21 of file ioapi.c.

◆ call_zseek64()

long call_zseek64 ( const zlib_filefunc64_32_def pfilefunc,
voidpf  filestream,
ZPOS64_T  offset,
int  origin 
)

Definition at line 31 of file ioapi.c.

◆ call_ztell64()

ZPOS64_T call_ztell64 ( const zlib_filefunc64_32_def pfilefunc,
voidpf  filestream 
)

Definition at line 45 of file ioapi.c.

◆ fclose_file_func()

static int fclose_file_func ( voidpf  opaque,
voidpf  stream 
)
static

Definition at line 209 of file ioapi.c.

◆ ferror_file_func()

static int ferror_file_func ( voidpf  opaque,
voidpf  stream 
)
static

Definition at line 216 of file ioapi.c.

◆ fill_fopen64_filefunc()

void fill_fopen64_filefunc ( zlib_filefunc64_def pzlib_filefunc_def)

Definition at line 236 of file ioapi.c.

◆ fill_fopen_filefunc()

void fill_fopen_filefunc ( zlib_filefunc_def pzlib_filefunc_def)

Definition at line 223 of file ioapi.c.

◆ fill_zlib_filefunc64_32_def_from_filefunc32()

void fill_zlib_filefunc64_32_def_from_filefunc32 ( zlib_filefunc64_32_def p_filefunc64_32,
const zlib_filefunc_def p_filefunc32 
)

Definition at line 59 of file ioapi.c.

◆ fopen64_file_func()

static voidpf fopen64_file_func ( voidpf  opaque,
const void *  filename,
int  mode 
)
static

Definition at line 104 of file ioapi.c.

◆ fopen_file_func()

static voidpf fopen_file_func ( voidpf  opaque,
const char *  filename,
int  mode 
)
static

Definition at line 85 of file ioapi.c.

◆ fread_file_func()

static uLong fread_file_func ( voidpf  opaque,
voidpf  stream,
void *  buf,
uLong  size 
)
static

Definition at line 127 of file ioapi.c.

◆ fseek64_file_func()

static long fseek64_file_func ( voidpf  opaque,
voidpf  stream,
ZPOS64_T  offset,
int  origin 
)
static

Definition at line 181 of file ioapi.c.

◆ fseek_file_func()

static long fseek_file_func ( voidpf  opaque,
voidpf  stream,
uLong  offset,
int  origin 
)
static

Definition at line 158 of file ioapi.c.

◆ ftell64_file_func()

static ZPOS64_T ftell64_file_func ( voidpf  opaque,
voidpf  stream 
)
static

Definition at line 149 of file ioapi.c.

◆ ftell_file_func()

static long ftell_file_func ( voidpf  opaque,
voidpf  stream 
)
static

Definition at line 141 of file ioapi.c.

◆ fwrite_file_func()

static uLong fwrite_file_func ( voidpf  opaque,
voidpf  stream,
const void *  buf,
uLong  size 
)
static

Definition at line 134 of file ioapi.c.

◆ OF() [1/5]

static voidpf fopen_file_func OF ( (voidpf opaque, const char *filename, int mode)  )
static

◆ OF() [2/5]

static ZPOS64_T ftell64_file_func OF ( (voidpf opaque, voidpf stream)  )
static

◆ OF() [3/5]

static uLong fwrite_file_func OF ( (voidpf opaque, voidpf stream, const void *buf, uLong size)  )
static

◆ OF() [4/5]

static uLong fread_file_func OF ( (voidpf opaque, voidpf stream, void *buf, uLong size)  )
static

◆ OF() [5/5]

static long fseek64_file_func OF ( (voidpf opaque, voidpf stream, ZPOS64_T offset, int origin)  )
static