Function gnunet_sys::GNUNET_MQ_destroy_notify[][src]

pub unsafe extern "C" fn GNUNET_MQ_destroy_notify(
    mq: *mut GNUNET_MQ_Handle,
    cb: GNUNET_SCHEDULER_TaskCallback,
    cb_cls: *mut c_void
) -> *mut GNUNET_MQ_DestroyNotificationHandle

Register function to be called whenever @a mq is being destroyed.

@param mq message queue to watch @param cb function to call on @a mq destruction @param cb_cls closure for @a cb @return handle for #GNUNET_MQ_destroy_notify_cancel().