libalpm
Arch Linux Package Manager Library
|
#include "alpm.h"
Go to the source code of this file.
Data Structures | |
struct | __alpm_trans_t |
Typedefs | |
typedef enum _alpm_transstate_t | alpm_transstate_t |
Enumerations | |
enum | _alpm_transstate_t { STATE_IDLE = 0, STATE_INITIALIZED, STATE_PREPARED, STATE_DOWNLOADING, STATE_COMMITING, STATE_COMMITED, STATE_INTERRUPTED } |
Functions | |
void | _alpm_trans_free (alpm_trans_t *trans) |
int | _alpm_trans_init (alpm_trans_t *trans, alpm_transflag_t flags) |
int | _alpm_runscriptlet (alpm_handle_t *handle, const char *filepath, const char *script, const char *ver, const char *oldver, int is_archive) |
typedef enum _alpm_transstate_t alpm_transstate_t |
enum _alpm_transstate_t |
int _alpm_runscriptlet | ( | alpm_handle_t * | handle, |
const char * | filepath, | ||
const char * | script, | ||
const char * | ver, | ||
const char * | oldver, | ||
int | is_archive | ||
) |
Definition at line 276 of file trans.c.
References _, _alpm_access(), _alpm_copyfile(), _alpm_log(), _alpm_makepath_mode(), _alpm_run_chroot(), _alpm_unpack_single(), ALPM_ERR_MEMORY, ALPM_LOG_DEBUG, ALPM_LOG_ERROR, ALPM_LOG_WARNING, MALLOC, RET_ERR, and __alpm_handle_t::root.
Referenced by _alpm_remove_single_package().
void _alpm_trans_free | ( | alpm_trans_t * | trans | ) |
Definition at line 231 of file trans.c.
References _alpm_pkg_free(), _alpm_pkg_free_trans(), __alpm_trans_t::add, alpm_list_free(), alpm_list_free_inner(), FREE, FREELIST, __alpm_trans_t::remove, __alpm_trans_t::skip_remove, and __alpm_trans_t::unresolvable.
Referenced by _alpm_handle_free(), and alpm_trans_release().
int _alpm_trans_init | ( | alpm_trans_t * | trans, |
alpm_transflag_t | flags | ||
) |