|
Wing Commander
Reconstructed Win32 source (1996)
|
stdio wrappers used by the streamer and its thread. More...
Go to the source code of this file.
Functions | |
| void | ix_file_init_hook (void) |
| void | ix_file_shutdown_hook (void) |
| FILE * | ix_file_open (const char *path, int mode) |
| void | ix_file_close (FILE *file) |
| void | ix_file_seek (FILE *file, long position) |
| long | ix_file_tell (FILE *file) |
| unsigned int | ix_file_read (FILE *file, void *destination, unsigned int bytes) |
| unsigned int | ix_file_write (FILE *file, const void *source, unsigned int bytes) |
| long | ix_file_size (FILE *file) |
stdio wrappers used by the streamer and its thread.
Address range 461630-4617bf. A separate object from the LZO decoder before it: the linker pads to its 16-byte boundary with INT3 between the two, in WC1 and WC2 alike. Like the decoder it came from a library of its own, pulled only on LINK's second search pass.
Definition in file ixfile.cpp.
| void ix_file_close | ( | FILE * | file | ) |
Definition at line 44 of file ixfile.cpp.
References ix_file_close().
Referenced by ix_file_close(), ix_streamer_close_file(), and ix_streamer_close_stream_file().
Definition at line 20 of file ixfile.cpp.
References ix_file_init_hook().
Referenced by ix_file_init_hook().
| FILE * ix_file_open | ( | const char * | path, |
| int | mode ) |
Definition at line 30 of file ixfile.cpp.
References ix_file_open().
Referenced by ix_file_open(), ix_streamer_open_file(), and ix_streamer_open_stream_file().
| unsigned int ix_file_read | ( | FILE * | file, |
| void * | destination, | ||
| unsigned int | bytes ) |
Definition at line 62 of file ixfile.cpp.
References ix_file_read().
Referenced by ix_file_read(), ix_streamer_open_stream_file(), ix_thread_handle_file_chunk(), and ix_thread_lock_stream_buffer().
| void ix_file_seek | ( | FILE * | file, |
| long | position ) |
Definition at line 50 of file ixfile.cpp.
References ix_file_seek().
Referenced by ix_file_seek(), ix_streamer_open_stream_file(), ix_thread_handle_file_chunk(), and ix_thread_lock_stream_buffer().
Definition at line 25 of file ixfile.cpp.
References ix_file_shutdown_hook().
Referenced by ix_file_shutdown_hook().
| long ix_file_size | ( | FILE * | file | ) |
Definition at line 76 of file ixfile.cpp.
References ix_file_size().
Referenced by ix_file_size(), and ix_streamer_open_file().
| long ix_file_tell | ( | FILE * | file | ) |
Definition at line 56 of file ixfile.cpp.
References ix_file_tell().
Referenced by ix_file_tell(), and ix_thread_handle_file_chunk().
| unsigned int ix_file_write | ( | FILE * | file, |
| const void * | source, | ||
| unsigned int | bytes ) |
Definition at line 69 of file ixfile.cpp.
References ix_file_write().
Referenced by ix_file_write().