ftp.nice.ch/pub/next/tools/scsi/SCSIInquire.3.0.s.tar.gz#/Inquirer/DriveSCSI.h

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

// Original Author:	Jiro Nakamura
// Created:		October 19, 1991
//
// RCS Information
// Revision Number->	$Revision: 1.4 $
// Last Revised->	$Date: 92/05/16 15:35:19 $
// ------------------
// History:
//	10-Jul-92	Jiro Nakamura
//		Cleaned up for release
// 	19-Oct-91	Jiro Nakamura
//		Created.


#import "SCSI.h"

struct readWriteStruct {
	u_int	logicalBlockAddress;
	u_int	transferLength: 16;
	u_int	byteTransferLength;
	u_char	*transferBuffer;
	};

struct  canonSectorTransfer
	{
	 u_int	sectorAddress;
	 u_int	transferLength;
	 };

	

@interface DriveSCSI:SCSI
{
}
- (int) formatUnitSCSI;

- (int) seekExtendedTo: (u_int) logicalBlockAddress;
- (int) seekExtendedSCSITo: (u_int) logicalBlockAddress;
- (int) readExtended: (struct readWriteStruct *) s;
- (int) readExtendedSCSI: (struct readWriteStruct *) s;

- (int)	canonWriteExtendedSCSI: (struct canonSectorTransfer *) sp  
		buffer: 	(char *) buffer 
		erase: 		(BOOL) erase;
	
@end

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