rz.h revision 1.4
11.4She/*	$NetBSD: rz.h,v 1.4 2009/03/17 00:45:46 he Exp $	*/
21.1Ssimonb
31.1Ssimonb/*
41.1Ssimonb * Copyright (c) 1997 Jonathan Stone (hereinafter referred to as the author)
51.1Ssimonb * All rights reserved.
61.1Ssimonb *
71.1Ssimonb * Redistribution and use in source and binary forms, with or without
81.1Ssimonb * modification, are permitted provided that the following conditions
91.1Ssimonb * are met:
101.1Ssimonb * 1. Redistributions of source code must retain the above copyright
111.1Ssimonb *    notice, this list of conditions and the following disclaimer.
121.1Ssimonb * 2. Redistributions in binary form must reproduce the above copyright
131.1Ssimonb *    notice, this list of conditions and the following disclaimer in the
141.1Ssimonb *    documentation and/or other materials provided with the distribution.
151.1Ssimonb * 3. All advertising materials mentioning features or use of this software
161.1Ssimonb *    must display the following acknowledgement:
171.1Ssimonb *      This product includes software developed by Jonathan Stone for
181.1Ssimonb *      the NetBSD Project.
191.1Ssimonb * 4. The name of the author may not be used to endorse or promote products
201.1Ssimonb *    derived from this software without specific prior written permission.
211.1Ssimonb *
221.1Ssimonb * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND
231.1Ssimonb * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
241.1Ssimonb * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
251.1Ssimonb * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR BE LIABLE
261.1Ssimonb * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
271.1Ssimonb * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
281.1Ssimonb * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
291.1Ssimonb * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
301.1Ssimonb * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
311.1Ssimonb * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
321.1Ssimonb * SUCH DAMAGE.
331.1Ssimonb */
341.1Ssimonb
351.3Sdslint rzstrategy(void*, int, daddr_t, size_t, void*, size_t*);
361.3Sdslint rzopen(struct open_file*, ...);
371.4She#if !defined(LIBSA_NO_DEV_CLOSE)
381.3Sdslint rzclose(struct open_file*);
391.4She#endif
401.4She#if !defined(LIBSA_NO_DEV_IOCTL)
411.3Sdslint rzioctl(struct open_file*, u_long, void*);
421.4She#endif
43