Specifications
34 Cross Bus Interface HighWire MTP-2 - 1.2, September 4, 2002
4-3. Basic Interface Functions and API Calls
4-3-1. cbi_initialize Prototype.
CBI_UINT32 cbi_initialize(
CBI_SENT_CALLBACK * sent_cb,
CBI_MSG_AVAIL_CALLBACK * msg_avail_cb)
Description. This function is invoked by the user to initialize the library. It must
be invoked before any other calls are made.
Parameters
Returns. CBI_RC_SYNC_COMPLETE if the library has been successfully
initialized. Any other return code indicates an error.
sent_cb This callback has been deprecated [null] for Highwire MTP2 for
Solaris GA 1.0. This value is null
nullnull
null for HWMTP2 for SDK, since all
messages are guaranteed to be delivered to the stack.
msg_avail_cb The address of the message available callback routine that the
application supplies to allow the library to notify it when a
message is available to be received.