Mac Developer Library

Developer

IOFireWireSBP2Login.h Reference

Options
Deployment Target:

On This Page

IOFireWireSBP2Login.h Reference

Inheritance


Not Applicable

Conforms To


Not Applicable

Import Statement


Not Applicable

Objective-C

@import Kernel;

Contains the class definition for IOFireWireSBP2Login.

Included Headers

  • <IOKit/IOCommandGate.h>

  • <IOKit/firewire/IOFireWireUnit.h>

  • <IOKit/sbp2/IOFireWireSBP2ORB.h>

  • <IOKit/sbp2/IOFireWireSBP2Target.h>

Callbacks

  • Declaration

    Objective-C

    typedef void ( *FWSBP2FetchAgentWriteCallback)( void *refCon, IOReturn status, IOFireWireSBP2ORB *orb);

    Parameters

    refCon

    Reference constant supplied when the notification was registered.

    status

    Indicates success or failure of operation.

    orb

    Indicates current last orb in chain.

    Import Statement

    Objective-C

    #include <IOFireWireSBP2Login.h>;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef void ( *FWSBP2LoginCallback)( void *refCon, FWSBP2LoginCompleteParamsPtr params);

    Parameters

    refCon

    Reference constant supplied when the notification was registered.

    params

    Structure containing additional information about the status of the login.

    Import Statement

    Objective-C

    #include <IOFireWireSBP2Login.h>;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef void ( *FWSBP2LogoutCallback)( void *refCon, FWSBP2LogoutCompleteParamsPtr params);

    Parameters

    refCon

    Reference constant supplied when the notification was registered.

    params

    Structure containing additional information about the status of the logout.

    Import Statement

    Objective-C

    #include <IOFireWireSBP2Login.h>;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef void ( *FWSBP2NotifyCallback)( void *refCon, FWSBP2NotifyParamsPtr params);

    Parameters

    refCon

    Reference constant supplied when the notification was registered.

    params

    FWSBP2NotifyParams containing notification information.

    Import Statement

    Objective-C

    #include <IOFireWireSBP2Login.h>;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef void ( *FWSBP2StatusCallback)( void *refCon, IOReturn status);

    Parameters

    refCon

    Reference constant supplied when the notification was registered.

    status

    Indicates success or failure of operation.

    Import Statement

    Objective-C

    #include <IOFireWireSBP2Login.h>;

    Availability

    Available in OS X v10.0 and later.

Data Types

See the Overview section above for header-level documentation.

  • Declaration

    Objective-C

    typedef struct { IOFireWireSBP2Login *login; // login object this param is sent from UInt32 generation; // generation this login was attempted in IOReturn status; // status of login attempt FWSBP2LoginResponsePtr loginResponse; // pointer to loginResponse buffer FWSBP2StatusBlock *statusBlock; // pointer to statusBlock buffer UInt32 statusBlockLength; // size of statusBlock buffer } FWSBP2LoginCompleteParams, *FWSBP2LoginCompleteParamsPtr;

    Import Statement

    Objective-C

    #include <IOFireWireSBP2Login.h>;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef struct { IOFireWireSBP2Login *login; // login object this param is sent from UInt32 generation; // generation this login was attempted in IOReturn status; // status of login attempt FWSBP2LoginResponsePtr loginResponse; // pointer to loginResponse buffer FWSBP2StatusBlock *statusBlock; // pointer to statusBlock buffer UInt32 statusBlockLength; // size of statusBlock buffer } FWSBP2LoginCompleteParams, *FWSBP2LoginCompleteParamsPtr;

    Import Statement

    Objective-C

    #include <IOFireWireSBP2Login.h>;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef struct { UInt16 length; UInt16 loginID; UInt32 commandBlockAgentAddressHi; UInt32 commandBlockAgentAddressLo; UInt16 reserved; UInt16 reconnectHold; } FWSBP2LoginResponse, *FWSBP2LoginResponsePtr;

    Import Statement

    Objective-C

    #include <IOFireWireSBP2Login.h>;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef struct { UInt16 length; UInt16 loginID; UInt32 commandBlockAgentAddressHi; UInt32 commandBlockAgentAddressLo; UInt16 reserved; UInt16 reconnectHold; } FWSBP2LoginResponse, *FWSBP2LoginResponsePtr;

    Import Statement

    Objective-C

    #include <IOFireWireSBP2Login.h>;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef struct { IOFireWireSBP2Login *login; // login object this param is sent from UInt32 generation; // generation this login was attempted in IOReturn status; // status of login attempt FWSBP2StatusBlock *statusBlock; // pointer to statusBlock buffer UInt32 statusBlockLength; // size of statusBlock buffer } FWSBP2LogoutCompleteParams, *FWSBP2LogoutCompleteParamsPtr;

    Import Statement

    Objective-C

    #include <IOFireWireSBP2Login.h>;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef struct { IOFireWireSBP2Login *login; // login object this param is sent from UInt32 generation; // generation this login was attempted in IOReturn status; // status of reconnect attempt void *reconnectStatusBlock; // pointer to statusBlock buffer UInt32 reconnectStatusBlockLength; // size of statusBlock buffer } FWSBP2ReconnectParams, *FWSBP2ReconnectParamsPtr;

    Import Statement

    Objective-C

    #include <IOFireWireSBP2Login.h>;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef struct { IOFireWireSBP2Login *login; // login object this param is sent from UInt32 generation; // generation this login was attempted in IOReturn status; // status of login attempt FWSBP2StatusBlock *statusBlock; // pointer to statusBlock buffer UInt32 statusBlockLength; // size of statusBlock buffer } FWSBP2LogoutCompleteParams, *FWSBP2LogoutCompleteParamsPtr;

    Import Statement

    Objective-C

    #include <IOFireWireSBP2Login.h>;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef struct { void *commandObject; UInt32 notificationEvent; const void *message; UInt32 length; UInt32 generation; } FWSBP2NotifyParams, *FWSBP2NotifyParamsPtr;

    Import Statement

    Objective-C

    #include <IOFireWireSBP2Login.h>;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef struct { void *commandObject; UInt32 notificationEvent; const void *message; UInt32 length; UInt32 generation; } FWSBP2NotifyParams, *FWSBP2NotifyParamsPtr;

    Import Statement

    Objective-C

    #include <IOFireWireSBP2Login.h>;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef struct { IOFireWireSBP2Login *login; // login object this param is sent from UInt32 generation; // generation this login was attempted in IOReturn status; // status of reconnect attempt void *reconnectStatusBlock; // pointer to statusBlock buffer UInt32 reconnectStatusBlockLength; // size of statusBlock buffer } FWSBP2ReconnectParams, *FWSBP2ReconnectParamsPtr;

    Import Statement

    Objective-C

    #include <IOFireWireSBP2Login.h>;

    Availability

    Available in OS X v10.0 and later.

  • Declaration

    Objective-C

    typedef struct { UInt8 details; UInt8 sbpStatus; UInt16 orbOffsetHi; UInt32 orbOffsetLo; UInt32 status[6]; } FWSBP2StatusBlock;

    Import Statement

    Objective-C

    @import IOKit;

    Availability

    Available in OS X v10.0 and later.