mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-29 11:31:20 +00:00
9bd9755dbb
Signed-off-by: Laurent Vivier <Laurent@Vivier.EU>
20 lines
615 B
C
20 lines
615 B
C
/*
|
|
*
|
|
* (c) 2005 Laurent Vivier <Laurent@Vivier.EU>
|
|
*
|
|
*/
|
|
|
|
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
|
|
#include <libstream.h>
|
|
|
|
extern int block_init(device_io_t *device, filesystem_io_t *fs);
|
|
extern stream_VOLUME *block_mount(device_io_t *device);
|
|
extern int block_umount(stream_VOLUME *volume);
|
|
extern stream_FILE *block_open(stream_VOLUME *volume, char *path);
|
|
extern void block_close(stream_FILE *file);
|
|
extern size_t block_read(stream_FILE *file, void *ptr, size_t size);
|
|
extern int block_lseek(stream_FILE *file, off_t offset, int whence);
|
|
extern int block_fstat(stream_FILE *file, struct stream_stat *buf);
|