Linus Torvalds | 1da177e | 2005-04-16 15:20:36 -0700 | [diff] [blame^] | 1 | #ifndef _LINUX_GETOPT_H |
2 | #define _LINUX_GETOPT_H | ||||
3 | |||||
4 | struct option { | ||||
5 | const char *name; | ||||
6 | unsigned long flag; | ||||
7 | int val; | ||||
8 | }; | ||||
9 | |||||
10 | extern int smb_getopt(char *caller, char **options, struct option *opts, | ||||
11 | char **optopt, char **optarg, unsigned long *flag, | ||||
12 | unsigned long *value); | ||||
13 | |||||
14 | #endif /* _LINUX_GETOPT_H */ |