Fri Jan 22 22:39:29 2016 UTC ()
Needs stdint.h.


(dholland)
diff -r1.5 -r1.6 src/lib/librefuse/fuse_opt.h

cvs diff -r1.5 -r1.6 src/lib/librefuse/fuse_opt.h (expand / switch to unified diff)

--- src/lib/librefuse/fuse_opt.h 2009/04/19 22:25:29 1.5
+++ src/lib/librefuse/fuse_opt.h 2016/01/22 22:39:29 1.6
@@ -1,14 +1,14 @@ @@ -1,14 +1,14 @@
1/* $NetBSD: fuse_opt.h,v 1.5 2009/04/19 22:25:29 christos Exp $ */ 1/* $NetBSD: fuse_opt.h,v 1.6 2016/01/22 22:39:29 dholland Exp $ */
2 2
3/* 3/*
4 * Copyright (c) 2007 Alistair Crooks. All rights reserved. 4 * Copyright (c) 2007 Alistair Crooks. All rights reserved.
5 * 5 *
6 * Redistribution and use in source and binary forms, with or without 6 * Redistribution and use in source and binary forms, with or without
7 * modification, are permitted provided that the following conditions 7 * modification, are permitted provided that the following conditions
8 * are met: 8 * are met:
9 * 1. Redistributions of source code must retain the above copyright 9 * 1. Redistributions of source code must retain the above copyright
10 * notice, this list of conditions and the following disclaimer. 10 * notice, this list of conditions and the following disclaimer.
11 * 2. Redistributions in binary form must reproduce the above copyright 11 * 2. Redistributions in binary form must reproduce the above copyright
12 * notice, this list of conditions and the following disclaimer in the 12 * notice, this list of conditions and the following disclaimer in the
13 * documentation and/or other materials provided with the distribution. 13 * documentation and/or other materials provided with the distribution.
14 * 3. The name of the author may not be used to endorse or promote 14 * 3. The name of the author may not be used to endorse or promote
@@ -21,26 +21,28 @@ @@ -21,26 +21,28 @@
21 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY 21 * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY
22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 22 * DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE 23 * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE
24 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS 24 * GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, 25 * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY,
26 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING 26 * WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING
27 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS 27 * NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS
28 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. 28 * SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
29 */ 29 */
30 30
31#ifndef _FUSE_OPT_H_ 31#ifndef _FUSE_OPT_H_
32#define _FUSE_OPT_H_ 32#define _FUSE_OPT_H_
33 33
 34#include <stdint.h>
 35
34#ifdef __cplusplus 36#ifdef __cplusplus
35extern "C" { 37extern "C" {
36#endif  38#endif
37 39
38enum { 40enum {
39 FUSE_OPT_KEY_OPT = -1, 41 FUSE_OPT_KEY_OPT = -1,
40 FUSE_OPT_KEY_NONOPT = -2, 42 FUSE_OPT_KEY_NONOPT = -2,
41 FUSE_OPT_KEY_KEEP = -3, 43 FUSE_OPT_KEY_KEEP = -3,
42 FUSE_OPT_KEY_DISCARD = -4 44 FUSE_OPT_KEY_DISCARD = -4
43}; 45};
44 46
45struct fuse_opt { 47struct fuse_opt {
46 const char *templ; 48 const char *templ;