ioapi.h File Reference

This graph shows which files directly or indirectly include this file:

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 const char * filename
typedef const char int mode
typedef voidpf stream
typedef voidpf void * buf
typedef voidpf void uLong size
typedef voidpf stream
typedef voidpf const void * buf
typedef voidpf const void
uLong 
size
typedef voidpf stream
typedef voidpf stream
typedef voidpf uLong offset
typedef voidpf uLong int origin
typedef voidpf stream
typedef voidpf stream
typedef 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))


Define Documentation

#define ZCALLBACK
 

Definition at line 30 of file ioapi.h.

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

Definition at line 66 of file ioapi.h.

Referenced by unzClose(), unzOpen2(), zipClose(), and zipOpen2().

#define ZERROR filefunc,
filestream   )     ((*((filefunc).zerror_file))((filefunc).opaque,filestream))
 

Definition at line 67 of file ioapi.h.

Referenced by unzlocal_getByte(), and ziplocal_getByte().

#define ZLIB_FILEFUNC_MODE_CREATE   (8)
 

Definition at line 22 of file ioapi.h.

Referenced by fopen_file_func(), win32_open_file_func(), and zipOpen2().

#define ZLIB_FILEFUNC_MODE_EXISTING   (4)
 

Definition at line 21 of file ioapi.h.

Referenced by fopen_file_func(), unzOpen2(), win32_open_file_func(), and zipOpen2().

#define ZLIB_FILEFUNC_MODE_READ   (1)
 

Definition at line 17 of file ioapi.h.

Referenced by fopen_file_func(), unzOpen2(), win32_open_file_func(), and zipOpen2().

#define ZLIB_FILEFUNC_MODE_READWRITEFILTER   (3)
 

Definition at line 19 of file ioapi.h.

Referenced by fopen_file_func(), and win32_open_file_func().

#define ZLIB_FILEFUNC_MODE_WRITE   (2)
 

Definition at line 18 of file ioapi.h.

Referenced by zipOpen2().

#define ZLIB_FILEFUNC_SEEK_CUR   (1)
 

Definition at line 13 of file ioapi.h.

Referenced by fseek_file_func(), unzlocal_GetCurrentFileInfoInternal(), and win32_seek_file_func().

#define ZLIB_FILEFUNC_SEEK_END   (2)
 

Definition at line 14 of file ioapi.h.

Referenced by fseek_file_func(), unzlocal_SearchCentralDir(), win32_seek_file_func(), and ziplocal_SearchCentralDir().

#define ZLIB_FILEFUNC_SEEK_SET   (0)
 

Definition at line 15 of file ioapi.h.

Referenced by fseek_file_func(), unzGetGlobalComment(), unzGetLocalExtrafield(), unzlocal_CheckCurrentFileCoherencyHeader(), unzlocal_GetCurrentFileInfoInternal(), unzlocal_SearchCentralDir(), unzOpen2(), unzReadCurrentFile(), win32_seek_file_func(), zipCloseFileInZipRaw(), ziplocal_SearchCentralDir(), and zipOpen2().

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

Definition at line 62 of file ioapi.h.

Referenced by unzGetGlobalComment(), unzGetLocalExtrafield(), unzlocal_getByte(), unzlocal_GetCurrentFileInfoInternal(), unzlocal_SearchCentralDir(), unzOpenCurrentFile3(), unzReadCurrentFile(), ziplocal_getByte(), ziplocal_SearchCentralDir(), and zipOpen2().

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

Definition at line 65 of file ioapi.h.

Referenced by unzGetGlobalComment(), unzGetLocalExtrafield(), unzlocal_CheckCurrentFileCoherencyHeader(), unzlocal_GetCurrentFileInfoInternal(), unzlocal_SearchCentralDir(), unzOpen2(), unzOpenCurrentFile3(), unzReadCurrentFile(), zipCloseFileInZipRaw(), ziplocal_SearchCentralDir(), and zipOpen2().

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

Definition at line 64 of file ioapi.h.

Referenced by unzlocal_SearchCentralDir(), zipClose(), zipCloseFileInZipRaw(), ziplocal_SearchCentralDir(), zipOpen2(), and zipOpenNewFileInZip3().

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

Definition at line 63 of file ioapi.h.

Referenced by zipClose(), zipFlushWriteBuffer(), and zipOpenNewFileInZip3().


Typedef Documentation

typedef voidpf const void* buf
 

Definition at line 40 of file ioapi.h.

typedef voidpf void* buf
 

Definition at line 39 of file ioapi.h.

typedef const char* filename
 

Definition at line 38 of file ioapi.h.

typedef const char int mode
 

Definition at line 38 of file ioapi.h.

typedef voidpf uLong offset
 

Definition at line 42 of file ioapi.h.

typedef voidpf uLong int origin
 

Definition at line 42 of file ioapi.h.

typedef voidpf const void uLong size
 

Definition at line 40 of file ioapi.h.

typedef voidpf void uLong size
 

Definition at line 39 of file ioapi.h.

