Rizin
unix-like reverse engineering framework and cli tools
|
Go to the source code of this file.
Classes | |
struct | WIN32FILE_IOWIN |
Macros | |
#define | INVALID_HANDLE_VALUE (0xFFFFFFFF) |
#define | INVALID_SET_FILE_POINTER ((DWORD)-1) |
void fill_win32_filefunc | ( | zlib_filefunc_def * | pzlib_filefunc_def | ) |
Definition at line 414 of file iowin32.c.
References NULL, zlib_filefunc_def_s::opaque, win32_close_file_func(), win32_error_file_func(), win32_open_file_func(), win32_read_file_func(), win32_seek_file_func(), win32_tell_file_func(), win32_write_file_func(), zlib_filefunc_def_s::zclose_file, zlib_filefunc_def_s::zerror_file, zlib_filefunc_def_s::zopen_file, zlib_filefunc_def_s::zread_file, zlib_filefunc_def_s::zseek_file, zlib_filefunc_def_s::ztell_file, and zlib_filefunc_def_s::zwrite_file.
void fill_win32_filefunc64 | ( | zlib_filefunc64_def * | pzlib_filefunc_def | ) |
Definition at line 426 of file iowin32.c.
References NULL, zlib_filefunc64_def_s::opaque, win32_close_file_func(), win32_error_file_func(), win32_open64_file_func(), win32_read_file_func(), win32_seek64_file_func(), win32_tell64_file_func(), win32_write_file_func(), zlib_filefunc64_def_s::zclose_file, zlib_filefunc64_def_s::zerror_file, zlib_filefunc64_def_s::zopen64_file, zlib_filefunc64_def_s::zread_file, zlib_filefunc64_def_s::zseek64_file, zlib_filefunc64_def_s::ztell64_file, and zlib_filefunc64_def_s::zwrite_file.
void fill_win32_filefunc64A | ( | zlib_filefunc64_def * | pzlib_filefunc_def | ) |
Definition at line 439 of file iowin32.c.
References NULL, zlib_filefunc64_def_s::opaque, win32_close_file_func(), win32_error_file_func(), win32_open64_file_funcA(), win32_read_file_func(), win32_seek64_file_func(), win32_tell64_file_func(), win32_write_file_func(), zlib_filefunc64_def_s::zclose_file, zlib_filefunc64_def_s::zerror_file, zlib_filefunc64_def_s::zopen64_file, zlib_filefunc64_def_s::zread_file, zlib_filefunc64_def_s::zseek64_file, zlib_filefunc64_def_s::ztell64_file, and zlib_filefunc64_def_s::zwrite_file.
Referenced by main().
void fill_win32_filefunc64W | ( | zlib_filefunc64_def * | pzlib_filefunc_def | ) |
Definition at line 452 of file iowin32.c.
References NULL, zlib_filefunc64_def_s::opaque, win32_close_file_func(), win32_error_file_func(), win32_open64_file_funcW(), win32_read_file_func(), win32_seek64_file_func(), win32_tell64_file_func(), win32_write_file_func(), zlib_filefunc64_def_s::zclose_file, zlib_filefunc64_def_s::zerror_file, zlib_filefunc64_def_s::zopen64_file, zlib_filefunc64_def_s::zread_file, zlib_filefunc64_def_s::zseek64_file, zlib_filefunc64_def_s::ztell64_file, and zlib_filefunc64_def_s::zwrite_file.
|
static |
Definition at line 241 of file iowin32.c.
References DWORD, FALSE, LONG, NULL, pos, and TRUE.
Referenced by win32_seek64_file_func(), win32_seek_file_func(), win32_tell64_file_func(), and win32_tell_file_func().
uLong ZCALLBACK win32_write_file_func OF | ( | (voidpf opaque, voidpf stream, const void *buf, uLong size) | ) |
long ZCALLBACK win32_seek64_file_func OF | ( | (voidpf opaque, voidpf stream, ZPOS64_T offset, int origin) | ) |
Definition at line 77 of file iowin32.c.
References WIN32FILE_IOWIN::error, WIN32FILE_IOWIN::hf, INVALID_HANDLE_VALUE, malloc(), and NULL.
Referenced by win32_open64_file_func(), win32_open64_file_funcA(), win32_open64_file_funcW(), and win32_open_file_func().
Definition at line 386 of file iowin32.c.
References free(), HANDLE, and NULL.
Referenced by fill_win32_filefunc(), fill_win32_filefunc64(), fill_win32_filefunc64A(), and fill_win32_filefunc64W().
Definition at line 404 of file iowin32.c.
Referenced by fill_win32_filefunc(), fill_win32_filefunc64(), fill_win32_filefunc64A(), and fill_win32_filefunc64W().
Definition at line 96 of file iowin32.c.
References DWORD, HANDLE, NULL, win32_build_iowin(), and win32_translate_open_mode().
Referenced by fill_win32_filefunc64().
Definition at line 125 of file iowin32.c.
References DWORD, HANDLE, NULL, win32_build_iowin(), and win32_translate_open_mode().
Referenced by fill_win32_filefunc64A().
Definition at line 149 of file iowin32.c.
References DWORD, HANDLE, NULL, win32_build_iowin(), and win32_translate_open_mode().
Referenced by fill_win32_filefunc64W().
Definition at line 169 of file iowin32.c.
References DWORD, HANDLE, NULL, win32_build_iowin(), and win32_translate_open_mode().
Referenced by fill_win32_filefunc().
Definition at line 198 of file iowin32.c.
References DWORD, error(), HANDLE, int, and NULL.
Referenced by fill_win32_filefunc(), fill_win32_filefunc64(), fill_win32_filefunc64A(), and fill_win32_filefunc64W().
Definition at line 347 of file iowin32.c.
References DWORD, error(), HANDLE, int, MySetFilePointerEx(), NULL, pos, ZLIB_FILEFUNC_SEEK_CUR, ZLIB_FILEFUNC_SEEK_END, and ZLIB_FILEFUNC_SEEK_SET.
Referenced by fill_win32_filefunc64(), fill_win32_filefunc64A(), and fill_win32_filefunc64W().
Definition at line 309 of file iowin32.c.
References DWORD, error(), HANDLE, int, MySetFilePointerEx(), NULL, pos, ZLIB_FILEFUNC_SEEK_CUR, ZLIB_FILEFUNC_SEEK_END, and ZLIB_FILEFUNC_SEEK_SET.
Referenced by fill_win32_filefunc().
Definition at line 284 of file iowin32.c.
References DWORD, error(), HANDLE, int, MySetFilePointerEx(), NULL, and pos.
Referenced by fill_win32_filefunc64(), fill_win32_filefunc64A(), and fill_win32_filefunc64W().
Definition at line 261 of file iowin32.c.
References DWORD, error(), HANDLE, int, long, MySetFilePointerEx(), NULL, and pos.
Referenced by fill_win32_filefunc().
|
static |
Definition at line 51 of file iowin32.c.
References ZLIB_FILEFUNC_MODE_CREATE, ZLIB_FILEFUNC_MODE_EXISTING, ZLIB_FILEFUNC_MODE_READ, and ZLIB_FILEFUNC_MODE_READWRITEFILTER.
Referenced by win32_open64_file_func(), win32_open64_file_funcA(), win32_open64_file_funcW(), and win32_open_file_func().
uLong ZCALLBACK win32_write_file_func | ( | voidpf | opaque, |
voidpf | stream, | ||
const void * | buf, | ||
uLong | size | ||
) |
Definition at line 220 of file iowin32.c.
References DWORD, error(), HANDLE, int, and NULL.
Referenced by fill_win32_filefunc(), fill_win32_filefunc64(), fill_win32_filefunc64A(), and fill_win32_filefunc64W().