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

Aliased Type§

pub enum MQCB_FUNCTION {
    None,
    Some(unsafe extern "C" fn(i32, *mut c_void, &mut MQGMO, *mut c_void, &mut MQCBC)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(i32, *mut c_void, &mut MQGMO, *mut c_void, &mut MQCBC))

Some value of type T.