aboutsummaryrefslogtreecommitdiffstats
path: root/core.h
diff options
context:
space:
mode:
authorFreeArtMan <dos21h@gmail.com>2019-09-25 19:17:09 +0100
committerFreeArtMan <dos21h@gmail.com>2019-09-25 19:17:09 +0100
commit3e187c094f12ef41ea6de2f55d128c3e037b5c12 (patch)
treef0dbbc5df260532e284ca5264297d0a8044eaeb4 /core.h
parentbbd73385a0db271b457c63e4d6bab54f581410f9 (diff)
downloadihe-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.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/core.h b/core.h
index 638cf3c..152d6ca 100644
--- a/core.h
+++ b/core.h
@@ -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 );