remove.h File Reference

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

Include dependency graph for remove.h:

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

Go to the source code of this file.

Functions

int _alpm_remove_loadtarget (pmtrans_t *trans, pmdb_t *db, char *name)
int _alpm_remove_prepare (pmtrans_t *trans, pmdb_t *db, alpm_list_t **data)
int _alpm_remove_commit (pmtrans_t *trans, pmdb_t *db)


Function Documentation

int _alpm_remove_commit ( pmtrans_t trans,
pmdb_t db 
)

Definition at line 254 of file lib/libalpm/remove.c.

References _, _alpm_db_remove(), _alpm_db_remove_pkgfromcache(), _alpm_ldconfig(), _alpm_log(), _alpm_runscriptlet(), alpm_list_count(), alpm_list_free(), alpm_list_next(), alpm_list_reverse(), ALPM_LOG_FUNC, alpm_pkg_get_files(), alpm_pkg_get_name(), alpm_pkg_get_version(), alpm_pkg_has_scriptlet(), ASSERT, __alpm_list_t::data, EVENT, __pmtrans_t::flags, handle, __pmpkg_t::name, __alpm_list_t::next, __pmtrans_t::packages, __pmdb_t::path, PM_ERR_DB_NULL, PM_ERR_PKG_CANT_REMOVE, PM_ERR_TRANS_NULL, PM_LOG_DEBUG, PM_LOG_ERROR, PM_TRANS_EVT_REMOVE_DONE, PM_TRANS_EVT_REMOVE_START, PM_TRANS_FLAG_DBONLY, PM_TRANS_FLAG_NOSCRIPTLET, PM_TRANS_PROGRESS_REMOVE_START, PM_TRANS_TYPE_REMOVEUPGRADE, PROGRESS, RET_ERR, _pmhandle_t::root, __pmtrans_t::state, STATE_INTERRUPTED, _pmhandle_t::trans, and __pmtrans_t::type.

Referenced by _alpm_trans_commit().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 50 of file lib/libalpm/remove.c.

References _alpm_db_scan(), _alpm_log(), _alpm_pkg_find(), alpm_list_add(), alpm_list_find_str(), ALPM_LOG_FUNC, ASSERT, handle, _pmhandle_t::holdpkg, __pmpkg_t::name, __pmtrans_t::packages, PM_ERR_DB_NULL, PM_ERR_PKG_HOLD, PM_ERR_PKG_NOT_FOUND, PM_ERR_TRANS_DUP_TARGET, PM_ERR_TRANS_NULL, PM_ERR_WRONG_ARGS, PM_LOG_DEBUG, PM_TRANS_CONV_REMOVE_HOLDPKG, QUESTION, RET_ERR, and _pmhandle_t::trans.

Referenced by _alpm_trans_addtarget().

Here is the call graph for this function:

Here is the caller graph for this function:

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

Definition at line 86 of file lib/libalpm/remove.c.

References _, _alpm_db_scan(), _alpm_depmiss_free(), _alpm_log(), _alpm_pkg_find(), _alpm_recursedeps(), _alpm_sortbydeps(), alpm_checkdeps(), alpm_list_add(), alpm_list_free(), alpm_list_free_inner(), ALPM_LOG_FUNC, alpm_pkg_get_name(), ASSERT, __alpm_list_t::data, EVENT, __pmtrans_t::flags, FREELIST, __alpm_list_t::next, __pmtrans_t::packages, PM_ERR_DB_NULL, 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_FLAG_CASCADE, PM_TRANS_FLAG_NODEPS, PM_TRANS_FLAG_RECURSE, PM_TRANS_TYPE_REMOVE, PM_TRANS_TYPE_REMOVEUPGRADE, RET_ERR, __pmdepmissing_t::target, 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:59:02 2008 for libalpm by  doxygen 1.5.4