Go to the source code of this file.
Functions | |
void | __cfg_free_currents (const CFG_CONTEXT con) |
Free current variables (cur_opt, cur_arg) in context and sets cur_opt_type to CFG_NONE_OPTION. | |
int | __cfg_process_currents (const CFG_CONTEXT con, int *ret_val, int *arg_used) |
Process current option and argument. | |
int | __cfg_cmdline_set_currents (const CFG_CONTEXT con) |
Allocate and initialize variables cur_opt and cur_arg in initialized command line context according to con->argv[con->cur_idx]. | |
int | __cfg_cfgfile_set_currents (const CFG_CONTEXT con, char *buf) |
Allocate and initialize variables cur_opt and cur_arg in initialized config file context according to input string (parameter buf). |
Lubomir Host <rajo@platon.sk>
|
Allocate and initialize variables cur_opt and cur_arg in initialized config file context according to input string (parameter buf).
|
|
Allocate and initialize variables cur_opt and cur_arg in initialized command line context according to con->argv[con->cur_idx].
|
|
Free current variables (cur_opt, cur_arg) in context and sets cur_opt_type to CFG_NONE_OPTION.
|
|
Process current option and argument. It suppose that in context con are cur_opt, cur_arg and cur_type set.
|