#include <stdio.h>Go to the source code of this file.
Data Structures | |
| struct | logt |
| struct | option |
Enumerations | |
| enum | ltype { YESNO, INTOPT, FLOATOPT, STRINGOPT, COMMENTOPT, LOGOPT, FILEOPT, UNKNOWNOPT } |
| enum | log_t { LOG__NOTDEF, LOG__NONE, LOG__SYSLOG, LOG__FILE, LOG__STDERR, LOG__STDOUT, ELOG = 10 } |
Functions | |
| int | confparse (char *conffile, FILE *fderr) |
| option | getconf (const char *name) |
Variables | |
| option | conf [] |
Definition in file confloader.h.
|
|
These are optiontypes to use in the conf array
Definition at line 37 of file confloader.h. |
|
||||||||||||
|
Here is the main function: it takes as parameter the configuration file to load Definition at line 470 of file confloader.c. References option::mandatory, and option::name. |
|
|
This function is used to search an option in the conf array by its name Definition at line 505 of file confloader.c. References option::name. |
1.3.6