Skyld AV  0.6
On access virus scanning for Linux
 All Classes Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
Macros | Typedefs | Functions
conf.h File Reference

Analyze configuration file. More...

This graph shows which files directly or indirectly include this file:

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...
 

Detailed Description

Analyze configuration file.

Definition in file conf.h.

Macro Definition Documentation

#define CONF_VALUE_MAX_LEN   512

Definition at line 32 of file conf.h.

Typedef Documentation

typedef int(* conf_cb)(const char *key, const char *value, void *info)

Definition at line 34 of file conf.h.

Function Documentation

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.

Parameters
filenamefile name
cbcallback function
infoparameter passed to callback function
Returns
success

Definition at line 123 of file conf.c.

Here is the call graph for this function:

Here is the caller graph for this function: