summaryrefslogtreecommitdiff
path: root/lib/rpmlead.h
diff options
context:
space:
mode:
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 48cb6f479..be8e1a67c 100644
--- a/lib/rpmlead.h
+++ b/lib/rpmlead.h
@@ -12,8 +12,8 @@ extern "C" {
/** \ingroup lead
* Write lead to file handle.
* @param fd file handle
- * @param lead data address
- * @return 0 on success
+ * @param lead package lead
+ * @return RPMRC_OK on success, RPMRC_FAIL on error
*/
rpmRC writeLead(FD_t fd, const struct rpmlead *lead)
/*@globals fileSystem @*/
@@ -22,8 +22,8 @@ rpmRC writeLead(FD_t fd, const struct rpmlead *lead)
/** \ingroup lead
* Read lead from file handle.
* @param fd file handle
- * @retval lead data address
- * @return 0 on success
+ * @retval lead package lead
+ * @return RPMRC_OK on success, RPMRC_FAIL/RPMRC_NOTFOUND on error
*/
rpmRC readLead(FD_t fd, /*@out@*/ struct rpmlead *lead)
/*@modifies fd, *lead @*/;