ftp.nice.ch/pub/next/tools/scsi/SCSI2_ToolBox.941207.NI.bs.gnutar.gz#/SCSI2_ToolBox/SCSI2_Kit/Source/DriveSCSI.h

This is DriveSCSI.h in view mode; [Download] [Up]

//
//	DriveSCSI_Class - subclass of SCSI2_Class for disk drive devices
//
//	Copyright (C) 1994 by Christopher Wolf.
//
//	This library is free software; you can redistribute it and/or
//	modify it under the terms of the GNU Library General Public
//	License as published by the Free Software Foundation; either
//	version 2 of the License, or (at your option) any later version.
//
//	This library is distributed in the hope that it will be useful,
//	but WITHOUT ANY WARRANTY; without even the implied warranty of
//	MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
//	Library General Public License for more details.
//
//	You should have received a copy of the GNU Library General Public
//	License along with this library; if not, write to the Free
//	Software Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
//
//	Bug-reports, comments and questions should be directed to:
//		Christopher Wolf <chris@alchemy.geo.cornell.edu>
//
//	Portions of this code and documentation are derived from an 
//	earlier work (SCSI Inquirer) Copyright (C) 1990, 1991, 1992 by 
//	Jiro Nakamura and used with permission.
//

//
// 	For best results view this file with a tab size of 4 and
//	a display width of 132 columns or wider.
//

//	file version information
#define RCSDSH "$Id: DriveSCSI.h,v 0.32 94/12/06 03:38:24 chris Exp $"

//	SCSI2 class specific headers
#import "SCSI.h"

@interface DriveSCSI:SCSI
	{
	}
	
// sub-class responsibility
- (BOOL) isDevice;	

// pre-packaged commands
- (int) seekExtended: (u_int)logicalBlockAddress;
- (int) readExtended: (char *)destBuffer numBytes: (u_int)numBytes numBlocks: (u_int)numBlocks lba: (u_int)lba ; 
- (int) read: (char *)destBuffer numBytes: (u_int)numBytes numBlocks: (u_int)numBlocks lba: (u_int)lba ; 
- (int) formatUnitInterleave: (u_int)interleave clearGList: (BOOL)clearGList cert: (BOOL)mediaCert;
		
@end

These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.