X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/3719f9bdbbeb0b8573b5887edc0aa2c9e835760a..a559d9c266c7120220093b1e918a2473a62eccb0:/emufs_gui/articulos.h?ds=sidebyside diff --git a/emufs_gui/articulos.h b/emufs_gui/articulos.h index 57514f4..2b05305 100644 --- a/emufs_gui/articulos.h +++ b/emufs_gui/articulos.h @@ -6,8 +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_ { @@ -32,13 +36,22 @@ 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); -#endif +void art_reformatear(t_Parametros *param); + +int art_exportar_xml(const char *filename); + +void art_recorrer(); +void art_ver_ventas(); + +void art_actualizar_stock(int numero, int cv); + +#endif