xref: /titanic_51/usr/src/lib/libast/i386/include/ast/getopt.h (revision 78b2cb9a814f49b9599bf830034a12338259e0c9)
1 
2 /* : : generated by proto : : */
3 
4 #if !defined(__PROTO__)
5 #include <prototyped.h>
6 #endif
7 #if !defined(__LINKAGE__)
8 #define __LINKAGE__		/* 2004-08-11 transition */
9 #endif
10 #include <ast_getopt.h>
11 
12 #if !defined(_GETOPT_H) && !defined(_AST_STD_I)
13 
14 #define _GETOPT_H		1
15 
16 #define no_argument		0
17 #define required_argument	1
18 #define optional_argument	2
19 
20 struct option
21 {
22 	const char*	name;
23 	int		has_arg;
24 	int*		flag;
25 	int		val;
26 };
27 
28 extern __MANGLE__ int	getopt_long __PROTO__((int, char* const*, const char*, const struct option*, int*));
29 extern __MANGLE__ int	getopt_long_only __PROTO__((int, char* const*, const char*, const struct option*, int*));
30 
31 #endif
32