core: stream: replaced cached cursor counter with a tell() function callback
This commit is contained in:
@@ -45,6 +45,7 @@ typedef struct b_stream {
|
||||
|
||||
b_status (*s_close)(struct b_stream *);
|
||||
b_status (*s_seek)(struct b_stream *, long long, b_stream_seek_origin);
|
||||
b_status (*s_tell)(const struct b_stream *, size_t *);
|
||||
b_status (*s_getc)(struct b_stream *, int *);
|
||||
b_status (*s_read)(struct b_stream *, unsigned char *, size_t, size_t *);
|
||||
b_status (*s_write)(
|
||||
|
||||
Reference in New Issue
Block a user