Main Page | Modules | Data Structures | File List | Data Fields | Globals | Related Pages

configuration file
[api68 library documentation.]


Detailed Description

This module prodives functions to access sc68 configuration file.


Typedefs

typedef int SC68config_t [8]
 Config array.


Functions

int SC68config_valid (SC68config_t *conf)
 Check config values and correct invalid ones.

int SC68config_get_id (const char *name)
 Get index of named field in SC68config_t array.

int SC68config_load (SC68config_t *conf)
 Load config from file.

int SC68config_save (SC68config_t *conf)
 Save config into file.

int SC68config_default (SC68config_t *conf)
 Fill config struct with default value.


Function Documentation

int SC68config_get_id const char *  name  ) 
 

Get index of named field in SC68config_t array.

Parameters:
name name of config field.
Returns:
field index.
Return values:
-1 error


Generated on Fri Sep 26 16:27:54 2003 for sc68fordevelopers by doxygen 1.3.3