tmpfs_fifoops.h revision 170808
1170808Sdelphij/*	$NetBSD: tmpfs_fifoops.h,v 1.3.2.2 2005/12/11 10:29:11 christos Exp $	*/
2170808Sdelphij
3170808Sdelphij/*
4170808Sdelphij * Copyright (c) 2005 The NetBSD Foundation, Inc.
5170808Sdelphij * All rights reserved.
6170808Sdelphij *
7170808Sdelphij * This code is derived from software contributed to The NetBSD Foundation
8170808Sdelphij * by Julio M. Merino Vidal, developed as part of Google's Summer of Code
9170808Sdelphij * 2005 program.
10170808Sdelphij *
11170808Sdelphij * Redistribution and use in source and binary forms, with or without
12170808Sdelphij * modification, are permitted provided that the following conditions
13170808Sdelphij * are met:
14170808Sdelphij * 1. Redistributions of source code must retain the above copyright
15170808Sdelphij *    notice, this list of conditions and the following disclaimer.
16170808Sdelphij * 2. Redistributions in binary form must reproduce the above copyright
17170808Sdelphij *    notice, this list of conditions and the following disclaimer in the
18170808Sdelphij *    documentation and/or other materials provided with the distribution.
19170808Sdelphij * 3. All advertising materials mentioning features or use of this software
20170808Sdelphij *    must display the following acknowledgement:
21170808Sdelphij *        This product includes software developed by the NetBSD
22170808Sdelphij *        Foundation, Inc. and its contributors.
23170808Sdelphij * 4. Neither the name of The NetBSD Foundation nor the names of its
24170808Sdelphij *    contributors may be used to endorse or promote products derived
25170808Sdelphij *    from this software without specific prior written permission.
26170808Sdelphij *
27170808Sdelphij * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
28170808Sdelphij * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
29170808Sdelphij * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
30170808Sdelphij * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
31170808Sdelphij * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
32170808Sdelphij * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
33170808Sdelphij * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
34170808Sdelphij * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
35170808Sdelphij * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
36170808Sdelphij * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
37170808Sdelphij * POSSIBILITY OF SUCH DAMAGE.
38170808Sdelphij *
39170808Sdelphij * $FreeBSD: head/sys/fs/tmpfs/tmpfs_fifoops.h 170808 2007-06-16 01:56:05Z delphij $
40170808Sdelphij */
41170808Sdelphij
42170808Sdelphij#ifndef _FS_TMPFS_TMPFS_FIFOOPS_H_
43170808Sdelphij#define _FS_TMPFS_TMPFS_FIFOOPS_H_
44170808Sdelphij
45170808Sdelphij#if !defined(_KERNEL)
46170808Sdelphij#error not supposed to be exposed to userland.
47170808Sdelphij#endif
48170808Sdelphij
49170808Sdelphij#include <fs/tmpfs/tmpfs_vnops.h>
50170808Sdelphij
51170808Sdelphij/* --------------------------------------------------------------------- */
52170808Sdelphij
53170808Sdelphij/*
54170808Sdelphij * Declarations for tmpfs_fifoops.c.
55170808Sdelphij */
56170808Sdelphij
57170808Sdelphijextern struct vop_vector tmpfs_fifoop_entries;
58170808Sdelphij
59170808Sdelphijvop_close_t	tmpfs_fifo_close;
60170808Sdelphijvop_kqfilter_t tmpfs_fifo_kqfilter;
61170808Sdelphij
62170808Sdelphij/* --------------------------------------------------------------------- */
63170808Sdelphij#endif /* _FS_TMPFS_TMPFS_FIFOOPS_H_ */
64