summaryrefslogtreecommitdiffstats
path: root/linkers/rld-compression.h
diff options
context:
space:
mode:
authorChris Johns <chrisj@rtems.org>2013-01-22 22:08:09 +1100
committerChris Johns <chrisj@rtems.org>2013-01-22 22:08:09 +1100
commite78e2b0ce584aaba4a81001641203510003e9829 (patch)
tree234c896766e86d4686cad8a926e0e10d24b2f944 /linkers/rld-compression.h
parentFixed the layout output to give to all the needed detail. (diff)
downloadrtems-tools-e78e2b0ce584aaba4a81001641203510003e9829.tar.bz2
Documentation.
Diffstat (limited to 'linkers/rld-compression.h')
-rw-r--r--linkers/rld-compression.h13
1 files changed, 9 insertions, 4 deletions
diff --git a/linkers/rld-compression.h b/linkers/rld-compression.h
index 9f06e0d..4710845 100644
--- a/linkers/rld-compression.h
+++ b/linkers/rld-compression.h
@@ -86,42 +86,47 @@ namespace rld
*
* @param data Write the decompressed data here.
* @param length The mount of data in bytes to read.
+ * @return size_t The amount of data read.
*/
size_t read (void* data, size_t length);
/**
* Read the decompressed data writing it to the image.
*
- * @param output The output image.
+ * @param output_ The output image.
* @param offset The output image offset to write from.
* @param length The mount of data in bytes to read.
+ * @return size_t The amount of data read.
*/
size_t read (files::image& output_, off_t offset, size_t length);
/**
* Read the decompressed data writing it to the image.
*
- * @param output The output image.
+ * @param output_ The output image.
* @param length The mount of data in bytes to read.
+ * @return size_t The amount of data read.
*/
size_t read (files::image& output_, size_t length);
/**
* The amount of uncompressed data transferred.
*
- * @param return size_t The amount of data tranferred.
+ * @return size_t The amount of data tranferred.
*/
size_t transferred () const;
/**
* The amount of compressed data transferred.
*
- * @param return size_t The amount of compressed data tranferred.
+ * @return size_t The amount of compressed data tranferred.
*/
size_t compressed () const;
/**
* The current offset in the stream.
+ *
+ * @return off_t The current uncompressed offset.
*/
off_t offset () const;