+/* vim: set noexpandtab tabstop=4 shiftwidth=4:
+ *----------------------------------------------------------------------------
+ * emufs
+ *----------------------------------------------------------------------------
+ * This file is part of emufs.
+ *
+ * emufs is free software; you can redistribute it and/or modify it under the
+ * terms of the GNU General Public License as published by the Free Software
+ * Foundation; either version 2 of the License, or (at your option) any later
+ * version.
+ *
+ * emufs is distributed in the hope that it will be useful, but WITHOUT ANY
+ * WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
+ * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
+ * details.
+ *
+ * You should have received a copy of the GNU General Public License along
+ * with emufs; if not, write to the Free Software Foundation, Inc., 59 Temple
+ * Place, Suite 330, Boston, MA 02111-1307 USA
+ *----------------------------------------------------------------------------
+ * Creado: mié mar 31 17:26:46 ART 2004
+ * Autores: Nicolás Dimov <sagardua@uolsinectis.com.ar>
+ *----------------------------------------------------------------------------
+ *
+ * $Id$
+ *
+ */
+
+/** \file
+ *
+ * Archivo con bloques y registros de longitud parametrizada.
+ *
+ * Implementación del archivo con bloques y registros de longitud
+ * parametrizada.
+ *
+ */
+
#ifndef _PARAM_CTE_H_
#define _PARAM_CTE_H_
+
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "emufs.h"
+#include "did.h"
+#include "idx.h"
+#include "fsc.h"
-typedef struct block_free_t{
+
+typedef struct block_free_t {
int block;
int free_space;
-}BLOCK_FREE_T;
+} BLOCK_FREE_T;
-typedef struct block_reg_t{
+typedef struct block_reg_t {
int block;
long int id_reg;
-}BLOCK_REG_T;
+} BLOCK_REG_T;
+
+int emufs_tipo3_leer_registro(EMUFS *, int , void *, unsigned long);
-int 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_buscar_registro(EMUFS *, int);
-int buscar_lugar(EMUFS *, unsigned long , int *);
+int emufs_tipo3_buscar_lugar(EMUFS *, unsigned long , int *);
-int get_id(EMUFS *);
+int emufs_tipo3_borrar_registro(EMUFS*, int, int);
-int grabar_bloque(EMUFS *, void *, int);
-int borrar_registro(EMUFS*, int, int);
-#endif
+#endif /* _PARAM_CTE_H_ */