From 7131b7ac87b9793c06d7b7e59df103658dd76ec7 Mon Sep 17 00:00:00 2001 From: Aaron Griffin Date: Fri, 20 Oct 2006 06:26:55 +0000 Subject: A handful of minor changes: * Removed the PMList typedef, in favor of the same naming scheme other structs use 'pmlist_t' * Added a time stamp on debug output, to make it more informational * Moved alpm_db_register to _alpm_db_register, making the public function not take a callback parameter --- lib/libalpm/trans.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'lib/libalpm/trans.h') diff --git a/lib/libalpm/trans.h b/lib/libalpm/trans.h index a0b72127..95e672b6 100644 --- a/lib/libalpm/trans.h +++ b/lib/libalpm/trans.h @@ -40,9 +40,9 @@ typedef struct __pmtrans_t { unsigned char type; unsigned int flags; unsigned char state; - PMList *targets; /* PMList of (char *) */ - PMList *packages; /* PMList of (pmpkg_t *) or (pmsyncpkg_t *) */ - PMList *skiplist; /* PMList of (char *) */ + pmlist_t *targets; /* pmlist_t of (char *) */ + pmlist_t *packages; /* pmlist_t of (pmpkg_t *) or (pmsyncpkg_t *) */ + pmlist_t *skiplist; /* pmlist_t of (char *) */ alpm_trans_cb_event cb_event; alpm_trans_cb_conv cb_conv; alpm_trans_cb_progress cb_progress; @@ -79,8 +79,8 @@ void _alpm_trans_free(void *data); int _alpm_trans_init(pmtrans_t *trans, unsigned char type, unsigned int flags, alpm_trans_cb_event event, alpm_trans_cb_conv conv, alpm_trans_cb_progress progress); 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); -int _alpm_trans_commit(pmtrans_t *trans, PMList **data); +int _alpm_trans_prepare(pmtrans_t *trans, pmlist_t **data); +int _alpm_trans_commit(pmtrans_t *trans, pmlist_t **data); #endif /* _ALPM_TRANS_H */ -- cgit v1.2.3-24-g4f1b