repo.or.cz
/
syslinux-debian.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Releasing debian version 3:6.03+dfsg-10.
[syslinux-debian.git]
/
com32
/
include
/
getopt.h
blob
71c41cd965e56743005ab8e1a9735316ebf3df48
1
#ifndef _GETOPT_H
2
#define _GETOPT_H
3
4
#include <klibc/extern.h>
5
6
struct
option
{
7
const char
*
name
;
8
int
has_arg
;
9
int
*
flag
;
10
int
val
;
11
};
12
13
enum
{
14
no_argument
=
0
,
15
required_argument
=
1
,
16
optional_argument
=
2
,
17
};
18
19
__extern
int
getopt_long
(
int
,
char
*
const
*,
const char
*,
20
const struct
option
*,
int
*);
21
22
#endif
/* _GETOPT_H */