Type Alias MQCB_FUNCTION
Source pub type MQCB_FUNCTION = Option<unsafe extern "C" fn(Hconn: MQHCONN, MsgDesc: PMQVOID, GetMsgOpts: &mut MQGMO, Buffer: PMQVOID, Context: &mut MQCBC)>;
Expand description
Message Consumer routine (Called by MQ)
§Arguments
Hconn: Connection handle
MsgDesc: Message descriptor
GetMsgOpts: Area containing the MQGMO
Buffer: Area containing the message data
Context: Area containing the Consumer context
§References
pub enum MQCB_FUNCTION {
None,
Some(unsafe extern "C" fn(i32, *mut c_void, &mut MQGMO, *mut c_void, &mut MQCBC)),
}