xref: /dflybsd-src/sys/vfs/autofs/autofs_mount.h (revision b44f7b08362e964fb40a2a447684ff921c3a876c)
1e2950f41STomohiro Kusumi /*-
2*49837aefSTomohiro Kusumi  * Copyright (c) 2016 Tomohiro Kusumi <tkusumi@netbsd.org>
3e2950f41STomohiro Kusumi  * Copyright (c) 2016 The DragonFly Project
4e2950f41STomohiro Kusumi  * All rights reserved.
5e2950f41STomohiro Kusumi  *
6e2950f41STomohiro Kusumi  * Redistribution and use in source and binary forms, with or without
7e2950f41STomohiro Kusumi  * modification, are permitted provided that the following conditions
8e2950f41STomohiro Kusumi  * are met:
9e2950f41STomohiro Kusumi  * 1. Redistributions of source code must retain the above copyright
10e2950f41STomohiro Kusumi  *    notice, this list of conditions and the following disclaimer.
11e2950f41STomohiro Kusumi  * 2. Redistributions in binary form must reproduce the above copyright
12e2950f41STomohiro Kusumi  *    notice, this list of conditions and the following disclaimer in the
13e2950f41STomohiro Kusumi  *    documentation and/or other materials provided with the distribution.
14e2950f41STomohiro Kusumi  *
15e2950f41STomohiro Kusumi  * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND
16e2950f41STomohiro Kusumi  * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
17e2950f41STomohiro Kusumi  * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
18e2950f41STomohiro Kusumi  * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE
19e2950f41STomohiro Kusumi  * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
20e2950f41STomohiro Kusumi  * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
21e2950f41STomohiro Kusumi  * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
22e2950f41STomohiro Kusumi  * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
23e2950f41STomohiro Kusumi  * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
24e2950f41STomohiro Kusumi  * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
25e2950f41STomohiro Kusumi  * SUCH DAMAGE.
26e2950f41STomohiro Kusumi  *
27e2950f41STomohiro Kusumi  */
28e2950f41STomohiro Kusumi 
29e2950f41STomohiro Kusumi #ifndef AUTOFS_MOUNT_H
30e2950f41STomohiro Kusumi #define AUTOFS_MOUNT_H
31e2950f41STomohiro Kusumi 
32e2950f41STomohiro Kusumi #include <sys/types.h>
33e2950f41STomohiro Kusumi #include <sys/mount.h>
34e2950f41STomohiro Kusumi 
35caaec4e3STomohiro Kusumi /*
36caaec4e3STomohiro Kusumi  * Arguments to mount autofs filesystem.
37caaec4e3STomohiro Kusumi  */
38e2950f41STomohiro Kusumi struct autofs_mount_info {
39e2950f41STomohiro Kusumi 	const char	*from;
40e2950f41STomohiro Kusumi 	const char	*master_options;
41e2950f41STomohiro Kusumi 	const char	*master_prefix;
42e2950f41STomohiro Kusumi };
43e2950f41STomohiro Kusumi 
44e2950f41STomohiro Kusumi #endif /* !AUTOFS_MOUNT_H */
45