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