libalpm
Arch Linux Package Manager Library
|
#include <fnmatch.h>
#include <stdlib.h>
#include <stdio.h>
#include <alpm.h>
#include <alpm_list.h>
#include "pacman.h"
#include "util.h"
#include "conf.h"
Go to the source code of this file.
Functions | |
int | pacman_remove (alpm_list_t *targets) |
Remove a specified list of packages. |
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 79 of file src/pacman/remove.c.
References _, alpm_dep_compute_string(), ALPM_ERR_PKG_INVALID_ARCH, ALPM_ERR_UNSATISFIED_DEPS, alpm_errno(), alpm_list_find(), alpm_list_next(), ALPM_LOG_ERROR, ALPM_LOG_WARNING, alpm_pkg_get_name(), alpm_strerror(), alpm_trans_commit(), alpm_trans_get_remove(), alpm_trans_prepare(), config, __alpm_list_t::data, _alpm_depmissing_t::depend, display_targets(), __config_t::flags, FREELIST, __config_t::handle, __config_t::holdpkg, noyes(), pm_printf(), __config_t::print, print_packages(), _alpm_depmissing_t::target, trans_init(), trans_release(), and yesno().
Referenced by main().