xref: /freebsd/sys/fs/tmpfs/tmpfs_fifoops.h (revision e08d55674dfd8e4798c867ad81c699166a305580)
1974fd8c6SXin LI /*	$NetBSD: tmpfs_fifoops.h,v 1.4 2005/12/03 17:34:44 christos Exp $	*/
2d1fa59e9SXin LI 
3e08d5567SXin LI /*-
4d1fa59e9SXin LI  * Copyright (c) 2005 The NetBSD Foundation, Inc.
5d1fa59e9SXin LI  * All rights reserved.
6d1fa59e9SXin LI  *
7d1fa59e9SXin LI  * This code is derived from software contributed to The NetBSD Foundation
8d1fa59e9SXin LI  * by Julio M. Merino Vidal, developed as part of Google's Summer of Code
9d1fa59e9SXin LI  * 2005 program.
10d1fa59e9SXin LI  *
11d1fa59e9SXin LI  * Redistribution and use in source and binary forms, with or without
12d1fa59e9SXin LI  * modification, are permitted provided that the following conditions
13d1fa59e9SXin LI  * are met:
14d1fa59e9SXin LI  * 1. Redistributions of source code must retain the above copyright
15d1fa59e9SXin LI  *    notice, this list of conditions and the following disclaimer.
16d1fa59e9SXin LI  * 2. Redistributions in binary form must reproduce the above copyright
17d1fa59e9SXin LI  *    notice, this list of conditions and the following disclaimer in the
18d1fa59e9SXin LI  *    documentation and/or other materials provided with the distribution.
19d1fa59e9SXin LI  *
20d1fa59e9SXin LI  * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
21d1fa59e9SXin LI  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22d1fa59e9SXin LI  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23d1fa59e9SXin LI  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
24d1fa59e9SXin LI  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25d1fa59e9SXin LI  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26d1fa59e9SXin LI  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27d1fa59e9SXin LI  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28d1fa59e9SXin LI  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29d1fa59e9SXin LI  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30d1fa59e9SXin LI  * POSSIBILITY OF SUCH DAMAGE.
31d1fa59e9SXin LI  *
32d1fa59e9SXin LI  * $FreeBSD$
33d1fa59e9SXin LI  */
34d1fa59e9SXin LI 
35d1fa59e9SXin LI #ifndef _FS_TMPFS_TMPFS_FIFOOPS_H_
36d1fa59e9SXin LI #define _FS_TMPFS_TMPFS_FIFOOPS_H_
37d1fa59e9SXin LI 
38d1fa59e9SXin LI #if !defined(_KERNEL)
39d1fa59e9SXin LI #error not supposed to be exposed to userland.
40d1fa59e9SXin LI #endif
41d1fa59e9SXin LI 
42d1fa59e9SXin LI #include <fs/tmpfs/tmpfs_vnops.h>
43d1fa59e9SXin LI 
44d1fa59e9SXin LI /* --------------------------------------------------------------------- */
45d1fa59e9SXin LI 
46d1fa59e9SXin LI /*
47d1fa59e9SXin LI  * Declarations for tmpfs_fifoops.c.
48d1fa59e9SXin LI  */
49d1fa59e9SXin LI 
50d1fa59e9SXin LI extern struct vop_vector tmpfs_fifoop_entries;
51d1fa59e9SXin LI 
52d1fa59e9SXin LI /* --------------------------------------------------------------------- */
53d1fa59e9SXin LI #endif /* _FS_TMPFS_TMPFS_FIFOOPS_H_ */
54