summaryrefslogtreecommitdiff
path: root/lib/rpmlib.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-03-10 19:00:31 +0000
committerjbj <devnull@localhost>2002-03-10 19:00:31 +0000
commit0a71efcfc06c380feb5558aaf5de6773229894da (patch)
tree8629073e57c194f134e1fa375dda7788f7cfe897 /lib/rpmlib.h
parentf5dbab424baea97859d250d5d33d435ddf6ae73e (diff)
downloadlibrpm-tizen-0a71efcfc06c380feb5558aaf5de6773229894da.tar.gz
librpm-tizen-0a71efcfc06c380feb5558aaf5de6773229894da.tar.bz2
librpm-tizen-0a71efcfc06c380feb5558aaf5de6773229894da.zip
- splint annotationsm, signature cleanup.
CVS patchset: 5351 CVS date: 2002/03/10 19:00:31
Diffstat (limited to 'lib/rpmlib.h')
-rw-r--r--lib/rpmlib.h11
1 files changed, 7 insertions, 4 deletions
diff --git a/lib/rpmlib.h b/lib/rpmlib.h
index caedeebe2..92bc52b50 100644
--- a/lib/rpmlib.h
+++ b/lib/rpmlib.h
@@ -112,19 +112,21 @@ int headerNVR(Header h,
/** \ingroup header
* Translate and merge legacy signature tags into header.
+ * @todo Remove headerSort() through headerInitIterator() modifies sig.
* @param h header
* @param sig signature header
*/
void headerMergeLegacySigs(Header h, const Header sig)
- /*@modifies h @*/;
+ /*@modifies h, sig @*/;
/** \ingroup header
* Regenerate signature header.
+ * @todo Remove headerSort() through headerInitIterator() modifies h.
* @param h header
* @return regenerated signature header
*/
Header headerRegenSigHeader(const Header h)
- /*@*/;
+ /*@modifies h @*/;
/**
* Retrieve file names from header.
@@ -1814,7 +1816,7 @@ typedef enum rpmVerifySignatureReturn_e {
* - ts->sigtag type of signature
* - ts->sig signature itself (from signature header)
* - ts->siglen no. of bytes in signature
- * - ts->dig signature parameters (malloc'd workspace)
+ * - ts->dig signature/pubkey parameters (malloc'd workspace)
*
* @param ts transaction set
* @retval result detailed text result of signature verification
@@ -1822,7 +1824,8 @@ typedef enum rpmVerifySignatureReturn_e {
*/
rpmVerifySignatureReturn rpmVerifySignature(const rpmTransactionSet ts,
/*@out@*/ char * result)
- /*@modifies ts, *result @*/;
+ /*@globals fileSystem, internalState @*/
+ /*@modifies ts, *result, fileSystem, internalState @*/;
/** \ingroup signature
* Destroy signature header from package.