mirror of
https://github.com/moparisthebest/pacman
synced 2025-01-08 12:28:00 -05:00
Some doxygen comments.
Signed-off-by: Andrew Fyfe <andrew@neptune-one.net>
This commit is contained in:
parent
d402583c43
commit
c0a7d9d82d
@ -218,7 +218,7 @@ alpm_list_t *_alpm_sortbydeps(alpm_list_t *targets, pmtranstype_t mode)
|
||||
* @param db pointer to the local package database
|
||||
* @param op transaction type
|
||||
* @param packages an alpm_list_t* of packages to be checked
|
||||
* @return an alpm_list_t* of missing_t pointers.
|
||||
* @return an alpm_list_t* of pmpkg_t* of missing_t pointers.
|
||||
*/
|
||||
alpm_list_t *_alpm_checkdeps(pmdb_t *db, pmtranstype_t op,
|
||||
alpm_list_t *packages)
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user