Mac Developer Library

Developer

SCSIPort.h Reference

Options
Deployment Target:

On This Page

SCSIPort.h Reference

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Not Applicable

Objective-C

@import Kernel;

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

Data Types

See the Overview section above for header-level documentation.

  • 32-bit number to represent a SCSIPortStatus.

    Declaration

    Objective-C

    typedef UInt32 SCSIPortStatus;

    Discussion

    Type for SCSIPortStatus.

    Import Statement

    Objective-C

    #include <SCSIPort.h>;

    Availability

    Available in OS X v10.3 and later.

Constants

See the Overview section above for header-level documentation.

  • Declaration

    Objective-C

    enum { kSCSIPort_NotificationStatusChange = 0x68000001 };

    Discussion

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

  • Declaration

    Objective-C

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

    Constants

    • kSCSIPort_StatusOnline

      kSCSIPort_StatusOnline

      The port is online.

      Available in OS X v10.3 and later.

    • kSCSIPort_StatusOffline

      kSCSIPort_StatusOffline

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

      Available in OS X v10.3 and later.

    • kSCSIPort_StatusFailure

      kSCSIPort_StatusFailure

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

      Available in OS X v10.3 and later.

    Discussion

    Definitions for the possible port status values