~ubuntu-branches/ubuntu/precise/linux-lowlatency/precise

« back to all changes in this revision

Viewing changes to fs/ncpfs/getopt.h

  • Committer: Package Import Robot
  • Author(s): Alessio Igor Bogani
  • Date: 2011-10-26 11:13:05 UTC
  • Revision ID: package-import@ubuntu.com-20111026111305-tz023xykf0i6eosh
Tags: upstream-3.2.0
ImportĀ upstreamĀ versionĀ 3.2.0

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _LINUX_GETOPT_H
 
2
#define _LINUX_GETOPT_H
 
3
 
 
4
#define OPT_NOPARAM     1
 
5
#define OPT_INT         2
 
6
#define OPT_STRING      4
 
7
struct ncp_option {
 
8
        const char *name;
 
9
        unsigned int has_arg;
 
10
        int val;
 
11
};
 
12
 
 
13
extern int ncp_getopt(const char *caller, char **options, const struct ncp_option *opts,
 
14
                      char **optopt, char **optarg, unsigned long *value);
 
15
 
 
16
#endif /* _LINUX_GETOPT_H */