1*3e334d28Sguenther /* $OpenBSD: kvm_file.h,v 1.2 2013/11/17 20:27:14 guenther Exp $ */ 226de9129Sguenther /* $NetBSD: kvm_private.h,v 1.7 1996/05/05 04:32:15 gwr Exp $ */ 326de9129Sguenther 426de9129Sguenther /*- 526de9129Sguenther * Copyright (c) 1992, 1993 626de9129Sguenther * The Regents of the University of California. All rights reserved. 726de9129Sguenther * 826de9129Sguenther * This code is derived from software developed by the Computer Systems 926de9129Sguenther * Engineering group at Lawrence Berkeley Laboratory under DARPA contract 1026de9129Sguenther * BG 91-66 and contributed to Berkeley. 1126de9129Sguenther * 1226de9129Sguenther * Redistribution and use in source and binary forms, with or without 1326de9129Sguenther * modification, are permitted provided that the following conditions 1426de9129Sguenther * are met: 1526de9129Sguenther * 1. Redistributions of source code must retain the above copyright 1626de9129Sguenther * notice, this list of conditions and the following disclaimer. 1726de9129Sguenther * 2. Redistributions in binary form must reproduce the above copyright 1826de9129Sguenther * notice, this list of conditions and the following disclaimer in the 1926de9129Sguenther * documentation and/or other materials provided with the distribution. 2026de9129Sguenther * 3. Neither the name of the University nor the names of its contributors 2126de9129Sguenther * may be used to endorse or promote products derived from this software 2226de9129Sguenther * without specific prior written permission. 2326de9129Sguenther * 2426de9129Sguenther * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 2526de9129Sguenther * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 2626de9129Sguenther * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 2726de9129Sguenther * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 2826de9129Sguenther * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 2926de9129Sguenther * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 3026de9129Sguenther * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 3126de9129Sguenther * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 3226de9129Sguenther * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 3326de9129Sguenther * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 3426de9129Sguenther * SUCH DAMAGE. 3526de9129Sguenther * 3626de9129Sguenther * @(#)kvm_private.h 8.1 (Berkeley) 6/4/93 3726de9129Sguenther */ 3826de9129Sguenther 3926de9129Sguenther /* 4026de9129Sguenther * Functions used internally by kvm vnode/file routines 4126de9129Sguenther */ 42*3e334d28Sguenther __BEGIN_HIDDEN_DECLS 4326de9129Sguenther mode_t _kvm_getftype(enum vtype); 4426de9129Sguenther int _kvm_stat_cd9660(kvm_t *, struct kinfo_file *, struct vnode *); 4526de9129Sguenther int _kvm_stat_udf(kvm_t *, struct kinfo_file *, struct vnode *); 4626de9129Sguenther int _kvm_stat_ntfs(kvm_t *, struct kinfo_file *, struct vnode *); 47*3e334d28Sguenther __END_HIDDEN_DECLS 48