EMILE/libcontainer/container_init.c

21 lines
373 B
C
Raw Normal View History

/*
*
* (c) 2008 Laurent Vivier <Laurent@Vivier.EU>
*
*/
#include "libcontainer.h"
int container_init(device_io_t *device, filesystem_io_t *fs)
{
2008-07-29 22:33:38 +00:00
fs->mount = container_mount;
fs->umount = container_umount;
fs->open = container_open;
fs->read = container_read;
fs->lseek = container_lseek;
fs->close = container_close;
fs->fstat = container_fstat;
return 0;
}