EMILE/tools/device.h
2005-11-21 22:09:16 +00:00

16 lines
309 B
C

/*
*
* (c) 2005 Laurent Vivier <LaurentVivier@wanadoo.fr>
*
*/
#include <sys/types.h>
#include <unistd.h>
#include <stdio.h>
#include <libstream.h>
extern FILE *device_open(void);
extern void device_close(void *data);
extern int device_read_sector(void *data, off_t offset, void* buffer, size_t size);