repo.or.cz
/
linux-btrfs-devel.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
nfsd4: typo logical vs bitwise negate for want_mask
[linux-btrfs-devel.git]
/
fs
/
ncpfs
/
getopt.h
blob
cccc007dcaf96dc45ff6779a449bfe6270d156df
1
#ifndef _LINUX_GETOPT_H
2
#define _LINUX_GETOPT_H
3
4
#define OPT_NOPARAM 1
5
#define OPT_INT 2
6
#define OPT_STRING 4
7
struct
ncp_option
{
8
const char
*
name
;
9
unsigned int
has_arg
;
10
int
val
;
11
};
12
13
extern
int
ncp_getopt
(
const char
*
caller
,
char
**
options
,
const struct
ncp_option
*
opts
,
14
char
**
optopt
,
char
**
optarg
,
unsigned long
*
value
);
15
16
#endif
/* _LINUX_GETOPT_H */