saio.h revision 1.4
11.4She/*	$NetBSD: saio.h,v 1.4 2009/03/17 00:35:08 he Exp $	*/
21.1Swdk
31.1Swdk/*
41.1Swdk * Copyright (c) 2000 The NetBSD Foundation, Inc.
51.1Swdk * All rights reserved.
61.1Swdk *
71.1Swdk * This code is derived from software contributed to The NetBSD Foundation
81.1Swdk * by Wayne Knowles
91.1Swdk *
101.1Swdk * Redistribution and use in source and binary forms, with or without
111.1Swdk * modification, are permitted provided that the following conditions
121.1Swdk * are met:
131.1Swdk * 1. Redistributions of source code must retain the above copyright
141.1Swdk *    notice, this list of conditions and the following disclaimer.
151.1Swdk * 2. Redistributions in binary form must reproduce the above copyright
161.1Swdk *    notice, this list of conditions and the following disclaimer in the
171.1Swdk *    documentation and/or other materials provided with the distribution.
181.1Swdk *
191.1Swdk * THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
201.1Swdk * ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
211.1Swdk * TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
221.1Swdk * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
231.1Swdk * BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
241.1Swdk * CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
251.1Swdk * SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
261.1Swdk * INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
271.1Swdk * CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
281.1Swdk * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
291.1Swdk * POSSIBILITY OF SUCH DAMAGE.
301.1Swdk */
311.1Swdk
321.3Sdslint saioopen(struct open_file*, ...);
331.4She#if !defined(LIBSA_NO_DEV_CLOSE)
341.3Sdslint saioclose(struct open_file*);
351.4She#endif
361.4She#if !defined(LIBSA_NO_DEV_IOCTL)
371.3Sdslint saioioctl(struct open_file*, u_long, void*);
381.4She#endif
391.3Sdslint saiostrategy(void*, int, daddr_t, size_t, void*, size_t*);
40