add.h File Reference

#include "db.h"
#include "alpm_list.h"
#include "trans.h"

Include dependency graph for add.h:

This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Functions

int _alpm_add_loadtarget (pmtrans_t *trans, pmdb_t *db, char *name)
int _alpm_add_prepare (pmtrans_t *trans, pmdb_t *db, alpm_list_t **data)
int _alpm_add_commit (pmtrans_t *trans, pmdb_t *db)


Function Documentation

int _alpm_add_commit ( pmtrans_t trans,
pmdb_t db 
)

Definition at line 844 of file lib/libalpm/add.c.

References _alpm_ldconfig(), _alpm_log(), alpm_list_count(), ALPM_LOG_FUNC, ASSERT, __alpm_list_t::data, handle, __alpm_list_t::next, __pmtrans_t::packages, PM_ERR_DB_NULL, PM_ERR_TRANS_NULL, PM_LOG_DEBUG, RET_ERR, _pmhandle_t::root, __pmtrans_t::state, STATE_INTERRUPTED, __pmtrans_t::targets, and _pmhandle_t::trans.

Referenced by _alpm_trans_commit().

Here is the call graph for this function:

Here is the caller graph for this function:

int _alpm_add_loadtarget ( pmtrans_t trans,
pmdb_t db,
char *  name 
)

Definition at line 51 of file lib/libalpm/add.c.

References _, _alpm_db_get_pkgfromcache(), _alpm_log(), _alpm_pkg_free(), _alpm_pkg_load(), _alpm_versioncmp(), alpm_list_add(), ALPM_LOG_FUNC, alpm_pkg_get_name(), alpm_pkg_get_version(), alpm_pkg_load(), ASSERT, __alpm_list_t::data, __pmtrans_t::flags, __pmpkg_t::name, __alpm_list_t::next, __pmtrans_t::packages, PM_ERR_DB_NULL, PM_ERR_PKG_INSTALLED, PM_ERR_TRANS_NULL, PM_ERR_WRONG_ARGS, pm_errno, PM_LOG_DEBUG, PM_LOG_WARNING, PM_PKG_REASON_DEPEND, PM_TRANS_FLAG_ALLDEPS, PM_TRANS_TYPE_UPGRADE, __pmpkg_t::reason, RET_ERR, __pmtrans_t::type, and __pmpkg_t::version.

Referenced by _alpm_trans_addtarget().

Here is the call graph for this function:

Here is the caller graph for this function:

int _alpm_add_prepare ( pmtrans_t trans,
pmdb_t db,
alpm_list_t **  data 
)

Definition at line 125 of file lib/libalpm/add.c.

References _, _alpm_db_find_fileconflicts(), _alpm_depmiss_free(), _alpm_fileconflict_free(), _alpm_innerconflicts(), _alpm_log(), _alpm_outerconflicts(), _alpm_sortbydeps(), alpm_checkdeps(), alpm_list_free(), alpm_list_free_inner(), alpm_list_join(), ALPM_LOG_FUNC, ASSERT, EVENT, __pmtrans_t::flags, FREELIST, handle, __pmtrans_t::packages, PM_ERR_CONFLICTING_DEPS, PM_ERR_DB_NULL, PM_ERR_FILE_CONFLICTS, PM_ERR_TRANS_NULL, PM_ERR_UNSATISFIED_DEPS, PM_LOG_DEBUG, PM_LOG_ERROR, PM_TRANS_EVT_CHECKDEPS_DONE, PM_TRANS_EVT_CHECKDEPS_START, PM_TRANS_EVT_FILECONFLICTS_DONE, PM_TRANS_EVT_FILECONFLICTS_START, PM_TRANS_FLAG_FORCE, PM_TRANS_FLAG_NODEPS, PM_TRANS_TYPE_ADD, PM_TRANS_TYPE_UPGRADE, RET_ERR, _pmhandle_t::root, and __pmtrans_t::type.

Referenced by _alpm_trans_prepare().

Here is the call graph for this function:

Here is the caller graph for this function:


Generated on Mon Jan 14 23:53:52 2008 for libalpm by  doxygen 1.5.4