Emulex Logo
OneCoreā„¢ Storage SDK Release 11.2
 All Data Structures Files Functions Variables Typedefs Enumerations Enumerator Macros Groups Pages
Domain Functions

Functions

ocs_hal_rtn_e ocs_hal_domain_add (ocs_hal_t *hal, ocs_sli_port_t *sport, ocs_domain_t *domain)
 Adds a domain object. More...
 
ocs_hal_rtn_e ocs_hal_domain_free (ocs_hal_t *hal, ocs_domain_t *domain)
 Free a domain object. More...
 

Function Details

ocs_hal_rtn_e ocs_hal_domain_add ( ocs_hal_t *  hal,
ocs_sli_port_t *  sport,
ocs_domain_t *  domain 
)

Adds a domain object.

Description
This is a placeholder in iSCSI.
Parameters
halHardware context.
sportSLI port object used to connect to domain.
domainPointer to domain object.
Returns
Returns 0 on success, or a non-zero value otherwise.

Definition at line 3037 of file ocs_hal.c.

ocs_hal_rtn_e ocs_hal_domain_free ( ocs_hal_t *  hal,
ocs_domain_t *  domain 
)

Free a domain object.

Parameters
halHardware context.
domainPointer to the domain object.
Returns
Returns 0 on success, or a non-zero value otherwise.

Definition at line 3061 of file ocs_hal.c.