From c0a7d9d82d03d9831f53dbb30357ddb9f10e29ec Mon Sep 17 00:00:00 2001 From: Andrew Fyfe Date: Thu, 12 Jul 2007 20:45:02 +0100 Subject: Some doxygen comments. Signed-off-by: Andrew Fyfe --- lib/libalpm/trans.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'lib/libalpm/trans.c') diff --git a/lib/libalpm/trans.c b/lib/libalpm/trans.c index 32dbc475..d940438e 100644 --- a/lib/libalpm/trans.c +++ b/lib/libalpm/trans.c @@ -295,6 +295,11 @@ int _alpm_trans_sysupgrade(pmtrans_t *trans) return(_alpm_sync_sysupgrade(trans, handle->db_local, handle->dbs_sync)); } +/** Add a target to the transaction. + * @param trans the current transaction + * @param target the name of the target to add + * @return 0 on success, -1 on error (pm_errno is set accordingly) + */ int _alpm_trans_addtarget(pmtrans_t *trans, char *target) { ALPM_LOG_FUNC; -- cgit v1.2.3-24-g4f1b