Configuration file routines - Setting Values
#include <mplib1/cfg_file.h>
set_private_string
int set_private_string( const char *list_name,
const char *key,
const char *val );
#define set_config_string(k,v) set_private_string( NULL, k, v)
This funciton sets the value of the named keyword in the named list.
set_private_int
int set_private_int( const char *list_name,
const char *key,
int newval );
#define set_config_int(k,v) set_private_int( NULL, k, v )
This function sets the value of the named keyword in the supplied list
to a string representation of the supplied integer.
set_private_flag
int set_private_flag( const char *list_name,
const char *key,
int newval );
#define set_config_flag(k,v) set_private_flag( NULL, k, v )
This function sets the value of the named keyword in the supplied list
to a boolean string representation of the supplied integer.
set_private_double
int set_private_double( const char *list_name,
const char *key,
int newval );
#define set_config_double(k,v) set_private_double( NULL, k, v )
This function sets the value of the named keyword in the supplied list
to a string representation of the supplied floating point number.