summaryrefslogtreecommitdiffstats
path: root/drivers/staging/smbfs/getopt.h
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/staging/smbfs/getopt.h')
-rw-r--r--drivers/staging/smbfs/getopt.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/drivers/staging/smbfs/getopt.h b/drivers/staging/smbfs/getopt.h
new file mode 100644
index 0000000..146219a
--- /dev/null
+++ b/drivers/staging/smbfs/getopt.h
@@ -0,0 +1,14 @@
+#ifndef _LINUX_GETOPT_H
+#define _LINUX_GETOPT_H
+
+struct option {
+ const char *name;
+ unsigned long flag;
+ int val;
+};
+
+extern int smb_getopt(char *caller, char **options, struct option *opts,
+ char **optopt, char **optarg, unsigned long *flag,
+ unsigned long *value);
+
+#endif /* _LINUX_GETOPT_H */
OpenPOWER on IntegriCloud