mirror of
https://github.com/vivier/EMILE.git
synced 2024-12-22 10:29:31 +00:00
21 lines
340 B
C
21 lines
340 B
C
/*
|
|
*
|
|
* (c) 2008 Laurent Vivier <Laurent@lvivier.info>
|
|
*
|
|
*/
|
|
|
|
#include "libblock.h"
|
|
|
|
int block_init(device_io_t *device, filesystem_io_t *fs)
|
|
{
|
|
fs->mount = block_mount;
|
|
fs->umount = block_umount;
|
|
fs->open = block_open;
|
|
fs->read = block_read;
|
|
fs->lseek = block_lseek;
|
|
fs->close = block_close;
|
|
fs->fstat = block_fstat;
|
|
|
|
return 0;
|
|
}
|