diff options
author | Lasse Collin <lasse.collin@tukaani.org> | 2009-11-15 12:40:17 +0200 |
---|---|---|
committer | Lasse Collin <lasse.collin@tukaani.org> | 2009-11-15 12:40:17 +0200 |
commit | 93e418562cf127a9171e87bcd4e9af8e1bfcdae4 (patch) | |
tree | ed57e18edfa1758f3763d7b85c370a8926861ccb /src/liblzma/api/lzma.h | |
parent | Updated THANKS. (diff) | |
download | xz-93e418562cf127a9171e87bcd4e9af8e1bfcdae4.tar.xz |
Add lzma_physmem().
I had hoped to keep liblzma as purely a compression
library as possible (e.g. file I/O will go into
a different library), but it seems that applications
linking agaisnt liblzma need some way to determine
the memory usage limit, and knowing the amount of RAM
is one reasonable way to help making such decisions.
Thanks to Jonathan Nieder for the original patch.
Diffstat (limited to '')
-rw-r--r-- | src/liblzma/api/lzma.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/liblzma/api/lzma.h b/src/liblzma/api/lzma.h index dab29636..f5ab30d1 100644 --- a/src/liblzma/api/lzma.h +++ b/src/liblzma/api/lzma.h @@ -308,6 +308,9 @@ extern "C" { #include "lzma/index.h" #include "lzma/index_hash.h" +/* Hardware information */ +#include "lzma/hardware.h" + /* * All subheaders included. Undefine LZMA_H_INTERNAL to prevent applications * re-including the subheaders. |