pub type alpm_cb_progress = Option<unsafe extern "C" fn(ctx: *mut c_void, progress: alpm_progress_t, pkg: *const c_char, percent: c_int, howmany: usize, current: usize)>;
Expand description
Progress callback
Alert the front end about the progress of certain events. Allows the implementation of loading bars for events that make take a while to complete. @param ctx user-provided context @param progress the kind of event that is progressing @param pkg for package operations, the name of the package being operated on @param percent the percent completion of the action @param howmany the total amount of items in the action @param current the current amount of items completed / /** Progress callback
Aliased Type§
enum alpm_cb_progress {
None,
Some(unsafe extern "C" fn(_: *mut c_void, _: _alpm_progress_t, _: *const i8, _: i32, _: usize, _: usize)),
}