Type Alias alpm_sys::alpm_cb_question

source ·
pub type alpm_cb_question = Option<unsafe extern "C" fn(ctx: *mut c_void, arg1: *mut alpm_question_t)>;
Expand description

Question callback.

This callback allows user to give input and decide what to do during certain events @param ctx user-provided context @param question the question being asked.

Aliased Type§

enum alpm_cb_question {
    None,
    Some(unsafe extern "C" fn(_: *mut c_void, _: *mut _alpm_question_t)),
}

Variants§

§1.0.0

None

No value.

§1.0.0

Some(unsafe extern "C" fn(_: *mut c_void, _: *mut _alpm_question_t))

Some value of type T.