X-Git-Url: https://git.llucax.com/z.facultad/75.06/emufs.git/blobdiff_plain/a9f9aecb4dc1ae44e94c45b461dc18b6da2a9c9a..a559d9c266c7120220093b1e918a2473a62eccb0:/emufs_gui/articulos.h?ds=sidebyside diff --git a/emufs_gui/articulos.h b/emufs_gui/articulos.h index f398b63..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,15 +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 *, 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