summaryrefslogtreecommitdiff
path: root/lib/libalpm/trans.h
diff options
context:
space:
mode:
authorAurelien Foret <aurelien@archlinux.org>2005-04-16 22:14:34 +0000
committerAurelien Foret <aurelien@archlinux.org>2005-04-16 22:14:34 +0000
commit29a712e3939ff359cdaa8574be2c76d6f71a0c78 (patch)
tree8b87b008df04596e7d0856625bd5a96decfbf1b1 /lib/libalpm/trans.h
parent43ea74cce6ec1ce152c6120d64b221abed8dc27d (diff)
downloadpacman-29a712e3939ff359cdaa8574be2c76d6f71a0c78.tar.xz
- reworked transaction prototypes
- added a trans_sysupgrade function
Diffstat (limited to 'lib/libalpm/trans.h')
-rw-r--r--lib/libalpm/trans.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/libalpm/trans.h b/lib/libalpm/trans.h
index 98732fbf..c097d897 100644
--- a/lib/libalpm/trans.h
+++ b/lib/libalpm/trans.h
@@ -45,6 +45,7 @@ typedef struct __pmtrans_t {
pmtrans_t *trans_new();
void trans_free(pmtrans_t *trans);
int trans_init(pmtrans_t *trans, unsigned char type, unsigned char flags, alpm_trans_cb cb);
+int trans_sysupgrade(pmtrans_t *trans);
int trans_addtarget(pmtrans_t *trans, char *target);
int trans_prepare(pmtrans_t *trans, PMList **data);
int trans_commit(pmtrans_t *trans);