This is ListScsi.h in view mode; [Download] [Up]
#import <appkit/appkit.h> #import "scsi_commands.h" @interface ListScsi:Object { struct inquiry_all_reply inquireAllResult; struct esense_reply inquire_Ereply; short mapDiskToScsiId[INQ_ALL_MAX_SCSI_CNT]; char testBuff[120]; } - init; - (int) getTypeOfDev:(int) devNumber; - (int) getTypeOfDev:(int) devNumber retCharDescription:(char *)devStr ; @end /* some defines copied from bsd/dev/scsireg.h */ #define DEVTYPE_DISK 0x00 /* read/write disks */ #define DEVTYPE_TAPE 0x01 /* tapes and other sequential devices*/ #define DEVTYPE_PRINTER 0x02 /* printers */ #define DEVTYPE_PROCESSOR 0x03 /* cpu's */ #define DEVTYPE_WORM 0x04 /* write-once optical disks */ #define DEVTYPE_CDROM 0x05 /* cd rom's, etc */ #define DEVTYPE_SCANNER 0x06 #define DEVTYPE_OPTICAL 0x07 /* other optical storage */ #define DEVTYPE_CHANGER 0x08 /* jukebox */ #define DEVTYPE_COMM 0x09 /* communication device */ #define DEVTYPE_GRAPH_A 0x0a /* ASC IT8 graphics */ #define DEVTYPE_GRAPH_B 0x0b /* ASC IT8 graphics */ #define DEVTYPE_NOTPRESENT 0x1f /* logical unit not present */
These are the contents of the former NiCE NeXT User Group NeXTSTEP/OpenStep software archive, currently hosted by Netfuture.ch.