|
xapian-core
1.4.30
|
Include dependency graph for getopt.cc:Go to the source code of this file.
Macros | |
| #define | _(msgid) (msgid) |
| #define | NONOPTION_P (argv[optind][0] != '-' || argv[optind][1] == '\0') |
Enumerations | |
| enum | { REQUIRE_ORDER , PERMUTE , RETURN_IN_ORDER } |
Functions | |
| static void | exchange (char **argv) |
| static const char * | getopt_initialize (int argc, char *const *argv, const char *optstring) |
| int | gnu_getopt_internal_ (int argc, char *const *argv, const char *optstring, const struct option *longopts, int *longind, int long_only) |
Variables | |
| char * | optarg |
| int | optind = 1 |
| int | opterr = 1 |
| int | optopt = '?' |
| static int | getopt_initialized |
| static char * | nextchar |
| static enum { ... } | ordering |
| static char * | posixly_correct |
| static int | first_nonopt |
| static int | last_nonopt |
| anonymous enum |
|
static |
Definition at line 189 of file getopt.cc.
References first_nonopt, last_nonopt, and optind.
Referenced by gnu_getopt_internal_().
|
static |
Definition at line 246 of file getopt.cc.
References first_nonopt, last_nonopt, nextchar, optind, ordering, PERMUTE, posixly_correct, REQUIRE_ORDER, and RETURN_IN_ORDER.
Referenced by gnu_getopt_internal_().
| int gnu_getopt_internal_ | ( | int | argc, |
| char *const * | argv, | ||
| const char * | optstring, | ||
| const struct option * | longopts, | ||
| int * | longind, | ||
| int | long_only | ||
| ) |
Definition at line 339 of file getopt.cc.
References _, exchange(), first_nonopt, option::flag, getopt_initialize(), getopt_initialized, option::has_arg, last_nonopt, option::name, nextchar, NONOPTION_P, optarg, opterr, optind, optopt, ordering, PERMUTE, posixly_correct, REQUIRE_ORDER, and option::val.
Referenced by gnu_getopt(), gnu_getopt_long(), and gnu_getopt_long_only().
|
static |
Definition at line 176 of file getopt.cc.
Referenced by exchange(), getopt_initialize(), and gnu_getopt_internal_().
|
static |
Definition at line 112 of file getopt.cc.
Referenced by gnu_getopt_internal_().
|
static |
Definition at line 177 of file getopt.cc.
Referenced by exchange(), getopt_initialize(), and gnu_getopt_internal_().
|
static |
Definition at line 121 of file getopt.cc.
Referenced by getopt_initialize(), and gnu_getopt_internal_().
| char* optarg |
Definition at line 79 of file getopt.cc.
Referenced by gnu_getopt_internal_(), main(), and test_driver::parse_command_line().
| int opterr = 1 |
Definition at line 99 of file getopt.cc.
Referenced by gnu_getopt_internal_().
| int optind = 1 |
Definition at line 94 of file getopt.cc.
Referenced by exchange(), getopt_initialize(), gnu_getopt_internal_(), main(), and test_driver::parse_command_line().
| int optopt = '?' |
Definition at line 105 of file getopt.cc.
Referenced by gnu_getopt_internal_().
| enum { ... } ordering |
Referenced by getopt_initialize(), and gnu_getopt_internal_().
|
static |
Definition at line 158 of file getopt.cc.
Referenced by getopt_initialize(), and gnu_getopt_internal_().