dhcpd-pools
3.0
ISC dhcpd lease usage analyser
|
#include <config.h>
#include "getopt.h"
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <unistd.h>
#include "gettext.h"
#include "getopt_int.h"
Macros | |
#define | _(msgid) gettext (msgid) |
#define | flockfile(fp) /* nop */ |
#define | funlockfile(fp) /* nop */ |
#define | __libc_use_alloca(size) 0 |
#define | alloca(size) (abort (), (void *)0) |
#define | NONOPTION_P (argv[d->optind][0] != '-' || argv[d->optind][1] == '\0') |
#define | GETOPT_ENTRY(NAME, POSIXLY_CORRECT) |
Functions | |
static void | exchange (char **argv, struct _getopt_data *d) |
static int | process_long_option (int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, struct _getopt_data *d, int print_errors, const char *prefix) |
static const char * | _getopt_initialize (int argc _GL_UNUSED, char **argv _GL_UNUSED, const char *optstring, struct _getopt_data *d, int posixly_correct) |
int | _getopt_internal_r (int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, struct _getopt_data *d, int posixly_correct) |
int | _getopt_internal (int argc, char **argv, const char *optstring, const struct option *longopts, int *longind, int long_only, int posixly_correct) |
Variables | |
char * | optarg |
int | optind = 1 |
int | opterr = 1 |
int | optopt = '?' |
static struct _getopt_data | getopt_data |
#define _ | ( | msgid | ) | gettext (msgid) |
Referenced by _getopt_internal_r(), and process_long_option().
#define __libc_use_alloca | ( | size | ) | 0 |
Referenced by _GL_ATTRIBUTE_FORMAT_PRINTF(), and process_long_option().
#define alloca | ( | size | ) | (abort (), (void *)0) |
Referenced by __add_to_environ(), _GL_ATTRIBUTE_FORMAT_PRINTF(), and process_long_option().
#define flockfile | ( | fp | ) | /* nop */ |
Referenced by process_long_option().
#define funlockfile | ( | fp | ) | /* nop */ |
Referenced by process_long_option().
#define GETOPT_ENTRY | ( | NAME, | |
POSIXLY_CORRECT | |||
) |
Referenced by _getopt_internal_r().
|
static |
Referenced by _getopt_internal_r().
int _getopt_internal | ( | int | argc, |
char ** | argv, | ||
const char * | optstring, | ||
const struct option * | longopts, | ||
int * | longind, | ||
int | long_only, | ||
int | posixly_correct | ||
) |
int _getopt_internal_r | ( | int | argc, |
char ** | argv, | ||
const char * | optstring, | ||
const struct option * | longopts, | ||
int * | longind, | ||
int | long_only, | ||
struct _getopt_data * | d, | ||
int | posixly_correct | ||
) |
Referenced by _getopt_internal(), _getopt_long_only_r(), and _getopt_long_r().
|
static |
Referenced by _getopt_internal_r().
|
static |
Referenced by _getopt_internal_r().
|
static |
Referenced by _getopt_internal().
char* optarg |
Referenced by _getopt_internal(), _getopt_long_only_r(), parse_command_line_opts(), and return_limit().
int opterr = 1 |
Referenced by _getopt_internal().
int optind = 1 |
Referenced by _getopt_internal(), and _getopt_long_only_r().
int optopt = '?' |
Referenced by _getopt_internal().