

Go to the source code of this file.
Classes | |
| struct | configuration_struct |
Typedefs | |
| typedef struct configuration_struct | configuration_s |
Functions | |
| void | set_default_configuration (configuration_s *conf) |
| void | usage (void) |
| int | parse_args (int argc, char *const *argv, configuration_s *conf) |
The program/lib configuration container and related functions.
Definition in file configuration.h.
| typedef struct configuration_struct configuration_s |
A container for the program/lib configuration.
| int parse_args | ( | int | argc, |
| char *const * | argv, | ||
| configuration_s * | conf | ||
| ) |
Parses the given arguments and fills the given configuration accordingly.
| argc | The number of arguments to parse. |
| argv | The arguments to parse |
| conf | The configuration to fill. |
Definition at line 78 of file configuration.c.
| void set_default_configuration | ( | configuration_s * | conf | ) |
Set the default configuration to a configuration struct.
| conf | The configuration to set default values in. |
Definition at line 18 of file configuration.c.
| void usage | ( | void | ) |
Print the usage help text.
Definition at line 44 of file configuration.c.
1.8.8