Configuration file routines
#include <mplib1/cfg_file.h>
The following are details of the functions which provide
multiple namespace versions of the standard configuration file routines.
int read_private_file( const char *list_name,
const char *fname );
int read_private_string( const char *list_name,
const char *conf_str );
int read_private_string_array( const char *list_name,
const char *conf_str[] );
int raw_private_string( const char *list_name,
const char *key,
const char *value );
char *get_private_string( const char *list_name,
const char *key );
int get_private_int( const char *list_name,
const char *key );
double get_private_double( const char *list_name,
const char *key );
int get_private_flag( const char *list_name,
const char *key );
char *eval_private_str( const char *list_name,
const char *from );
char *eval_private_default( const char *list_name,
const char *config_name,
const char *def_name );
int set_private_string( const char *list_name,
const char *key,
const char *newval );
int set_private_int( const char *list_name,
const char *key,
int newval );
int set_private_double( const char *list_name,
const char *key,
double newval );
int set_private_flag( const char *list_name,
const char *key,
int newval );