11.11Smrg/*	$NetBSD: ufs.h,v 1.11 2021/05/27 06:54:44 mrg Exp $	*/
21.2Scgd
31.1Sbrezak/*-
41.1Sbrezak * Copyright (c) 1993
51.1Sbrezak *	The Regents of the University of California.  All rights reserved.
61.1Sbrezak *
71.1Sbrezak * Redistribution and use in source and binary forms, with or without
81.1Sbrezak * modification, are permitted provided that the following conditions
91.1Sbrezak * are met:
101.1Sbrezak * 1. Redistributions of source code must retain the above copyright
111.1Sbrezak *    notice, this list of conditions and the following disclaimer.
121.1Sbrezak * 2. Redistributions in binary form must reproduce the above copyright
131.1Sbrezak *    notice, this list of conditions and the following disclaimer in the
141.1Sbrezak *    documentation and/or other materials provided with the distribution.
151.8Sagc * 3. Neither the name of the University nor the names of its contributors
161.1Sbrezak *    may be used to endorse or promote products derived from this software
171.1Sbrezak *    without specific prior written permission.
181.1Sbrezak *
191.1Sbrezak * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
201.1Sbrezak * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
211.1Sbrezak * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
221.1Sbrezak * ARE DISCLAIMED.  IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
231.1Sbrezak * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
241.1Sbrezak * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
251.1Sbrezak * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
261.1Sbrezak * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
271.1Sbrezak * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
281.1Sbrezak * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
291.1Sbrezak * SUCH DAMAGE.
301.1Sbrezak *
311.2Scgd *	@(#)ufs.h	8.1 (Berkeley) 6/11/93
321.1Sbrezak */
331.1Sbrezak
341.7SdslFS_DEF(ufs);
351.7SdslFS_DEF(ffsv1);
361.7SdslFS_DEF(ffsv2);
371.11Smrg
381.11Smrg/* in libsa's ffs_bswap.c */
391.11Smrgstruct fs;
401.11Smrgstruct ufs1_dinode;
411.11Smrgstruct ufs2_dinode;
421.11Smrgvoid ffs_sb_swap(const struct fs *, struct fs *);
431.11Smrgvoid ffs_dinode1_swap(struct ufs1_dinode *, struct ufs1_dinode *);
441.11Smrgvoid ffs_dinode2_swap(struct ufs2_dinode *, struct ufs2_dinode *);
45