summaryrefslogtreecommitdiff
path: root/lib/rpmlead.h
diff options
context:
space:
mode:
authorjbj <devnull@localhost>2002-08-23 21:01:59 +0000
committerjbj <devnull@localhost>2002-08-23 21:01:59 +0000
commitf5a546f5801067dd922aa83e7d78e8e59c84e738 (patch)
tree3677837b7db8079de19de4e0d5e051eaf8261851 /lib/rpmlead.h
parent4e245109ad54513ec5563b4292cce64f90482ed6 (diff)
downloadlibrpm-tizen-f5a546f5801067dd922aa83e7d78e8e59c84e738.tar.gz
librpm-tizen-f5a546f5801067dd922aa83e7d78e8e59c84e738.tar.bz2
librpm-tizen-f5a546f5801067dd922aa83e7d78e8e59c84e738.zip
- merge signature returns into rpmRC.
- python: exceptions on NOKEY/NOTTRUSTED. CVS patchset: 5667 CVS date: 2002/08/23 21:01:59
Diffstat (limited to 'lib/rpmlead.h')
-rw-r--r--lib/rpmlead.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/lib/rpmlead.h b/lib/rpmlead.h
index 543d89d3b..48cb6f479 100644
--- a/lib/rpmlead.h
+++ b/lib/rpmlead.h
@@ -13,9 +13,9 @@ extern "C" {
* Write lead to file handle.
* @param fd file handle
* @param lead data address
- * @return 0 on success, 1 on error
+ * @return 0 on success
*/
-int writeLead(FD_t fd, const struct rpmlead *lead)
+rpmRC writeLead(FD_t fd, const struct rpmlead *lead)
/*@globals fileSystem @*/
/*@modifies fd, fileSystem @*/;
@@ -23,9 +23,9 @@ int writeLead(FD_t fd, const struct rpmlead *lead)
* Read lead from file handle.
* @param fd file handle
* @retval lead data address
- * @return 0 on success, 1 on error
+ * @return 0 on success
*/
-int readLead(FD_t fd, /*@out@*/ struct rpmlead *lead)
+rpmRC readLead(FD_t fd, /*@out@*/ struct rpmlead *lead)
/*@modifies fd, *lead @*/;
#ifdef __cplusplus