summaryrefslogtreecommitdiffstats
path: root/lib/libalpm/trans.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2006-03-04 16:33:44 +0100
committerAurelien Foret <aurelien@archlinux.org>2006-03-04 16:33:44 +0100
commit1bd8f57a183db0b9be503eeff3027c4b8d65627d (patch)
tree0ef7184196f10b36a281fff8ae969db7fa1ba395 /lib/libalpm/trans.h
parent297c5284b6364c94c2ea2b8911a912a3bfa2ce1e (diff)
downloadpacman-1bd8f57a183db0b9be503eeff3027c4b8d65627d.tar.gz
pacman-1bd8f57a183db0b9be503eeff3027c4b8d65627d.tar.xz
- changed flags type from char to int
- downloadonly implies FLAG_NOCONFLICTS
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 bddfbf9c..38c068b6 100644
--- a/lib/libalpm/trans.h
+++ b/lib/libalpm/trans.h
@@ -32,7 +32,7 @@ enum {
typedef struct __pmtrans_t {
unsigned char type;
- unsigned char flags;
+ unsigned int flags;
unsigned char state;
PMList *targets; /* PMList of (char *) */
PMList *packages; /* PMList of (pmpkg_t *) or (pmsyncpkg_t *) */
@@ -63,7 +63,7 @@ do { \
pmtrans_t *_alpm_trans_new(void);
void _alpm_trans_free(void *data);
-int _alpm_trans_init(pmtrans_t *trans, unsigned char type, unsigned char flags, alpm_trans_cb_event event, alpm_trans_cb_conv conv);
+int _alpm_trans_init(pmtrans_t *trans, unsigned char type, unsigned int flags, alpm_trans_cb_event event, alpm_trans_cb_conv conv);
int _alpm_trans_sysupgrade(pmtrans_t *trans);
int _alpm_trans_addtarget(pmtrans_t *trans, char *target);
int _alpm_trans_prepare(pmtrans_t *trans, PMList **data);