set a limit on the total memory allocation, or 0 to remove the limit */
| 174 | |
| 175 | /* set a limit on the total memory allocation, or 0 to remove the limit */ |
| 176 | local void mem_limit(z_stream *strm, size_t limit) |
| 177 | { |
| 178 | struct mem_zone *zone = strm->opaque; |
| 179 | |
| 180 | zone->limit = limit; |
| 181 | } |
| 182 | |
| 183 | /* show the current total requested allocations in bytes */ |
| 184 | local void mem_used(z_stream *strm, char *prefix) |
no outgoing calls
no test coverage detected