aboutsummaryrefslogtreecommitdiff
path: root/src/liblzma/common/memory_limitter.c (follow)
AgeCommit message (Collapse)AuthorFilesLines
2008-01-25Improved the memory limitter:Lasse Collin1-14/+83
- Added lzma_memlimit_max() and lzma_memlimit_reached() API functions. - Added simple estimation of malloc()'s memory usage overhead. - Fixed integer overflow detection in lzma_memlimit_alloc(). - Made some white space cleanups and added more comments. The description of lzma_memlimit_max() in memlimit.h is bad and should be improved.
2008-01-16Added lzma_memlimit_count().Lasse Collin1-0/+19
2007-12-09Imported to git.Lasse Collin1-0/+200