Function ctru_sys::aptHook

source ·
pub unsafe extern "C" fn aptHook(
    cookie: *mut aptHookCookie,
    callback: aptHookFn,
    param: *mut c_void
)
Expand description

Sets up an APT status hook.

§Arguments

  • cookie - Hook cookie to use.
  • callback - Function to call when APT’s status changes.
  • param - User-defined parameter to pass to the callback.