/* * * (c) 2005-2007 Laurent Vivier * */ #include #include #include #include extern int device_sector_size; extern int device_open(char *device, int flags); extern void device_close(void *data); extern int device_write_sector(void *data,off_t offset, void* buffer, size_t size); extern int device_read_sector(void *data, off_t offset, void* buffer, size_t size);