#include <stdlib.h>#include <string.h>#include "op_libiberty.h"#include "op_popt.h"
Go to the source code of this file.
Functions | |
| poptContext | op_poptGetContext (char const *name, int argc, char const **argv, struct poptOption const *options, int flags) |
Wrapper for libpopt - always use this rather than popt.h
Definition in file op_popt.c.
| poptContext op_poptGetContext | ( | char const * | name, | |
| int | argc, | |||
| char const ** | argv, | |||
| struct poptOption const * | options, | |||
| int | flags | |||
| ) |
op_poptGetContext - wrapper for popt
Use this instead of poptGetContext to cope with different popt versions. This also handle unrecognized options. All error are fatal.
Definition at line 18 of file op_popt.c.
References optcon.
Referenced by popt::do_parse_options(), get_options(), and opd_options().

1.6.1