aboutsummaryrefslogtreecommitdiff
path: root/opts.h
blob: b5c872902a7a0f4cd16df10a7a4a4fe47200dc32 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
/*
    Mount option parsing
    Copyright (C) 2004  Miklos Szeredi <miklos@szeredi.hu>

    This program can be distributed under the terms of the GNU GPL.
    See the file COPYING.
*/

struct opt {
    const char *optname;
    int present;
    char *value;
};

void process_options(int *argcp, char *argv[], struct opt opts[], 
                     int case_sensitive);