X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/c969505b67954b8956c442cce18cfee270a40751..439bc9dba0fb23fa34afeebb80e1288d9f8d39f4:/emufs_gui/articulos.h?ds=sidebyside diff --git a/emufs_gui/articulos.h b/emufs_gui/articulos.h index 6f5508d..d87de7f 100644 --- a/emufs_gui/articulos.h +++ b/emufs_gui/articulos.h @@ -6,9 +6,12 @@ #include #include #include +#include "gui.h" #include "form.h" #include "emufs.h" #include "common.h" +#include "indices.h" +#include "indice_b.h" /* Tipo de dato articulo */ typedef struct _articulo_ { @@ -33,12 +36,18 @@ typedef struct _lista_articulos_ { EMUFS *fp; /* Filepointer al archivo donde estan los datos */ } t_LstArticulos; -t_LstArticulos *art_cargar(const char *filename, int tipo, int tam_registro); +t_LstArticulos *art_cargar(t_Parametros *param); int art_liberar(t_LstArticulos *l); -t_Articulo *art_obtener(t_LstArticulos *, const char *numero, EMUFS_REG_ID *id); +t_Articulo *art_obtener(t_LstArticulos *, int numero, EMUFS_REG_ID *id); void art_agregar(char *); void art_eliminar(char *); void art_modificar(char *); +void art_consultas(char *); t_LstArticulos *art_get_lst(); void art_reformatear(int tipo, int tam_bloque, int tam_reg); + +int art_exportar_xml(const char *filename); + +void art_recorrer(); + #endif