diff options
author | FreeArtMan <dos21h@gmail.com> | 2019-09-25 19:17:09 +0100 |
---|---|---|
committer | FreeArtMan <dos21h@gmail.com> | 2019-09-25 19:17:09 +0100 |
commit | 3e187c094f12ef41ea6de2f55d128c3e037b5c12 (patch) | |
tree | f0dbbc5df260532e284ca5264297d0a8044eaeb4 /core.h | |
parent | bbd73385a0db271b457c63e4d6bab54f581410f9 (diff) | |
download | ihe-3e187c094f12ef41ea6de2f55d128c3e037b5c12.tar.gz ihe-3e187c094f12ef41ea6de2f55d128c3e037b5c12.zip |
Untested version, recompiled with new buf library and with c+
Diffstat (limited to 'core.h')
-rw-r--r-- | core.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -98,9 +98,9 @@ typedef struct file_t file_t *file_init(); int file_open_fn( file_t *ft, const char *filename, int mode ); int file_open( file_t *ft, const char *filename, int flags, int mode ); -int file_read_blk( file_t *ft, uint8_t *buf ); +int file_read_blk( file_t *ft, uint8_t *buf, int sz ); int file_read( file_t *ft, uint8_t *buf, size_t count ); -int file_write_blk( file_t *ft, uint8_t *buf ); +int file_write_blk( file_t *ft, uint8_t *buf, int sz ); int file_write( file_t *ft, uint8_t *buf, size_t count ); int file_seek( file_t *ft, off_t offset ); //seek by offset int file_seekp( file_t *ft, off_t offset ); |