Logo
UNICENS V2.1.0-3491
User Manual and API Reference
Ucs_Inst_t* Ucs_CreateInstance ( void  )

Retrieves a UNICENS API instance.

One API instance is used to communicate with one local INIC. In this case the application is connected to one network. It is possible access multiple networks by having multiple API instances. Each API instance requires communication with an exclusive INIC.

Returns
Returns a reference to new instance of UNICENS or NULL, if it is not possible to create a further instance. The returned instance must be used as argument self.