114int saveopts(
const char* file,
const char* mode,
const char* comment,
const opt_t* opts);
MRTKLIB Options Module — Processing and solution option types.
opt_t sysopts[]
System options table.
int loadopts(const char *file, opt_t *opts)
Load options from file.
void getsysopts(prcopt_t *popt, solopt_t *sopt, filopt_t *fopt)
Get system options.
int saveopts(const char *file, const char *mode, const char *comment, const opt_t *opts)
Save options to file.
int opt2str(const opt_t *opt, char *str)
Convert option value to string.
opt_t * searchopt(const char *name, const opt_t *opts)
Search option record.
int opt2buf(const opt_t *opt, char *buff)
Convert option to string (keyword=value # comment).
int str2opt(opt_t *opt, const char *str)
Convert string to option value.
void setsysopts(const prcopt_t *prcopt, const solopt_t *solopt, const filopt_t *filopt)
Set system options.
void resetsysopts(void)
Reset system options to default.
Option type for configuration file parsing.