Specifications

38 Cross Bus Interface HighWire MTP-2 - 1.2, September 4, 2002
4-3-7. CBI_MSG_AVAIL_CALLBACK Prototype.
typedef int CBI_MSG_AVAIL_CALLBACK(
CBI_CORR appl_correlator,
CBI_LONG ips_type,
CBI_BUF_SIZE ctrl_len,
CBI_BUF_SIZE data_len)
Description. This routine informs the user application that a message is
available to be received. The user should immediately issue a cbi_recv()
cbi_recv()cbi_recv()
cbi_recv() to
receive the message. This callback is invoked on a separate thread of
execution created by the library so the application should make sure that any
data accessed within the context of this callback is locked appropriately.
Parameters.
Returns. Not used.
appl_correlator The correlator used by the application to identify the line
card associated with this callback.
Ips_type The type of message that the application will receive
when it next issues cbi_recv()
cbi_recv()cbi_recv()
cbi_recv().
ctrl_len The minimum length of the control buffer that the
application should provide on the subsequent cbi_recv()
cbi_recv()cbi_recv()
cbi_recv().
data_len The minimum length of the data buffer that the
application should provide on the subsequent cbi_recv()
cbi_recv()cbi_recv()
cbi_recv().