#include "config.h"#include <stdlib.h>#include <stdio.h>#include <string.h>#include <alpm.h>#include <alpm_list.h>#include "pacman.h"#include "callback.h"#include "conf.h"#include "util.h"

Go to the source code of this file.
Functions | |
| int | pacman_upgrade (alpm_list_t *targets) |
| Upgrade a specified list of packages. | |
| int | pacman_add (alpm_list_t *targets) |
| Add a specified list of packages which cannot already be installed. | |
| 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_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