aboutsummaryrefslogtreecommitdiff
path: root/src/xz/message.h
diff options
context:
space:
mode:
authorLasse Collin <lasse.collin@tukaani.org>2009-11-16 18:16:45 +0200
committerLasse Collin <lasse.collin@tukaani.org>2009-11-16 18:16:45 +0200
commitd315ca4930ff96e1428c6021c96f209e1abdd83e (patch)
tree3fc833fc49cf058baa00b2b5a247cbbf378abfec /src/xz/message.h
parentFix wrong indentation caused by incorrect settings (diff)
downloadxz-d315ca4930ff96e1428c6021c96f209e1abdd83e.tar.xz
Add support for --info-memory and --robot to xz.
Currently --robot works only with --info-memory and --version. --help and --long-help work too, but --robot has no effect on them. Thanks to Jonathan Nieder for the original patches.
Diffstat (limited to 'src/xz/message.h')
-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 2b1ab919..d9edb7c0 100644
--- a/src/xz/message.h
+++ b/src/xz/message.h
@@ -96,6 +96,10 @@ extern void message_filters(
extern void message_try_help(void);
+/// Print the memory usage limit and exit.
+extern void message_memlimit(void) lzma_attribute((noreturn));
+
+
/// Prints the version number to stdout and exits with exit status SUCCESS.
extern void message_version(void) lzma_attribute((noreturn));