libalpm
Arch Linux Package Manager Library
|
#include <stdlib.h>
#include <errno.h>
#include <string.h>
#include <limits.h>
#include <fcntl.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <unistd.h>
#include <stdint.h>
#include <archive.h>
#include <archive_entry.h>
#include "add.h"
#include "alpm.h"
#include "alpm_list.h"
#include "handle.h"
#include "trans.h"
#include "util.h"
#include "log.h"
#include "backup.h"
#include "package.h"
#include "db.h"
#include "remove.h"
Go to the source code of this file.
Functions | |
int | alpm_add_pkg (alpm_handle_t *handle, alpm_pkg_t *pkg) |
Add a package to the transaction. | |
int | _alpm_upgrade_packages (alpm_handle_t *handle) |
int _alpm_upgrade_packages | ( | alpm_handle_t * | handle | ) |
Definition at line 668 of file add.c.
References _alpm_ldconfig(), __alpm_trans_t::add, ALPM_ERR_TRANS_ABORT, alpm_list_count(), __alpm_list_t::data, __alpm_list_t::next, __alpm_handle_t::pm_errno, __alpm_trans_t::state, STATE_INTERRUPTED, and __alpm_handle_t::trans.
Referenced by _alpm_sync_commit().