navit
0.5.1-trunk
Main Page
Related Pages
Modules
Namespaces
Data Structures
Files
File List
Globals
getopt_long.h
1
/*
2
* Portions Copyright (c) 1987, 1993, 1994
3
* The Regents of the University of California. All rights reserved.
4
*
5
* Portions Copyright (c) 2003-2011, PostgreSQL Global Development Group
6
*
7
* src/include/getopt_long.h
8
*/
9
#ifndef GETOPT_LONG_H
10
#define GETOPT_LONG_H
11
12
#ifdef HAVE_GETOPT_H
13
#include <getopt.h>
14
#endif
15
16
/* These are picked up from the system's getopt() facility. */
17
extern
int
opterr;
18
extern
int
optind;
19
extern
int
optopt;
20
extern
char
*optarg;
21
22
#ifndef HAVE_STRUCT_OPTION
23
24
struct
option
25
{
26
const
char
*name;
27
int
has_arg;
28
int
*flag;
29
int
val;
30
};
31
32
#define no_argument 0
33
#define required_argument 1
34
#endif
35
36
#ifndef HAVE_GETOPT_LONG
37
38
extern
int
getopt_long(
int
argc,
char
*
const
argv[],
39
const
char
*optstring,
40
const
struct
option
* longopts,
int
*longindex);
41
#endif
42
43
#endif
/* GETOPT_LONG_H */
option
Definition:
getopt.h:79
support
xgetopt
getopt_long.h
Generated by
1.8.6