aboutsummaryrefslogtreecommitdiff
path: root/src/xz/message.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2010-01-24 16:57:40 +0200
committerLasse Collin <lasse.collin@tukaani.org>2010-01-24 16:57:40 +0200
commit0dd6d007669b946543ca939a44243833c79e08f4 (patch)
treeb3aaf5b94676275a603616abb3620ef3a112c582 /src/xz/message.h
parentFix a typo in README. (diff)
downloadxz-0dd6d007669b946543ca939a44243833c79e08f4.tar.xz
Some improvements to printing sizes in xz.
Diffstat (limited to '')
-rw-r--r--src/xz/message.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/src/xz/message.h b/src/xz/message.h
index d9edb7c0..9edc403c 100644
--- a/src/xz/message.h
+++ b/src/xz/message.h
@@ -87,6 +87,10 @@ extern void message_signal_handler(void) lzma_attribute((noreturn));
extern const char *message_strm(lzma_ret code);
+/// Display how much memory was needed and how much the limit was.
+extern void message_mem_needed(enum message_verbosity v, uint64_t memusage);
+
+
/// Print the filter chain.
extern void message_filters(
enum message_verbosity v, const lzma_filter *filters);