SCSIPort.h Reference

Declared in
SCSIPort.h

Overview

This file contains all the definitions for SCSIPort notifications and status.

Data Types

See the Overview section above for header-level documentation.

SCSIPortStatus

32-bit number to represent a SCSIPortStatus.

typedef UInt32 SCSIPortStatus;
Discussion

Type for SCSIPortStatus.

Availability
  • Available in OS X v10.3 and later.
Declared In
SCSIPort.h

Constants

See the Overview section above for header-level documentation.

kSCSIPort_NotificationStatusChange

enum {
   kSCSIPort_NotificationStatusChange = 0x68000001
};
Discussion

Message definition to be used with the messageClients call to inform of a change in port status.

SCSI Port Status Values

enum {
   /*!
   */
   kSCSIPort_StatusOnline = 0,
   /*!
   */
   kSCSIPort_StatusOffline = 1,
   /*!
   */
   kSCSIPort_StatusFailure = 2
};
Constants
kSCSIPort_StatusOnline

The port is online.

Available in OS X v10.3 and later.

Declared in SCSIPort.h.

kSCSIPort_StatusOffline

The port is offline (e.g. unplugged cable).

Available in OS X v10.3 and later.

Declared in SCSIPort.h.

kSCSIPort_StatusFailure

Driver has detected unrecoverable port failure (e.g. hardware port failure)

Available in OS X v10.3 and later.

Declared in SCSIPort.h.

Discussion

Definitions for the possible port status values