typedef voidpf stream
 

Definition at line 44 of file ioapi.h.

typedef voidpf stream
 

Definition at line 43 of file ioapi.h.

typedef voidpf stream
 

Definition at line 42 of file ioapi.h.

typedef voidpf stream
 

Definition at line 41 of file ioapi.h.

typedef voidpf stream
 

Definition at line 40 of file ioapi.h.

typedef voidpf stream
 

Definition at line 39 of file ioapi.h.

typedef struct zlib_filefunc_def_s zlib_filefunc_def
 


Function Documentation

typedef int ZCALLBACK *  close_file_func  ) 
 

Referenced by _doprnt(), _doscan(), _dvi(), _ini(), DotZLib::Inflater::Add(), DotZLib::Deflater::Add(), advance(), alarm(), alloc_inode(), alloc_zone(), apply_add(), Arith(), arp_getdata(), arp_putdata(), Array(), arrayelm(), askerr(), Assign(), bc_divide(), bcpio_rd(), bcpio_wr(), bitmapsize(), bits(), Block_Pointers(), Call(), cat(), check(), cmd_xct(), command(), Cond(), constant(), copy(), cvt(), deliver(), display(), distext(), do_autopart(), do_chown(), do_comm(), do_fork(), do_ioctl(), do_trace(), do_umap(), dottoa(), Draw_Screen(), dump_core(), dump_dir(), dump_stack(), e_gowd(), exp_do(), expr10(), extract(), f_debug(), f_pshinf(), Field(), fill(), fillnum(), DotZLib::CircularBuffer::Get(), get_args(), get_block(), get_eth_data(), get_fileblock(), get_header(), get_number(), get_unumber(), getFileCrc(), getw(), gnu_load(), gzputc(), gzseek(), icmp_getdata(), icmp_putdata(), in(), insert_arg(), itoa(), Jump(), label_target(), load_code(), longest_match(), longest_match_fast(), m_bsrch(), m_fsrch(), m_shell(), main(), makedir(), malloc(), Map_Pointers(), match(), nm(), nudgecursor(), numeral(), out(), out_num(), pclose(), pm_exit(), pr_rr(), Print(), print1(), print_time(), printit(), process_params(), prratio(), put_eth_data(), putw(), qsort(), r_vir2abs(), rd_wrfile(), read_core(), read_map(), read_write(), realloc(), regsub(), search_hist(), set_alarm(), set_signals(), setegid(), setgid(), setsize(), sig_proc(), sigjmp(), Split(), sr_get_userdata(), sr_put_userdata(), store_var(), str_offt(), Strfun(), Subst(), sys_segctl(), tcp_get_data(), tcp_put_data(), test38c(), test_gzio(), trymandir(), TTYinfo(), udp_get_data(), udp_put_data(), ul2a(), unzlocal_getByte(), unzOpenCurrentFile3(), unzRepair(), update_keys(), v_popup(), valloc(), vfill(), waitproc(), win32_read_file_func(), win32_seek_file_func(), win32_tell_file_func(), win32_write_file_func(), Word_Pointers(), wr_archive(), write_map(), and ziplocal_getByte().

typedef long ZCALLBACK *  tell_file_func  ) 
 

Referenced by _doprnt(), _doscan(), _dvil(), _exp(), _tr_tally(), add_sample(), adjust(), asciirecv(), asciisend(), b64_add(), backtrace(), bget4(), binaryrecv(), binarysend(), bits(), bload(), c4u4(), chksuper(), command(), compact(), compress(), conv4(), conv_stamp(), convert(), copy(), copy_member(), cr_file(), deflateSetDictionary(), disp_maps(), display(), div_ext(), do_brk(), do_fcntl(), do_sigpending(), do_sigprocmask(), do_stime(), dump_all_segs(), dump_maps(), el1_interrupt(), exp(), extract(), fill(), fill_window(), ftell(), func1(), get_args(), get_reg(), getofmt(), gmtime(), inflate_fast(), ip_ioctl(), kernel_info(), load_file(), locked(), main(), make_ulg(), new_mem(), nrm_ext(), ns_recv(), ns_send(), num(), printit(), Process(), psip_setopt(), rd_arhdr(), rd_ohead(), read4(), Read_Block(), read_header(), recnum(), recompute0(), recvfile(), reg_addr(), sbx_ffnd(), set(), set_bit(), set_reg(), setmap(), sigjmp(), sigprocmask(), sigsuspend(), sys_physcopy(), sys_vircopy(), tcp_main(), tcp_setconf(), tcp_setopt(), tcp_setup_conn(), udp_setopt(), win32_tell_file_func(), and WT().

void fill_fopen_filefunc OF (zlib_filefunc_def *pzlib_filefunc_def)   ) 
 

typedef uLong ZCALLBACK *  read_file_func  ) 
 

typedef voidpf ZCALLBACK *  open_file_func  ) 
 


Generated on Fri Apr 14 23:20:29 2006 for minix by  doxygen 1.4.6