6 #include "malloc_debug.h"
8 typedef enum {T1, T2, T3} EMUFS_TYPE;
10 typedef struct _emu_fs_t {
11 EMUFS_TYPE tipo; /* Corregir nombres */
12 unsigned long tam_bloque; /* 0 si no tiene bloques */
13 int (*leer_bloque)(struct _emu_fs_t *, int, void *);
14 int (*leer_registro)(struct _emu_fs_t *, int, void *, unsigned long);
15 int (*grabar_registro)(struct _emu_fs_t *, void *, unsigned long );
16 int (*borrar_registro)(struct _emu_fs_t *, int);
20 EMUFS *emufs_crear(const char *filename, char tipo, unsigned int tam_bloque, unsigned int tam_reg);
22 int emufs_destruir(EMUFS *e);