aboutsummaryrefslogtreecommitdiffstats
path: root/fs/smbfs/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'fs/smbfs/getopt.h')
-rw-r--r--fs/smbfs/getopt.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/fs/smbfs/getopt.h b/fs/smbfs/getopt.h
new file mode 100644
index 000000000000..146219ac7c46
--- /dev/null
+++ b/fs/smbfs/getopt.h
@@ -0,0 +1,14 @@
1#ifndef _LINUX_GETOPT_H
2#define _LINUX_GETOPT_H
3
4struct option {
5 const char *name;
6 unsigned long flag;
7 int val;
8};
9
10extern 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 */