Skyld AV
0.6
On access virus scanning for Linux
|
Analyze configuration file. More...
Go to the source code of this file.
Macros | |
#define | CONF_VALUE_MAX_LEN 512 |
Typedefs | |
typedef int(* | conf_cb )(const char *key, const char *value, void *info) |
Functions | |
int | parseConfigurationFile (char *filename, conf_cb cb, void *info) |
Parses configuration file. If cb is NULL the key value pairs are output to the console. Returns 0 if successful. More... | |
Analyze configuration file.
Definition in file conf.h.
typedef int(* conf_cb)(const char *key, const char *value, void *info) |
int parseConfigurationFile | ( | char * | filename, |
conf_cb | cb, | ||
void * | info | ||
) |
Parses configuration file. If cb is NULL the key value pairs are output to the console. Returns 0 if successful.
filename | file name |
cb | callback function |
info | parameter passed to callback function |
Definition at line 123 of file conf.c.