From 392e8802486cb573b916e746010e141a75f507e6 Mon Sep 17 00:00:00 2001 From: Kevin Date: Sat, 15 Nov 2014 09:58:27 +0800 Subject: init android origin source code --- ANDROID_3.4.5/fs/ncpfs/getopt.h | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 ANDROID_3.4.5/fs/ncpfs/getopt.h (limited to 'ANDROID_3.4.5/fs/ncpfs/getopt.h') diff --git a/ANDROID_3.4.5/fs/ncpfs/getopt.h b/ANDROID_3.4.5/fs/ncpfs/getopt.h new file mode 100644 index 00000000..cccc007d --- /dev/null +++ b/ANDROID_3.4.5/fs/ncpfs/getopt.h @@ -0,0 +1,16 @@ +#ifndef _LINUX_GETOPT_H +#define _LINUX_GETOPT_H + +#define OPT_NOPARAM 1 +#define OPT_INT 2 +#define OPT_STRING 4 +struct ncp_option { + const char *name; + unsigned int has_arg; + int val; +}; + +extern int ncp_getopt(const char *caller, char **options, const struct ncp_option *opts, + char **optopt, char **optarg, unsigned long *value); + +#endif /* _LINUX_GETOPT_H */ -- cgit