#include <alpm_list.h>


Go to the source code of this file.
Functions | |
| int | pacman_add (alpm_list_t *targets) |
| Add a specified list of packages which cannot already be installed. | |
| int | pacman_upgrade (alpm_list_t *targets) |
| Upgrade a specified list of packages. | |
| int | pacman_sync (alpm_list_t *targets) |
| int | pacman_query (alpm_list_t *targets) |
| int | pacman_remove (alpm_list_t *targets) |
| Remove a specified list of packages. | |
| int | pacman_deptest (alpm_list_t *targets) |
| int pacman_add | ( | alpm_list_t * | targets | ) |
Add a specified list of packages which cannot already be installed.
| targets | a list of packages (as strings) to add |
Definition at line 70 of file src/pacman/add.c.
References _, alpm_conflict_get_package1(), alpm_conflict_get_package2(), alpm_dep_get_string(), alpm_fetch_pkgurl(), alpm_fileconflict_get_ctarget(), alpm_fileconflict_get_file(), alpm_fileconflict_get_target(), alpm_fileconflict_get_type(), alpm_list_free(), alpm_list_getdata(), alpm_list_next(), alpm_miss_get_dep(), alpm_miss_get_target(), alpm_option_get_lockfile(), alpm_strerrorlast(), alpm_trans_addtarget(), alpm_trans_commit(), alpm_trans_init(), alpm_trans_prepare(), cb_trans_conv(), cb_trans_evt(), cb_trans_progress(), config, __alpm_list_t::data, __config_t::flags, FREELIST, PM_ERR_CONFLICTING_DEPS, PM_ERR_FILE_CONFLICTS, PM_ERR_HANDLE_LOCK, PM_ERR_UNSATISFIED_DEPS, pm_errno, PM_FILECONFLICT_FILESYSTEM, PM_FILECONFLICT_TARGET, PM_LOG_ERROR, pm_printf(), PM_TRANS_TYPE_ADD, PM_TRANS_TYPE_UPGRADE, and __config_t::upgrade.
Referenced by main(), and pacman_upgrade().


| int pacman_deptest | ( | alpm_list_t * | targets | ) |
Definition at line 35 of file deptest.c.
References alpm_db_get_pkg(), alpm_db_whatprovides(), alpm_dep_get_name(), alpm_depcmp(), alpm_list_free(), alpm_list_getdata(), alpm_list_next(), alpm_option_get_localdb(), and alpm_splitdep().
Referenced by main().


| int pacman_query | ( | alpm_list_t * | targets | ) |
Definition at line 324 of file query.c.
References _, alpm_db_get_pkg(), alpm_db_getpkgcache(), alpm_list_count(), alpm_list_getdata(), alpm_list_next(), alpm_option_get_syncdbs(), alpm_pkg_free(), alpm_pkg_load(), config, __config_t::group, __config_t::op_q_foreign, __config_t::op_q_isfile, __config_t::op_q_owns, __config_t::op_q_search, __config_t::op_q_upgrade, PM_LOG_ERROR, and pm_printf().
Referenced by main().


| int pacman_remove | ( | alpm_list_t * | targets | ) |
Remove a specified list of packages.
| targets | a list of packages (as strings) to remove from the system |
Definition at line 57 of file src/pacman/remove.c.
References _, alpm_db_readgrp(), alpm_dep_get_string(), alpm_grp_get_name(), alpm_grp_get_pkgs(), alpm_list_add(), alpm_list_getdata(), alpm_list_next(), alpm_miss_get_dep(), alpm_miss_get_target(), alpm_option_get_lockfile(), alpm_pkg_get_name(), alpm_strerrorlast(), alpm_trans_addtarget(), alpm_trans_commit(), alpm_trans_get_pkgs(), alpm_trans_init(), alpm_trans_prepare(), cb_trans_conv(), cb_trans_evt(), cb_trans_progress(), config, __config_t::flags, FREELIST, list_display(), PM_ERR_HANDLE_LOCK, PM_ERR_UNSATISFIED_DEPS, pm_errno, PM_LOG_ERROR, pm_printf(), PM_TRANS_FLAG_CASCADE, PM_TRANS_FLAG_RECURSE, PM_TRANS_TYPE_REMOVE, and yesno().
Referenced by main().


| int pacman_sync | ( | alpm_list_t * | targets | ) |
Definition at line 759 of file src/pacman/sync.c.
References _, alpm_list_count(), alpm_option_get_syncdbs(), config, __config_t::group, needs_transaction(), __config_t::op_q_list, __config_t::op_s_clean, __config_t::op_s_info, __config_t::op_s_search, __config_t::op_s_sync, __config_t::op_s_upgrade, PM_LOG_ERROR, and pm_printf().
Referenced by main().


| int pacman_upgrade | ( | alpm_list_t * | targets | ) |
Upgrade a specified list of packages.
| targets | a list of packages (as strings) to upgrade |
Definition at line 55 of file src/pacman/add.c.
References config, pacman_add(), and __config_t::upgrade.
Referenced by main().


1.5.4