#include <stdio.h>#include <string.h>#include <stdlib.h>#include <ctype.h>#include "config.h"Funciones | |
| int | config (sconfig *config) |
| int | leeconf (sconfig *conf) |
| Lee el fichero de configuración. | |
| int | busconf (char *buffer, sconfig *conf) |
| Guarda las variables en su struct correspondiente. | |
| int | busconfstr (char *buffer, char *que, char *buf2) |
| Busca los datos a almacenar. | |
| int busconf | ( | char * | buffer, | |
| sconfig * | conf | |||
| ) |
Guarda las variables en su struct correspondiente.
| int busconfstr | ( | char * | buffer, | |
| char * | que, | |||
| char * | buf2 | |||
| ) |
Busca los datos a almacenar.
| int config | ( | sconfig * | ) |
| int leeconf | ( | sconfig * | ) |
Lee el fichero de configuración.
Retornará 1 si hay cualquier error al leer el fichero. Retornará 0 si ha leido con éxito las variables del fichero XML.
1.4.7