X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/c969505b67954b8956c442cce18cfee270a40751..0e7dc53e78dfe5d9f9d6b14eee33caf6c52a76bc:/emufs_gui/articulos.h diff --git a/emufs_gui/articulos.h b/emufs_gui/articulos.h index 6f5508d..2b05305 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,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); +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