X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/840e216ee1d0b23864f75f44ba549899669d9595..af579b5183b7ba2c7aced0852702cd1f61b5576c:/emufs_gui/articulos.h diff --git a/emufs_gui/articulos.h b/emufs_gui/articulos.h index 432e85b..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,11 +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