1170808Sdelphij/*	$NetBSD: tmpfs_vnops.h,v 1.7 2005/12/03 17:34:44 christos Exp $	*/
2170808Sdelphij
3182739Sdelphij/*-
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 *
20170808Sdelphij * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
21170808Sdelphij * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
22170808Sdelphij * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
23170808Sdelphij * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
24170808Sdelphij * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
25170808Sdelphij * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
26170808Sdelphij * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
27170808Sdelphij * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
28170808Sdelphij * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
29170808Sdelphij * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
30170808Sdelphij * POSSIBILITY OF SUCH DAMAGE.
31170808Sdelphij *
32170808Sdelphij * $FreeBSD$
33170808Sdelphij */
34170808Sdelphij
35170808Sdelphij#ifndef _FS_TMPFS_TMPFS_VNOPS_H_
36170808Sdelphij#define _FS_TMPFS_TMPFS_VNOPS_H_
37170808Sdelphij
38170808Sdelphij#if !defined(_KERNEL)
39170808Sdelphij#error not supposed to be exposed to userland.
40170808Sdelphij#endif
41170808Sdelphij
42170808Sdelphij/* --------------------------------------------------------------------- */
43170808Sdelphij
44170808Sdelphij/*
45170808Sdelphij * Declarations for tmpfs_vnops.c.
46170808Sdelphij */
47170808Sdelphij
48170808Sdelphijextern struct vop_vector tmpfs_vnodeop_entries;
49170808Sdelphij
50170808Sdelphijvop_access_t	tmpfs_access;
51170808Sdelphijvop_getattr_t	tmpfs_getattr;
52170808Sdelphijvop_setattr_t	tmpfs_setattr;
53170808Sdelphijvop_reclaim_t	tmpfs_reclaim;
54170808Sdelphij
55170808Sdelphij/* --------------------------------------------------------------------- */
56170808Sdelphij
57170808Sdelphij#endif /* _FS_TMPFS_TMPFS_VNOPS_H_ */
58