Main Page | Data Structures | Directories | File List | Data Fields | Globals

conf.h File Reference

#include <drivers/drivers.h>

Include dependency graph for conf.h:

Include dependency graph

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

Included by dependency graph

Go to the source code of this file.

Data Structures

struct  conf_t
 Container for all of the configuration parameters. More...

Functions

int read_conf (char *profile)
 Read global configuration from a file.

Variables

conf_t conf
 Global configuration container.


Function Documentation

int read_conf char *  filename  ) 
 

Read global configuration from a file.

Parameters:
filename name of the file to read
Return values:
0 success
-1 error

Definition at line 35 of file conf.c.

References CONF_FLOAT, CONF_INT, and CONF_STR.

Referenced by main().


Variable Documentation

conf_t conf
 

Global configuration container.

Definition at line 10 of file conf.c.

Referenced by drive(), main(), and recorder_export().


Generated on Thu Sep 6 13:13:17 2007 for driver by  doxygen 1.3.9.1