
Go to the source code of this file.
Defines | |
| #define | _GNU_SOURCE |
Functions | |
| struct option * | options_allocate (int n) |
| void | options_alternative (struct option *ops, const char *name, struct option_alternative *alt, int *value, const char *desc) |
| void | options_double (struct option *ops, const char *name, double *p, double def_value, const char *desc) |
| void | options_int (struct option *ops, const char *name, int *p, int def_value, const char *desc) |
| struct option * | options_next_empty (struct option *ops) |
| void | options_string (struct option *ops, const char *name, const char **p, const char *def_value, const char *desc) |
| char * | strdup_ (const char *s) |
| #define _GNU_SOURCE |
Definition at line 7 of file options_interface.c.
| struct option* options_allocate | ( | int | n | ) | [read] |
User-friendly interface
Definition at line 16 of file options_interface.c.
| void options_alternative | ( | struct option * | ops, |
| const char * | name, | ||
| struct option_alternative * | alt, | ||
| int * | value, | ||
| const char * | desc | ||
| ) |
Definition at line 49 of file options_interface.c.
| void options_double | ( | struct option * | ops, |
| const char * | name, | ||
| double * | p, | ||
| double | def_value, | ||
| const char * | desc | ||
| ) |
Definition at line 62 of file options_interface.c.
| void options_int | ( | struct option * | ops, |
| const char * | name, | ||
| int * | p, | ||
| int | def_value, | ||
| const char * | desc | ||
| ) |
Definition at line 39 of file options_interface.c.
| struct option* options_next_empty | ( | struct option * | ops | ) | [read] |
Definition at line 30 of file options_interface.c.
| void options_string | ( | struct option * | ops, |
| const char * | name, | ||
| const char ** | p, | ||
| const char * | def_value, | ||
| const char * | desc | ||
| ) |
Definition at line 72 of file options_interface.c.