File: opts.h

package info (click to toggle)
sshfs-fuse 1.1-1
  • links: PTS
  • area: main
  • in suites: sarge
  • size: 488 kB
  • ctags: 269
  • sloc: sh: 3,451; ansic: 2,073; makefile: 55
file content (18 lines) | stat: -rw-r--r-- 431 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
/*
    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);

int opt_get_unsigned(const struct opt *o, unsigned *valp);