chfs_args.h revision 1.1 1 1.1 ahoka /* $NetBSD: chfs_args.h,v 1.1 2011/11/24 15:51:31 ahoka Exp $ */
2 1.1 ahoka
3 1.1 ahoka /*-
4 1.1 ahoka * Copyright (c) 2010 Department of Software Engineering,
5 1.1 ahoka * University of Szeged, Hungary
6 1.1 ahoka * All rights reserved.
7 1.1 ahoka *
8 1.1 ahoka * This code is derived from software contributed to The NetBSD Foundation
9 1.1 ahoka * by the Department of Software Engineering, University of Szeged, Hungary
10 1.1 ahoka *
11 1.1 ahoka * Redistribution and use in source and binary forms, with or without
12 1.1 ahoka * modification, are permitted provided that the following conditions
13 1.1 ahoka * are met:
14 1.1 ahoka * 1. Redistributions of source code must retain the above copyright
15 1.1 ahoka * notice, this list of conditions and the following disclaimer.
16 1.1 ahoka * 2. Redistributions in binary form must reproduce the above copyright
17 1.1 ahoka * notice, this list of conditions and the following disclaimer in the
18 1.1 ahoka * documentation and/or other materials provided with the distribution.
19 1.1 ahoka *
20 1.1 ahoka * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND ANY EXPRESS OR
21 1.1 ahoka * IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES
22 1.1 ahoka * OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED.
23 1.1 ahoka * IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR ANY DIRECT, INDIRECT,
24 1.1 ahoka * INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING,
25 1.1 ahoka * BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
26 1.1 ahoka * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED
27 1.1 ahoka * AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY,
28 1.1 ahoka * OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
29 1.1 ahoka * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
30 1.1 ahoka * SUCH DAMAGE.
31 1.1 ahoka */
32 1.1 ahoka
33 1.1 ahoka #ifndef _FS_CHFS_CHFS_ARGS_H_
34 1.1 ahoka #define _FS_CHFS_CHFS_ARGS_H_
35 1.1 ahoka
36 1.1 ahoka #define CHFS_ARGS_VERSION 1
37 1.1 ahoka
38 1.1 ahoka /**
39 1.1 ahoka * struct chfs_args - arguments needed when mounting filesystem
40 1.1 ahoka * @fl_index: index of the flash device in the flash layer
41 1.1 ahoka */
42 1.1 ahoka struct chfs_args {
43 1.1 ahoka //int ca_version;
44 1.1 ahoka char *fspec;
45 1.1 ahoka int fl_index;
46 1.1 ahoka
47 1.1 ahoka /* Root node attributes. */
48 1.1 ahoka /*uid_t ca_root_uid;
49 1.1 ahoka gid_t ca_root_gid;
50 1.1 ahoka mode_t ca_root_mode;*/
51 1.1 ahoka };
52 1.1 ahoka
53 1.1 ahoka #endif /* _FS_CHFS_CHFS_ARGS_H_ */
54