libalpm
Arch Linux Package Manager Library
|
#include "alpm.h"
Go to the source code of this file.
Functions | |
int | _alpm_sync_prepare (alpm_handle_t *handle, alpm_list_t **data) |
int | _alpm_sync_commit (alpm_handle_t *handle, alpm_list_t **data) |
int _alpm_sync_commit | ( | alpm_handle_t * | handle, |
alpm_list_t ** | data | ||
) |
Definition at line 1106 of file lib/libalpm/sync.c.
References _, _alpm_check_diskspace(), _alpm_db_find_fileconflicts(), _alpm_fileconflict_free(), _alpm_log(), _alpm_remove_packages(), _alpm_upgrade_packages(), __alpm_trans_t::add, ALPM_ERR_FILE_CONFLICTS, ALPM_EVENT_DISKSPACE_DONE, ALPM_EVENT_DISKSPACE_START, ALPM_EVENT_FILECONFLICTS_DONE, ALPM_EVENT_FILECONFLICTS_START, alpm_list_free(), alpm_list_free_inner(), ALPM_LOG_DEBUG, ALPM_LOG_ERROR, ALPM_TRANS_FLAG_DBONLY, ALPM_TRANS_FLAG_DOWNLOADONLY, ALPM_TRANS_FLAG_FORCE, __alpm_handle_t::checkspace, __alpm_list_t::data, EVENT, __alpm_trans_t::flags, __alpm_list_t::next, __alpm_pkg_t::origin, PKG_FROM_FILE, __alpm_trans_t::remove, RET_ERR, __alpm_pkg_t::size, __alpm_trans_t::state, STATE_COMMITING, and __alpm_handle_t::trans.
Referenced by alpm_trans_commit().
int _alpm_sync_prepare | ( | alpm_handle_t * | handle, |
alpm_list_t ** | data | ||
) |
Definition at line 353 of file lib/libalpm/sync.c.
References _, _alpm_conflict_dup(), _alpm_conflict_free(), _alpm_db_get_pkgcache(), _alpm_db_get_pkgfromcache(), _alpm_dep_free(), _alpm_depcmp(), _alpm_depmiss_free(), _alpm_innerconflicts(), _alpm_log(), _alpm_outerconflicts(), _alpm_pkg_cmp(), _alpm_pkg_dup(), _alpm_pkg_find(), _alpm_resolvedeps(), _alpm_sortbydeps(), _alpm_splitdep(), __alpm_trans_t::add, alpm_checkdeps(), ALPM_ERR_CONFLICTING_DEPS, ALPM_ERR_DB_INVALID, ALPM_ERR_DB_NOT_FOUND, ALPM_ERR_UNSATISFIED_DEPS, ALPM_EVENT_INTERCONFLICTS_DONE, ALPM_EVENT_INTERCONFLICTS_START, ALPM_EVENT_RESOLVEDEPS_DONE, ALPM_EVENT_RESOLVEDEPS_START, alpm_list_add(), alpm_list_diff(), alpm_list_free(), alpm_list_free_inner(), alpm_list_remove(), ALPM_LOG_DEBUG, ALPM_LOG_ERROR, ALPM_LOG_WARNING, ALPM_PKG_REASON_DEPEND, ALPM_QUESTION_CONFLICT_PKG, ALPM_QUESTION_REMOVE_PKGS, ALPM_TRANS_FLAG_NOCONFLICTS, ALPM_TRANS_FLAG_NODEPS, __alpm_list_t::data, __alpm_handle_t::db_local, DB_STATUS_INVALID, DB_STATUS_MISSING, __alpm_handle_t::dbs_sync, EVENT, __alpm_trans_t::flags, __alpm_pkg_t::name, _alpm_depend_t::name, __alpm_list_t::next, __alpm_pkg_t::origin, _alpm_conflict_t::package1, _alpm_conflict_t::package2, PKG_FROM_SYNCDB, __alpm_handle_t::pm_errno, QUESTION, __alpm_pkg_t::reason, _alpm_conflict_t::reason, __alpm_trans_t::remove, __alpm_pkg_t::removes, RET_ERR, __alpm_db_t::status, __alpm_handle_t::trans, and __alpm_trans_t::unresolvable.
Referenced by alpm_trans_prepare().