panda_enable_callback

Function panda_enable_callback 

Source
pub unsafe extern "C" fn panda_enable_callback(
    plugin: *mut c_void,
    type_: u32,
    cb: panda_cb,
)
Expand description

panda_enable_callback() - Enable callback for this plugin so that it can run. @plugin: Pointer to plugin. @type: Type of callback, indicating when cb function will run. @cb: The callback function itself and other info.

Mark this callback as enabled so that it will run from now on.

NB: enable/disable are faster than register/unregister since they set a flag rather than adding/removing something from a list.