summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/trans.h
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2007-03-06 02:21:41 +0100
committerDan McGee <dan@archlinux.org>2007-03-06 02:21:41 +0100
commit5baba8439761a54c488ff42e4e599b3c93dbe669 (patch)
tree3c9a0585fb7a558bba9c9574777058e2e21d97e1 /lib/libalpm/trans.h
parent869e81e1cf115e835040d0ecadb6108880103abe (diff)
downloadpacman-5baba8439761a54c488ff42e4e599b3c93dbe669.tar.gz
pacman-5baba8439761a54c488ff42e4e599b3c93dbe669.tar.xz
* Added missing header include guards in md5.h and sha1.h.
* Some header cleanup on the pacman side of things - we had alpm.h instead alpm_list.h in a few headers. * removed an extra slash in path-building snprintf in server.c.
Diffstat (limited to 'lib/libalpm/trans.h')
-rw-r--r--lib/libalpm/trans.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/libalpm/trans.h b/lib/libalpm/trans.h
index 83b99abb..34a060ad 100644
--- a/lib/libalpm/trans.h
+++ b/lib/libalpm/trans.h
@@ -39,7 +39,7 @@ typedef enum _pmtransstate_t {
/* Transaction */
struct __pmtrans_t {
pmtranstype_t type;
- unsigned int flags;
+ pmtransflag_t flags;
pmtransstate_t state;
alpm_list_t *targets; /* list of (char *) */
alpm_list_t *packages; /* list of (pmpkg_t *) or (pmsyncpkg_t *) */
@@ -78,7 +78,7 @@ do { \
pmtrans_t *_alpm_trans_new(void);
void _alpm_trans_free(void *data);
-int _alpm_trans_init(pmtrans_t *trans, pmtranstype_t type, unsigned int flags,
+int _alpm_trans_init(pmtrans_t *trans, pmtranstype_t type, pmtransflag_t flags,
alpm_trans_cb_event event, alpm_trans_cb_conv conv,
alpm_trans_cb_progress progress);
int _alpm_trans_sysupgrade(pmtrans_t *trans);