X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/ee8568afe20289bebd04904350c3f2563fc90e4a..83110706b7a81ad5a9964c92823b7827d9088256:/emufs/fsc.h diff --git a/emufs/fsc.h b/emufs/fsc.h index 9e44692..aa2f704 100644 --- a/emufs/fsc.h +++ b/emufs/fsc.h @@ -43,18 +43,14 @@ #define EMUFS_FSC_EXT ".fsc" typedef struct emufs_fsc_t { - int block; - int free_space; + unsigned long int n_Marker; + unsigned long int n_FreeSpace; } EMUFS_FSC; int emufs_fsc_crear(EMUFS*); - -int emufs_fsc_agregar(EMUFS *, int, int); - -int emufs_fsc_actualizar(EMUFS *, int, int); - -int emufs_fsc_buscar_lugar(EMUFS *, unsigned long, int *); - -int emufs_fsc_get_fs(EMUFS *, int); +int emufs_fsc_agregar(EMUFS *, EMUFS_BLOCK_ID, EMUFS_FREE); +int emufs_fsc_actualizar(EMUFS *, EMUFS_BLOCK_ID, EMUFS_FREE); +EMUFS_BLOCK_ID emufs_fsc_buscar_lugar(EMUFS *, EMUFS_FREE, EMUFS_FREE *); +EMUFS_FREE emufs_fsc_get_fs(EMUFS *, EMUFS_BLOCK_ID); #endif /* _EMUFS_FSC_H */