libalpm
Arch Linux Package Manager Library
|
#include <stdlib.h>
#include <stdio.h>
#include <string.h>
#include <alpm.h>
#include <alpm_list.h>
#include "pacman.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_upgrade | ( | alpm_list_t * | targets | ) |
Upgrade a specified list of packages.
targets | a list of packages (as strings) to upgrade |
Definition at line 40 of file upgrade.c.
References _, alpm_add_pkg(), alpm_errno(), alpm_fetch_pkgurl(), alpm_list_add(), alpm_list_next(), ALPM_LOG_ERROR, alpm_option_get_default_siglevel(), alpm_pkg_free(), alpm_pkg_load(), alpm_strerror(), config, __alpm_list_t::data, __config_t::explicit_adds, __config_t::flags, __config_t::handle, pm_printf(), sync_prepare_execute(), trans_init(), and trans_release().
Referenced by main().