1/* 2 * SCSI_media.h - 3 * 4 * Written by Eryk Vershen 5 */ 6 7/* 8 * Copyright 1997,1998 by Apple Computer, Inc. 9 * All Rights Reserved 10 * 11 * Permission to use, copy, modify, and distribute this software and 12 * its documentation for any purpose and without fee is hereby granted, 13 * provided that the above copyright notice appears in all copies and 14 * that both the copyright notice and this permission notice appear in 15 * supporting documentation. 16 * 17 * APPLE COMPUTER DISCLAIMS ALL WARRANTIES WITH REGARD TO THIS SOFTWARE 18 * INCLUDING ALL IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS 19 * FOR A PARTICULAR PURPOSE. 20 * 21 * IN NO EVENT SHALL APPLE COMPUTER BE LIABLE FOR ANY SPECIAL, INDIRECT, OR 22 * CONSEQUENTIAL DAMAGES OR ANY DAMAGES WHATSOEVER RESULTING FROM 23 * LOSS OF USE, DATA OR PROFITS, WHETHER IN ACTION OF CONTRACT, 24 * NEGLIGENCE, OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN CONNECTION 25 * WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. 26 */ 27 28#ifndef __SCSI_media__ 29#define __SCSI_media__ 30 31#include "media.h" 32 33 34/* 35 * Defines 36 */ 37 38 39/* 40 * Types 41 */ 42 43 44/* 45 * Global Constants 46 */ 47 48 49/* 50 * Global Variables 51 */ 52 53 54/* 55 * Forward declarations 56 */ 57MEDIA SCSI_FindDevice(long dRefNum); 58MEDIA open_old_scsi_as_media(long device); 59MEDIA open_scsi_as_media(long bus, long device); 60MEDIA_ITERATOR create_scsi_iterator(void); 61MEDIA open_linux_scsi_as_media(long index, int is_cdrom); 62char *linux_scsi_name(long bus, long id); 63char *linux_old_scsi_name(long id); 64 65#endif /* __SCSI_media__ */ 66