X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/f5f9e412009380bc5aea316c9ff48ea379f17f0c..1e4a85495eb5703c5c2caa0558e2bcfd548938f1:/emufs/fsc.h diff --git a/emufs/fsc.h b/emufs/fsc.h index e331b18..e6a0528 100644 --- a/emufs/fsc.h +++ b/emufs/fsc.h @@ -45,7 +45,7 @@ typedef struct emufs_fsc_t { unsigned long int marker; unsigned long int freespace; -}EMUFS_FSC; +} EMUFS_FSC; int emufs_fsc_crear(EMUFS*); int emufs_fsc_agregar(EMUFS *, EMUFS_BLOCK_ID, EMUFS_FREE); @@ -55,8 +55,9 @@ int emufs_fsc_actualizar_gap(EMUFS *, EMUFS_OFFSET, 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); -/*Devuelve el total de espacio libre que queda en el .dat*/ EMUFS_FREE emufs_fsc_get_total_fs(EMUFS *); -/*EMUFS_FREE emufs_fsc_get_max_min_fs(EMUFS *, int *, int *);*/ - +EMUFS_FREE emufs_fsc_get_media_fs(EMUFS *); +int emufs_fsc_get_max_min_fs(EMUFS *, EMUFS_FREE *, EMUFS_FREE *); +int emufs_fsc_truncate(EMUFS*, EMUFS_BLOCK_ID); +int emufs_fsc_get_cant_bloques_vacios(EMUFS *emu); #endif /* _EMUFS_FSC_H */