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

Functions

ocs_domain_t * ocs_domain_alloc (ocs_t *ocs)
 Allocate a domain object. More...
 
void ocs_domain_free (ocs_domain_t *domain)
 free a domain object More...
 
int ocs_ddump_domain (ocs_textbuf_t *textbuf, ocs_domain_t *domain)
 Generate domain ddump. More...
 

Function Details

int ocs_ddump_domain ( ocs_textbuf_t *  textbuf,
ocs_domain_t *  domain 
)

Generate domain ddump.

Generates domain ddump

Parameters
textbufpointer to text buffer
domainpointer to domain context
Returns
Returns 0 on success, or a negative value on failure.

Definition at line 205 of file ocs_domain.c.

ocs_domain_t* ocs_domain_alloc ( ocs_t *  ocs)

Allocate a domain object.

A domain object is allocated and initialized. It is associated with the argument 'ocs'

Parameters
ocspointer to OCS device
Returns
returns pointer to ocs_domain_t object or NULL

Definition at line 71 of file ocs_domain.c.

void ocs_domain_free ( ocs_domain_t *  domain)

free a domain object

The domain is freed

Parameters
domaindomain object to free
Returns
none

Definition at line 112 of file ocs_domain.c.