Home | History | Annotate | Line # | Download | only in libsa
ustarfs.h revision 1.1
      1  1.1  ross /*	$NetBSD: ustarfs.h,v 1.1 1998/09/24 05:23:34 ross Exp $	*/
      2  1.1  ross 
      3  1.1  ross /* [Notice revision 2.2]
      4  1.1  ross  * Copyright (c) 1997, 1998 Avalon Computer Systems, Inc.
      5  1.1  ross  * All rights reserved.
      6  1.1  ross  *
      7  1.1  ross  * Author: Ross Harvey
      8  1.1  ross  *
      9  1.1  ross  * Redistribution and use in source and binary forms, with or without
     10  1.1  ross  * modification, are permitted provided that the following conditions
     11  1.1  ross  * are met:
     12  1.1  ross  * 1. Redistributions of source code must retain the above copyright and
     13  1.1  ross  *    author notice, this list of conditions, and the following disclaimer.
     14  1.1  ross  * 2. Redistributions in binary form must reproduce the above copyright
     15  1.1  ross  *    notice, this list of conditions and the following disclaimer in the
     16  1.1  ross  *    documentation and/or other materials provided with the distribution.
     17  1.1  ross  * 3. Neither the name of Avalon Computer Systems, Inc. nor the names of
     18  1.1  ross  *    its contributors may be used to endorse or promote products derived
     19  1.1  ross  *    from this software without specific prior written permission.
     20  1.1  ross  * 4. This copyright will be assigned to The NetBSD Foundation on
     21  1.1  ross  *    1/1/2000 unless these terms (including possibly the assignment
     22  1.1  ross  *    date) are updated in writing by Avalon prior to the latest specified
     23  1.1  ross  *    assignment date.
     24  1.1  ross  *
     25  1.1  ross  * THIS SOFTWARE IS PROVIDED BY AVALON COMPUTER SYSTEMS, INC. AND CONTRIBUTORS
     26  1.1  ross  * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
     27  1.1  ross  * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
     28  1.1  ross  * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL AVALON OR THE CONTRIBUTORS
     29  1.1  ross  * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
     30  1.1  ross  * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
     31  1.1  ross  * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
     32  1.1  ross  * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
     33  1.1  ross  * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
     34  1.1  ross  * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
     35  1.1  ross  * POSSIBILITY OF SUCH DAMAGE.
     36  1.1  ross  */
     37  1.1  ross int	ustarfs_open __P((char *, struct open_file *));
     38  1.1  ross int	ustarfs_close __P((struct open_file *));
     39  1.1  ross int	ustarfs_read __P((struct open_file *, void *, size_t, size_t *));
     40  1.1  ross int	ustarfs_write __P((struct open_file *, void *, size_t, size_t *));
     41  1.1  ross off_t	ustarfs_seek __P((struct open_file *, off_t, int));
     42  1.1  ross int	ustarfs_stat __P((struct open_file *, struct stat *));
     43