]> git.llucax.com Git - z.facultad/75.06/emufs.git/blobdiff - emufs_gui/emufs_view.c
Agrego funciones para obtener menor y mayor claves del arbol y las asigno a punteros...
[z.facultad/75.06/emufs.git] / emufs_gui / emufs_view.c
index 003a6b3cfdee9a52047fc0b82486de66a80ce0ce..73267e76bcd5dcb877924caf221f216d2659505e 100644 (file)
@@ -132,6 +132,27 @@ void leer_param_ind_fact(t_Parametros *param, xmlNode *padre)
                                        tmp = xml_get_prop(node, "bloque");
                                        param->ind_fac[1].tam_bloque = atoi(tmp);
                                        free(tmp);
+                               } else if (strcmp(nombre, "vto")==0) {
+                                       tmp = xml_get_prop(node, "tipo");
+                                       param->ind_fac[2].tipo_arbol = leer_tipo_arbol(tmp);
+                                       free(tmp);
+                                       tmp = xml_get_prop(node, "bloque");
+                                       param->ind_fac[2].tam_bloque = atoi(tmp);
+                                       free(tmp);
+                               } else if (strcmp(nombre, "cheque")==0) {
+                                       tmp = xml_get_prop(node, "tipo");
+                                       param->ind_fac[3].tipo_arbol = leer_tipo_arbol(tmp);
+                                       free(tmp);
+                                       tmp = xml_get_prop(node, "bloque");
+                                       param->ind_fac[3].tam_bloque = atoi(tmp);
+                                       free(tmp);
+                               } else if (strcmp(nombre, "ctacte")==0) {
+                                       tmp = xml_get_prop(node, "tipo");
+                                       param->ind_fac[4].tipo_arbol = leer_tipo_arbol(tmp);
+                                       free(tmp);
+                                       tmp = xml_get_prop(node, "bloque");
+                                       param->ind_fac[4].tam_bloque = atoi(tmp);
+                                       free(tmp);
                                }
                                PERR("  LISTO");
                                free(nombre);