|
libalpm
Arch Linux Package Manager Library
|
#include <stdlib.h>#include <stdio.h>#include <string.h>#include <unistd.h>#include <sys/types.h>#include <errno.h>#include <limits.h>#include "trans.h"#include "alpm_list.h"#include "package.h"#include "util.h"#include "log.h"#include "handle.h"#include "remove.h"#include "sync.h"#include "alpm.h"#include "deps.h"#include "hook.h"
Functions | |
| int | alpm_trans_init (alpm_handle_t *handle, int flags) |
| Initialize the transaction. | |
| static alpm_list_t * | check_arch (alpm_handle_t *handle, alpm_list_t *pkgs) |
| int | alpm_trans_prepare (alpm_handle_t *handle, alpm_list_t **data) |
| Prepare a transaction. | |
| int | alpm_trans_commit (alpm_handle_t *handle, alpm_list_t **data) |
| Commit a transaction. | |
| int | alpm_trans_interrupt (alpm_handle_t *handle) |
| Interrupt a transaction. | |
| int | alpm_trans_release (alpm_handle_t *handle) |
| Release a transaction. | |
| static int | grep (const char *fn, const char *needle) |
| int | alpm_trans_get_flags (alpm_handle_t *handle) |
| Returns the bitfield of flags for the current transaction. | |
| alpm_list_t * | alpm_trans_get_add (alpm_handle_t *handle) |
| Returns a list of packages added by the transaction. | |
| alpm_list_t * | alpm_trans_get_remove (alpm_handle_t *handle) |
| Returns the list of packages removed by the transaction. | |
|
static |
References ALPM_ERR_MEMORY, alpm_list_add(), ALPM_LOG_DEBUG, alpm_pkg_get_arch(), alpm_list_t::data, MALLOC, alpm_list_t::next, and RET_ERR.
Referenced by alpm_trans_prepare().
|
static |