X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/6c5fe1e15e441c27ba01b22b91bf1e5843ae53f2..1e96d89cf3c42131b8a8731a3fb76eb111550a52:/emufs/fsc.h?ds=sidebyside diff --git a/emufs/fsc.h b/emufs/fsc.h index 0216094..aa2f704 100644 --- a/emufs/fsc.h +++ b/emufs/fsc.h @@ -20,6 +20,7 @@ *---------------------------------------------------------------------------- * Creado: vie abr 9 16:17:50 ART 2004 * Autores: Nicolás Dimov + * Leandro Lucarella *---------------------------------------------------------------------------- * * $Id$ @@ -39,12 +40,17 @@ #include "emufs.h" -int emufs_fsc_agregar(EMUFS *, int, int); +#define EMUFS_FSC_EXT ".fsc" -int emufs_fsc_actualizar(EMUFS *, int, int); +typedef struct emufs_fsc_t { + unsigned long int n_Marker; + unsigned long int n_FreeSpace; +} EMUFS_FSC; -int emufs_fsc_buscar_lugar(EMUFS *, unsigned long, int *); - -int emufs_fsc_get_fs(EMUFS *, int); +int emufs_fsc_crear(EMUFS*); +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 */