From 1d353c4ac41bb65f53bd8b50e0180d0121af7dcb Mon Sep 17 00:00:00 2001 From: ewt Date: Wed, 7 Apr 1999 00:06:00 +0000 Subject: [PATCH] added comments CVS patchset: 2958 CVS date: 1999/04/07 00:06:00 --- lib/rpmlib.h | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/lib/rpmlib.h b/lib/rpmlib.h index a1afe92..167659e 100644 --- a/lib/rpmlib.h +++ b/lib/rpmlib.h @@ -349,7 +349,10 @@ struct rpmDependencyConflict { /* if fd is NULL, the callback specified in rpmtransCreateSet() is used to open and close the file descriptor. If Header is NULL, the fd is always used, otherwise fd is only needed (and only opened) for actual package - installation */ + installation + + returns 0 on success, 1 on I/O error, 2 if the package needs capabilities + which are not implemented */ int rpmtransAddPackage(rpmTransactionSet rpmdep, Header h, FD_t fd, const void * key, int update, rpmRelocation * relocs); void rpmtransAvailablePackage(rpmTransactionSet rpmdep, Header h, void * key); -- 2.7.4