X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/8c4b45bea612dbaa2b478203697ab153a11bf18a..03906f9085993640c8cccdd07574d9b9c71209a0:/tipo3/param_cte.h diff --git a/tipo3/param_cte.h b/tipo3/param_cte.h index 545c21e..cfc1295 100644 --- a/tipo3/param_cte.h +++ b/tipo3/param_cte.h @@ -3,12 +3,8 @@ #include #include #include -#include "interface.h" +#include "emufs.h" -typedef struct reg_exist_t{ - int id_reg; - char existe; -}REG_EXIST_T; typedef struct block_free_t{ int block; @@ -24,10 +20,15 @@ int leer_registro(EMUFS *emu, int ID, void *, unsigned long tam); int leer_bloque(EMUFS *emu, int ID, void *); -int grabar_registro(int ID, void *, unsigned long tam); +int grabar_registro(EMUFS *emu, void *, unsigned long tam); int existe_registro(EMUFS *emu, int ID); int buscar_registro(EMUFS *emu, int ID); +int buscar_lugar(EMUFS *emu, unsigned long tam, int *fs); + +int get_id(EMUFS *emu); + +int grabar_bloque(EMUFS *emu, void *ptr, int num); #endif