1*d44fdcfcShe /* $NetBSD: rz.h,v 1.4 2009/03/17 00:45:46 he Exp $ */ 22dcb3cc6Ssimonb 32dcb3cc6Ssimonb /* 42dcb3cc6Ssimonb * Copyright (c) 1997 Jonathan Stone (hereinafter referred to as the author) 52dcb3cc6Ssimonb * All rights reserved. 62dcb3cc6Ssimonb * 72dcb3cc6Ssimonb * Redistribution and use in source and binary forms, with or without 82dcb3cc6Ssimonb * modification, are permitted provided that the following conditions 92dcb3cc6Ssimonb * are met: 102dcb3cc6Ssimonb * 1. Redistributions of source code must retain the above copyright 112dcb3cc6Ssimonb * notice, this list of conditions and the following disclaimer. 122dcb3cc6Ssimonb * 2. Redistributions in binary form must reproduce the above copyright 132dcb3cc6Ssimonb * notice, this list of conditions and the following disclaimer in the 142dcb3cc6Ssimonb * documentation and/or other materials provided with the distribution. 152dcb3cc6Ssimonb * 3. All advertising materials mentioning features or use of this software 162dcb3cc6Ssimonb * must display the following acknowledgement: 172dcb3cc6Ssimonb * This product includes software developed by Jonathan Stone for 182dcb3cc6Ssimonb * the NetBSD Project. 192dcb3cc6Ssimonb * 4. The name of the author may not be used to endorse or promote products 202dcb3cc6Ssimonb * derived from this software without specific prior written permission. 212dcb3cc6Ssimonb * 222dcb3cc6Ssimonb * THIS SOFTWARE IS PROVIDED BY THE AUTHOR ``AS IS'' AND 232dcb3cc6Ssimonb * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE 242dcb3cc6Ssimonb * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE 252dcb3cc6Ssimonb * ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR BE LIABLE 262dcb3cc6Ssimonb * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL 272dcb3cc6Ssimonb * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS 282dcb3cc6Ssimonb * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) 292dcb3cc6Ssimonb * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT 302dcb3cc6Ssimonb * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 312dcb3cc6Ssimonb * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 322dcb3cc6Ssimonb * SUCH DAMAGE. 332dcb3cc6Ssimonb */ 342dcb3cc6Ssimonb 3502cdf4d2Sdsl int rzstrategy(void*, int, daddr_t, size_t, void*, size_t*); 3602cdf4d2Sdsl int rzopen(struct open_file*, ...); 37*d44fdcfcShe #if !defined(LIBSA_NO_DEV_CLOSE) 3802cdf4d2Sdsl int rzclose(struct open_file*); 39*d44fdcfcShe #endif 40*d44fdcfcShe #if !defined(LIBSA_NO_DEV_IOCTL) 4102cdf4d2Sdsl int rzioctl(struct open_file*, u_long, void*); 42*d44fdcfcShe #endif 43