alpm_sys

Function 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)