sc68fordevelopers  2.2.1
Typedefs | Functions

This module prodives functions to access sc68 configuration file. More...

Typedefs

typedef int SC68config_t[8]
 Config array. More...
 

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

Detailed Description

This module prodives functions to access sc68 configuration file.

Typedef Documentation

typedef int SC68config_t[8]

Config array.

Function Documentation

int SC68config_get_id ( const char *  name)

Get index of named field in SC68config_t array.

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