libalpm
Arch Linux Package Manager Library
Functions
sync.h File Reference
#include "alpm.h"
Include dependency graph for sync.h:
This graph shows which files directly or indirectly include this file:

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)

Function Documentation

int _alpm_sync_commit ( alpm_handle_t handle,
alpm_list_t **  data 
)
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().

Here is the call graph for this function:

Here is the caller graph for this function: