mirror of
https://github.com/vivier/EMILE.git
synced 2025-01-03 12:31:57 +00:00
23 lines
313 B
C
23 lines
313 B
C
/*
|
|
*
|
|
* (c) 2005 Laurent Vivier <Laurent@lvivier.info>
|
|
*
|
|
*/
|
|
|
|
#include <sys/types.h>
|
|
#include <unistd.h>
|
|
|
|
#include <libstream.h>
|
|
|
|
typedef struct {
|
|
int base;
|
|
int offset;
|
|
int size;
|
|
device_io_t *device;
|
|
int current;
|
|
int buffer_size;
|
|
unsigned char buffer[0];
|
|
} block_FILE;
|
|
|
|
typedef device_io_t block_VOLUME;
|