pub type alpm_cb_download = Option<unsafe extern "C" fn(ctx: *mut c_void, filename: *const c_char, event: alpm_download_event_type_t, data: *mut c_void)>;
Expand description

Type of download progress callbacks. @param ctx user-provided context @param filename the name of the file being downloaded @param event the event type @param data the event data of type alpm_download_event_*_t