Loading...
Note: File does not exist in v5.9.
1/* SPDX-License-Identifier: GPL-2.0 */
2#ifndef _LINUX_GETOPT_H
3#define _LINUX_GETOPT_H
4
5#define OPT_NOPARAM 1
6#define OPT_INT 2
7#define OPT_STRING 4
8struct ncp_option {
9 const char *name;
10 unsigned int has_arg;
11 int val;
12};
13
14extern int ncp_getopt(const char *caller, char **options, const struct ncp_option *opts,
15 char **optopt, char **optarg, unsigned long *value);
16
17#endif /* _LINUX_GETOPT_H */