1
0
mirror of https://github.com/moparisthebest/pacman synced 2024-08-13 17:03:46 -04:00

Rename pmtransstate_t to alpm_transstate_t

Signed-off-by: Allan McRae <allan@archlinux.org>
This commit is contained in:
Allan McRae 2011-06-28 14:57:47 +10:00
parent 71fa9f912d
commit 925f42e460

View File

@ -25,7 +25,7 @@
#include "alpm.h" #include "alpm.h"
typedef enum _pmtransstate_t { typedef enum _alpm_transstate_t {
STATE_IDLE = 0, STATE_IDLE = 0,
STATE_INITIALIZED, STATE_INITIALIZED,
STATE_PREPARED, STATE_PREPARED,
@ -33,12 +33,12 @@ typedef enum _pmtransstate_t {
STATE_COMMITING, STATE_COMMITING,
STATE_COMMITED, STATE_COMMITED,
STATE_INTERRUPTED STATE_INTERRUPTED
} pmtransstate_t; } alpm_transstate_t;
/* Transaction */ /* Transaction */
struct __alpm_trans_t { struct __alpm_trans_t {
alpm_transflag_t flags; alpm_transflag_t flags;
pmtransstate_t state; alpm_transstate_t state;
alpm_list_t *add; /* list of (alpm_pkg_t *) */ alpm_list_t *add; /* list of (alpm_pkg_t *) */
alpm_list_t *remove; /* list of (alpm_pkg_t *) */ alpm_list_t *remove; /* list of (alpm_pkg_t *) */
alpm_list_t *skip_remove; /* list of (char *) */ alpm_list_t *skip_remove; /* list of (char *) */