summaryrefslogtreecommitdiffstats
path: root/fs/smbfs/getopt.h
blob: 691f21103c499e96562519287a64cf9223863c03 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
#ifndef _LINUX_GETOPT_H
#define _LINUX_GETOPT_H

struct option {
	const char *name;
	int has_arg;
	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 */