X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/54219fe4a06be132b4f4f7448b7621647fe31ce2..e7e2badf7ebc4b6aeaf03366ad6fe6b919713d54:/emufs/tipo3.h diff --git a/emufs/tipo3.h b/emufs/tipo3.h index 7c5bfe7..4d05c87 100644 --- a/emufs/tipo3.h +++ b/emufs/tipo3.h @@ -38,11 +38,14 @@ #ifndef _PARAM_CTE_H_ #define _PARAM_CTE_H_ -#include "emufs.h" #include #include #include #include +#include "emufs.h" +#include "did.h" +#include "idx.h" + typedef struct block_free_t { int block; @@ -54,22 +57,23 @@ typedef struct block_reg_t { long int id_reg; } BLOCK_REG_T; -int leer_registro(EMUFS *, int , void *, unsigned long); +int emufs_tipo3_leer_registro(EMUFS *, int , void *, unsigned long); + +int emufs_tipo3_leer_bloque(EMUFS *, int , void *); -int leer_bloque(EMUFS *, int , void *); +int emufs_tipo3_grabar_registro(EMUFS *, void *, unsigned long ); -int grabar_registro(EMUFS *, void *, unsigned long ); +int emufs_tipo3_grabar_bloque(EMUFS *, void *, int); -int existe_registro(EMUFS *, int); +int emufs_tipo3_get_id(EMUFS *); -int buscar_registro(EMUFS *, int); +int emufs_tipo3_existe_registro(EMUFS *, int); -int buscar_lugar(EMUFS *, unsigned long , int *); +int emufs_tipo3_buscar_registro(EMUFS *, int); -int get_id(EMUFS *); +int emufs_tipo3_buscar_lugar(EMUFS *, unsigned long , int *); -int grabar_bloque(EMUFS *, void *, int); +int emufs_tipo3_borrar_registro(EMUFS*, int, int); -int borrar_registro(EMUFS*, int, int); #endif /* _PARAM_CTE_H_ */