ufs.h revision 1.1
11.1Sbrezak/*- 21.1Sbrezak * Copyright (c) 1993 31.1Sbrezak * The Regents of the University of California. All rights reserved. 41.1Sbrezak * 51.1Sbrezak * Redistribution and use in source and binary forms, with or without 61.1Sbrezak * modification, are permitted provided that the following conditions 71.1Sbrezak * are met: 81.1Sbrezak * 1. Redistributions of source code must retain the above copyright 91.1Sbrezak * notice, this list of conditions and the following disclaimer. 101.1Sbrezak * 2. Redistributions in binary form must reproduce the above copyright 111.1Sbrezak * notice, this list of conditions and the following disclaimer in the 121.1Sbrezak * documentation and/or other materials provided with the distribution. 131.1Sbrezak * 3. All advertising materials mentioning features or use of this software 141.1Sbrezak * must display the following acknowledgement: 151.1Sbrezak * This product includes software developed by the University of 161.1Sbrezak * California, Berkeley and its contributors. 171.1Sbrezak * 4. Neither the name of the University nor the names of its contributors 181.1Sbrezak * may be used to endorse or promote products derived from this software 191.1Sbrezak * without specific prior written permission. 201.1Sbrezak * 211.1Sbrezak * THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND 221.1Sbrezak * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 231.1Sbrezak * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 241.1Sbrezak * ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE 251.1Sbrezak * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 261.1Sbrezak * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 271.1Sbrezak * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 281.1Sbrezak * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 291.1Sbrezak * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 301.1Sbrezak * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 311.1Sbrezak * SUCH DAMAGE. 321.1Sbrezak * 331.1Sbrezak * from: @(#)ufs.h 8.1 (Berkeley) 6/11/93 341.1Sbrezak * $Id: ufs.h,v 1.1 1994/01/26 02:04:02 brezak Exp $ 351.1Sbrezak */ 361.1Sbrezak 371.1Sbrezakint ufs_open __P((char *path, struct open_file *f)); 381.1Sbrezakint ufs_close __P((struct open_file *f)); 391.1Sbrezakint ufs_read __P((struct open_file *f, char *buf, 401.1Sbrezak u_int size, u_int *resid)); 411.1Sbrezakint ufs_write __P((struct open_file *f, char *buf, 421.1Sbrezak u_int size, u_int *resid)); 431.1Sbrezakoff_t ufs_seek __P((struct open_file *f, off_t offset, int where)); 441.1Sbrezakint ufs_stat __P((struct open_file *f, struct stat *sb)); 45