X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/c4b24cdb8c9c9c83ad2b4cad26560b3487d15bd7..7c4ffe61bc88d99fe6dd9da2c07c1a5de559b833:/emufs_gui/articulos.h diff --git a/emufs_gui/articulos.h b/emufs_gui/articulos.h index 8d7eced..f398b63 100644 --- a/emufs_gui/articulos.h +++ b/emufs_gui/articulos.h @@ -8,6 +8,7 @@ #include #include "form.h" #include "emufs.h" +#include "common.h" /* Tipo de dato articulo */ typedef struct _articulo_ { @@ -15,7 +16,7 @@ typedef struct _articulo_ { char desc[51]; char presentacion[31]; char existencia[9]; -/* char ubicacion[31]; */ + char ubicacion[31]; char pvu[9]; char emin[9]; } t_Articulo; @@ -34,10 +35,13 @@ typedef struct _lista_articulos_ { t_LstArticulos *art_cargar(const char *filename, int tipo, int tam_registro); 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 *); +t_LstArticulos *art_get_lst(); +void art_reformatear(int tipo, int tam_bloque, int tam_reg); -#endif +int art_exportar_xml(const char *filename); +#endif