Function alpm_sys::alpm_trans_prepare
source · pub unsafe extern "C" fn alpm_trans_prepare(
handle: *mut alpm_handle_t,
data: *mut *mut alpm_list_t
) -> c_int
Expand description
Prepare a transaction. @param handle the context handle @param data the address of an alpm_list where a list of alpm_depmissing_t objects is dumped (conflicting packages) @return 0 on success, -1 on error (pm_errno is set accordingly)