X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/54219fe4a06be132b4f4f7448b7621647fe31ce2..6c5fe1e15e441c27ba01b22b91bf1e5843ae53f2:/emufs/tipo3.h diff --git a/emufs/tipo3.h b/emufs/tipo3.h index 7c5bfe7..9b64976 100644 --- a/emufs/tipo3.h +++ b/emufs/tipo3.h @@ -22,7 +22,7 @@ * Autores: Nicolás Dimov *---------------------------------------------------------------------------- * - * $Id: command.cpp 220 2003-11-19 23:10:40Z luca $ + * $Id$ * */ @@ -35,41 +35,33 @@ * */ -#ifndef _PARAM_CTE_H_ -#define _PARAM_CTE_H_ +#ifndef _EMUFS_TIPO3_H_ +#define _EMUFS_TIPO3_H_ -#include "emufs.h" #include #include #include #include +#include "emufs.h" +#include "did.h" +#include "idx.h" +#include "fsc.h" -typedef struct block_free_t { - int block; - int free_space; -} BLOCK_FREE_T; - -typedef struct block_reg_t { - int block; - 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 leer_bloque(EMUFS *, int , void *); +int emufs_tipo3_leer_bloque(EMUFS *, int , void *); -int grabar_registro(EMUFS *, void *, unsigned long ); +int emufs_tipo3_grabar_registro(EMUFS *, void *, unsigned long ); -int existe_registro(EMUFS *, int); +int emufs_tipo3_grabar_bloque(EMUFS *, void *, int); -int buscar_registro(EMUFS *, int); +int emufs_tipo3_get_id(EMUFS *); -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_ */ +#endif /* _EMUFS_TIPO3_H_ */