Function alpm_sys::alpm_trans_init

source ·
pub unsafe extern "C" fn alpm_trans_init(
    handle: *mut alpm_handle_t,
    flags: c_int
) -> c_int
Expand description

Initialize the transaction. @param handle the context handle @param flags flags of the transaction (like nodeps, etc; see alpm_transflag_t) @return 0 on success, -1 on error (pm_errno is set accordingly)