[][src]Function alpm_sys_fork::alpm_trans_init

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

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)