X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/381a5f98d66c8a3847d9918077a351b4813558fd..5a2e60f0e504ec59f3e8b9acbaaf20fc0b9907a3:/emufs/idx.c?ds=inline diff --git a/emufs/idx.c b/emufs/idx.c index fcaa7fc..06cb824 100644 --- a/emufs/idx.c +++ b/emufs/idx.c @@ -279,3 +279,12 @@ int emufs_idx_actualizar(EMUFS *emu, int ID, EMUFS_BLOCK_ID bloque) fclose(f_idx); return 0; } + +long emufs_idx_get_file_size(EMUFS* efs, int* err) +{ + char name[255]; + strcpy(name, efs->nombre); + strcat(name, EMUFS_IDX_EXT); + return emufs_common_get_file_size(name, err); +} +