CoolProp
6.7.0
An open-source fluid property and humid air property database
|
#include <stdlib.h>
#include <time.h>
#include <string.h>
#include <assert.h>
#include <stdio.h>
#include <sys/stat.h>
#include <utime.h>
Go to the source code of this file.
Classes | |
struct | mz_stream_s |
struct | mz_zip_archive_file_stat |
struct | mz_zip_archive_tag |
struct | tinfl_huff_table |
struct | tinfl_decompressor_tag |
struct | tdefl_compressor |
struct | inflate_state |
struct | tdefl_sym_freq |
struct | tdefl_output_buffer |
struct | mz_zip_array |
struct | mz_zip_internal_state_tag |
struct | mz_zip_writer_add_state |
Typedefs | |
typedef unsigned long | mz_ulong |
typedef void *(* | mz_alloc_func) (void *opaque, size_t items, size_t size) |
typedef void(* | mz_free_func) (void *opaque, void *address) |
typedef void *(* | mz_realloc_func) (void *opaque, void *address, size_t items, size_t size) |
typedef struct mz_stream_s | mz_stream |
typedef mz_stream * | mz_streamp |
typedef unsigned char | Byte |
typedef unsigned int | uInt |
typedef mz_ulong | uLong |
typedef Byte | Bytef |
typedef uInt | uIntf |
typedef char | charf |
typedef int | intf |
typedef void * | voidpf |
typedef uLong | uLongf |
typedef void * | voidp |
typedef void *const | voidpc |
typedef unsigned char | mz_uint8 |
typedef signed short | mz_int16 |
typedef unsigned short | mz_uint16 |
typedef unsigned int | mz_uint32 |
typedef unsigned int | mz_uint |
typedef long long | mz_int64 |
typedef unsigned long long | mz_uint64 |
typedef int | mz_bool |
typedef size_t(* | mz_file_read_func) (void *pOpaque, mz_uint64 file_ofs, void *pBuf, size_t n) |
typedef size_t(* | mz_file_write_func) (void *pOpaque, mz_uint64 file_ofs, const void *pBuf, size_t n) |
typedef struct mz_zip_internal_state_tag | mz_zip_internal_state |
typedef struct mz_zip_archive_tag | mz_zip_archive |
typedef int(* | tinfl_put_buf_func_ptr) (const void *pBuf, int len, void *pUser) |
typedef struct tinfl_decompressor_tag | tinfl_decompressor |
typedef mz_uint32 | tinfl_bit_buf_t |
typedef mz_bool(* | tdefl_put_buf_func_ptr) (const void *pBuf, int len, void *pUser) |
typedef unsigned char | mz_validate_uint16[sizeof(mz_uint16)==2 ? 1 :-1] |
typedef unsigned char | mz_validate_uint32[sizeof(mz_uint32)==4 ? 1 :-1] |
typedef unsigned char | mz_validate_uint64[sizeof(mz_uint64)==8 ? 1 :-1] |
Functions | |
void | mz_free (void *p) |
mz_ulong | mz_adler32 (mz_ulong adler, const unsigned char *ptr, size_t buf_len) |
mz_ulong | mz_crc32 (mz_ulong crc, const unsigned char *ptr, size_t buf_len) |
const char * | mz_version (void) |
int | mz_deflateInit (mz_streamp pStream, int level) |
int | mz_deflateInit2 (mz_streamp pStream, int level, int method, int window_bits, int mem_level, int strategy) |
int | mz_deflateReset (mz_streamp pStream) |
int | mz_deflate (mz_streamp pStream, int flush) |
int | mz_deflateEnd (mz_streamp pStream) |
mz_ulong | mz_deflateBound (mz_streamp pStream, mz_ulong source_len) |
int | mz_compress (unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len) |
int | mz_compress2 (unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len, int level) |
mz_ulong | mz_compressBound (mz_ulong source_len) |
int | mz_inflateInit (mz_streamp pStream) |
int | mz_inflateInit2 (mz_streamp pStream, int window_bits) |
int | mz_inflate (mz_streamp pStream, int flush) |
int | mz_inflateEnd (mz_streamp pStream) |
int | mz_uncompress (unsigned char *pDest, mz_ulong *pDest_len, const unsigned char *pSource, mz_ulong source_len) |
const char * | mz_error (int err) |
mz_bool | mz_zip_reader_init (mz_zip_archive *pZip, mz_uint64 size, mz_uint32 flags) |
mz_bool | mz_zip_reader_init_mem (mz_zip_archive *pZip, const void *pMem, size_t size, mz_uint32 flags) |
mz_bool | mz_zip_reader_init_file (mz_zip_archive *pZip, const char *pFilename, mz_uint32 flags) |
mz_uint | mz_zip_reader_get_num_files (mz_zip_archive *pZip) |
mz_bool | mz_zip_reader_file_stat (mz_zip_archive *pZip, mz_uint file_index, mz_zip_archive_file_stat *pStat) |
mz_bool | mz_zip_reader_is_file_a_directory (mz_zip_archive *pZip, mz_uint file_index) |
mz_bool | mz_zip_reader_is_file_encrypted (mz_zip_archive *pZip, mz_uint file_index) |
mz_uint | mz_zip_reader_get_filename (mz_zip_archive *pZip, mz_uint file_index, char *pFilename, mz_uint filename_buf_size) |
int | mz_zip_reader_locate_file (mz_zip_archive *pZip, const char *pName, const char *pComment, mz_uint flags) |
mz_bool | mz_zip_reader_extract_to_mem_no_alloc (mz_zip_archive *pZip, mz_uint file_index, void *pBuf, size_t buf_size, mz_uint flags, void *pUser_read_buf, size_t user_read_buf_size) |
mz_bool | mz_zip_reader_extract_file_to_mem_no_alloc (mz_zip_archive *pZip, const char *pFilename, void *pBuf, size_t buf_size, mz_uint flags, void *pUser_read_buf, size_t user_read_buf_size) |
mz_bool | mz_zip_reader_extract_to_mem (mz_zip_archive *pZip, mz_uint file_index, void *pBuf, size_t buf_size, mz_uint flags) |
mz_bool | mz_zip_reader_extract_file_to_mem (mz_zip_archive *pZip, const char *pFilename, void *pBuf, size_t buf_size, mz_uint flags) |
void * | mz_zip_reader_extract_to_heap (mz_zip_archive *pZip, mz_uint file_index, size_t *pSize, mz_uint flags) |
void * | mz_zip_reader_extract_file_to_heap (mz_zip_archive *pZip, const char *pFilename, size_t *pSize, mz_uint flags) |
mz_bool | mz_zip_reader_extract_to_callback (mz_zip_archive *pZip, mz_uint file_index, mz_file_write_func pCallback, void *pOpaque, mz_uint flags) |
mz_bool | mz_zip_reader_extract_file_to_callback (mz_zip_archive *pZip, const char *pFilename, mz_file_write_func pCallback, void *pOpaque, mz_uint flags) |
mz_bool | mz_zip_reader_extract_to_file (mz_zip_archive *pZip, mz_uint file_index, const char *pDst_filename, mz_uint flags) |
mz_bool | mz_zip_reader_extract_file_to_file (mz_zip_archive *pZip, const char *pArchive_filename, const char *pDst_filename, mz_uint flags) |
mz_bool | mz_zip_reader_end (mz_zip_archive *pZip) |
mz_bool | mz_zip_writer_init (mz_zip_archive *pZip, mz_uint64 existing_size) |
mz_bool | mz_zip_writer_init_heap (mz_zip_archive *pZip, size_t size_to_reserve_at_beginning, size_t initial_allocation_size) |
mz_bool | mz_zip_writer_init_file (mz_zip_archive *pZip, const char *pFilename, mz_uint64 size_to_reserve_at_beginning) |
mz_bool | mz_zip_writer_init_from_reader (mz_zip_archive *pZip, const char *pFilename) |
mz_bool | mz_zip_writer_add_mem (mz_zip_archive *pZip, const char *pArchive_name, const void *pBuf, size_t buf_size, mz_uint level_and_flags) |
mz_bool | mz_zip_writer_add_mem_ex (mz_zip_archive *pZip, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags, mz_uint64 uncomp_size, mz_uint32 uncomp_crc32) |
mz_bool | mz_zip_writer_add_file (mz_zip_archive *pZip, const char *pArchive_name, const char *pSrc_filename, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags) |
mz_bool | mz_zip_writer_add_from_zip_reader (mz_zip_archive *pZip, mz_zip_archive *pSource_zip, mz_uint file_index) |
mz_bool | mz_zip_writer_finalize_archive (mz_zip_archive *pZip) |
mz_bool | mz_zip_writer_finalize_heap_archive (mz_zip_archive *pZip, void **pBuf, size_t *pSize) |
mz_bool | mz_zip_writer_end (mz_zip_archive *pZip) |
mz_bool | mz_zip_add_mem_to_archive_file_in_place (const char *pZip_filename, const char *pArchive_name, const void *pBuf, size_t buf_size, const void *pComment, mz_uint16 comment_size, mz_uint level_and_flags) |
void * | mz_zip_extract_archive_file_to_heap (const char *pZip_filename, const char *pArchive_name, size_t *pSize, mz_uint zip_flags) |
void * | tinfl_decompress_mem_to_heap (const void *pSrc_buf, size_t src_buf_len, size_t *pOut_len, int flags) |
size_t | tinfl_decompress_mem_to_mem (void *pOut_buf, size_t out_buf_len, const void *pSrc_buf, size_t src_buf_len, int flags) |
int | tinfl_decompress_mem_to_callback (const void *pIn_buf, size_t *pIn_buf_size, tinfl_put_buf_func_ptr pPut_buf_func, void *pPut_buf_user, int flags) |
tinfl_status | tinfl_decompress (tinfl_decompressor *r, const mz_uint8 *pIn_buf_next, size_t *pIn_buf_size, mz_uint8 *pOut_buf_start, mz_uint8 *pOut_buf_next, size_t *pOut_buf_size, const mz_uint32 decomp_flags) |
void * | tdefl_compress_mem_to_heap (const void *pSrc_buf, size_t src_buf_len, size_t *pOut_len, int flags) |
size_t | tdefl_compress_mem_to_mem (void *pOut_buf, size_t out_buf_len, const void *pSrc_buf, size_t src_buf_len, int flags) |
void * | tdefl_write_image_to_png_file_in_memory_ex (const void *pImage, int w, int h, int num_chans, size_t *pLen_out, mz_uint level, mz_bool flip) |
void * | tdefl_write_image_to_png_file_in_memory (const void *pImage, int w, int h, int num_chans, size_t *pLen_out) |
mz_bool | tdefl_compress_mem_to_output (const void *pBuf, size_t buf_len, tdefl_put_buf_func_ptr pPut_buf_func, void *pPut_buf_user, int flags) |
tdefl_status | tdefl_init (tdefl_compressor *d, tdefl_put_buf_func_ptr pPut_buf_func, void *pPut_buf_user, int flags) |
tdefl_status | tdefl_compress (tdefl_compressor *d, const void *pIn_buf, size_t *pIn_buf_size, void *pOut_buf, size_t *pOut_buf_size, tdefl_flush flush) |
tdefl_status | tdefl_compress_buffer (tdefl_compressor *d, const void *pIn_buf, size_t in_buf_size, tdefl_flush flush) |
tdefl_status | tdefl_get_prev_return_status (tdefl_compressor *d) |
mz_uint32 | tdefl_get_adler32 (tdefl_compressor *d) |
mz_uint | tdefl_create_comp_flags_from_zip_params (int level, int window_bits, int strategy) |
#define adler32 mz_adler32 |
#define alloc_func mz_alloc_func |
#define compress mz_compress |
#define compress2 mz_compress2 |
#define compressBound mz_compressBound |
#define deflate mz_deflate |
#define deflateBound mz_deflateBound |
#define deflateEnd mz_deflateEnd |
#define deflateInit mz_deflateInit |
#define deflateInit2 mz_deflateInit2 |
#define deflateReset mz_deflateReset |
#define free_func mz_free_func |
#define inflate mz_inflate |
#define inflateEnd mz_inflateEnd |
#define inflateInit mz_inflateInit |
#define inflateInit2 mz_inflateInit2 |
#define MZ_READ_LE32 | ( | p | ) |
#define MZ_SWAP_UINT32 | ( | a, | |
b | |||
) |
#define MZ_TOLOWER | ( | c | ) | ((((c) >= 'A') && ((c) <= 'Z')) ? ((c) - 'A' + 'a') : (c)) |
#define MZ_ZIP_ARRAY_ELEMENT | ( | array_ptr, | |
element_type, | |||
index | |||
) | ((element_type*)((array_ptr)->m_p))[index] |
#define MZ_ZIP_ARRAY_SET_ELEMENT_SIZE | ( | array_ptr, | |
element_size | |||
) | (array_ptr)->m_element_size = element_size |
#define TDEFL_PROBE |
#define TDEFL_PUT_BITS | ( | b, | |
l | |||
) |
#define TDEFL_RLE_PREV_CODE_SIZE | ( | ) |
#define TDEFL_RLE_ZERO_CODE_SIZE | ( | ) |
#define TINFL_CR_BEGIN |
#define TINFL_CR_RETURN | ( | state_index, | |
result | |||
) |
#define TINFL_CR_RETURN_FOREVER | ( | state_index, | |
result | |||
) |
#define TINFL_GET_BITS | ( | state_index, | |
b, | |||
n | |||
) |
#define TINFL_GET_BYTE | ( | state_index, | |
c | |||
) |
#define TINFL_HUFF_BITBUF_FILL | ( | state_index, | |
pHuff | |||
) |
#define TINFL_HUFF_DECODE | ( | state_index, | |
sym, | |||
pHuff | |||
) |
#define tinfl_init | ( | r | ) |
#define TINFL_NEED_BITS | ( | state_index, | |
n | |||
) |
#define TINFL_SKIP_BITS | ( | state_index, | |
n | |||
) |
#define uncompress mz_uncompress |
#define Z_BEST_COMPRESSION MZ_BEST_COMPRESSION |
#define Z_BEST_SPEED MZ_BEST_SPEED |
#define Z_BUF_ERROR MZ_BUF_ERROR |
#define Z_DATA_ERROR MZ_DATA_ERROR |
#define Z_DEFAULT_COMPRESSION MZ_DEFAULT_COMPRESSION |
#define Z_DEFAULT_STRATEGY MZ_DEFAULT_STRATEGY |
#define Z_DEFAULT_WINDOW_BITS MZ_DEFAULT_WINDOW_BITS |
#define Z_DEFLATED MZ_DEFLATED |
#define Z_FILTERED MZ_FILTERED |
#define Z_FULL_FLUSH MZ_FULL_FLUSH |
#define Z_HUFFMAN_ONLY MZ_HUFFMAN_ONLY |
#define Z_MEM_ERROR MZ_MEM_ERROR |
#define Z_NEED_DICT MZ_NEED_DICT |
#define Z_NO_COMPRESSION MZ_NO_COMPRESSION |
#define Z_NO_FLUSH MZ_NO_FLUSH |
#define Z_PARAM_ERROR MZ_PARAM_ERROR |
#define Z_PARTIAL_FLUSH MZ_PARTIAL_FLUSH |
#define Z_STREAM_END MZ_STREAM_END |
#define Z_STREAM_ERROR MZ_STREAM_ERROR |
#define Z_SYNC_FLUSH MZ_SYNC_FLUSH |
#define Z_VERSION_ERROR MZ_VERSION_ERROR |
#define ZLIB_VER_MAJOR MZ_VER_MAJOR |
#define ZLIB_VER_MINOR MZ_VER_MINOR |
#define ZLIB_VER_REVISION MZ_VER_REVISION |
#define ZLIB_VER_SUBREVISION MZ_VER_SUBREVISION |
#define ZLIB_VERSION MZ_VERSION |
#define zlib_version mz_version() |
#define zlibVersion mz_version |
typedef void*(* mz_alloc_func) (void *opaque, size_t items, size_t size) |
typedef size_t(* mz_file_read_func) (void *pOpaque, mz_uint64 file_ofs, void *pBuf, size_t n) |
typedef size_t(* mz_file_write_func) (void *pOpaque, mz_uint64 file_ofs, const void *pBuf, size_t n) |
typedef void*(* mz_realloc_func) (void *opaque, void *address, size_t items, size_t size) |
typedef struct mz_stream_s mz_stream |
typedef mz_stream* mz_streamp |
typedef unsigned char mz_validate_uint16[sizeof(mz_uint16)==2 ? 1 :-1] |
typedef unsigned char mz_validate_uint32[sizeof(mz_uint32)==4 ? 1 :-1] |
typedef unsigned char mz_validate_uint64[sizeof(mz_uint64)==8 ? 1 :-1] |
typedef struct mz_zip_archive_tag mz_zip_archive |
typedef struct mz_zip_internal_state_tag mz_zip_internal_state |
typedef mz_bool(* tdefl_put_buf_func_ptr) (const void *pBuf, int len, void *pUser) |
typedef mz_uint32 tinfl_bit_buf_t |
typedef struct tinfl_decompressor_tag tinfl_decompressor |
typedef int(* tinfl_put_buf_func_ptr) (const void *pBuf, int len, void *pUser) |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
anonymous enum |
enum mz_zip_flags |
enum mz_zip_mode |
enum tdefl_flush |
enum tdefl_status |
enum tinfl_status |
int mz_deflate | ( | mz_streamp | pStream, |
int | flush | ||
) |
mz_ulong mz_deflateBound | ( | mz_streamp | pStream, |
mz_ulong | source_len | ||
) |
int mz_deflateEnd | ( | mz_streamp | pStream | ) |
int mz_deflateInit | ( | mz_streamp | pStream, |
int | level | ||
) |
int mz_deflateInit2 | ( | mz_streamp | pStream, |
int | level, | ||
int | method, | ||
int | window_bits, | ||
int | mem_level, | ||
int | strategy | ||
) |
int mz_deflateReset | ( | mz_streamp | pStream | ) |
int mz_inflate | ( | mz_streamp | pStream, |
int | flush | ||
) |
int mz_inflateEnd | ( | mz_streamp | pStream | ) |
int mz_inflateInit | ( | mz_streamp | pStream | ) |
int mz_inflateInit2 | ( | mz_streamp | pStream, |
int | window_bits | ||
) |
void * mz_zip_extract_archive_file_to_heap | ( | const char * | pZip_filename, |
const char * | pArchive_name, | ||
size_t * | pSize, | ||
mz_uint | zip_flags | ||
) |
mz_bool mz_zip_reader_end | ( | mz_zip_archive * | pZip | ) |
mz_bool mz_zip_reader_extract_file_to_callback | ( | mz_zip_archive * | pZip, |
const char * | pFilename, | ||
mz_file_write_func | pCallback, | ||
void * | pOpaque, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_extract_file_to_file | ( | mz_zip_archive * | pZip, |
const char * | pArchive_filename, | ||
const char * | pDst_filename, | ||
mz_uint | flags | ||
) |
void * mz_zip_reader_extract_file_to_heap | ( | mz_zip_archive * | pZip, |
const char * | pFilename, | ||
size_t * | pSize, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_extract_file_to_mem | ( | mz_zip_archive * | pZip, |
const char * | pFilename, | ||
void * | pBuf, | ||
size_t | buf_size, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_extract_file_to_mem_no_alloc | ( | mz_zip_archive * | pZip, |
const char * | pFilename, | ||
void * | pBuf, | ||
size_t | buf_size, | ||
mz_uint | flags, | ||
void * | pUser_read_buf, | ||
size_t | user_read_buf_size | ||
) |
mz_bool mz_zip_reader_extract_to_callback | ( | mz_zip_archive * | pZip, |
mz_uint | file_index, | ||
mz_file_write_func | pCallback, | ||
void * | pOpaque, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_extract_to_file | ( | mz_zip_archive * | pZip, |
mz_uint | file_index, | ||
const char * | pDst_filename, | ||
mz_uint | flags | ||
) |
void * mz_zip_reader_extract_to_heap | ( | mz_zip_archive * | pZip, |
mz_uint | file_index, | ||
size_t * | pSize, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_extract_to_mem | ( | mz_zip_archive * | pZip, |
mz_uint | file_index, | ||
void * | pBuf, | ||
size_t | buf_size, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_reader_extract_to_mem_no_alloc | ( | mz_zip_archive * | pZip, |
mz_uint | file_index, | ||
void * | pBuf, | ||
size_t | buf_size, | ||
mz_uint | flags, | ||
void * | pUser_read_buf, | ||
size_t | user_read_buf_size | ||
) |
mz_bool mz_zip_reader_file_stat | ( | mz_zip_archive * | pZip, |
mz_uint | file_index, | ||
mz_zip_archive_file_stat * | pStat | ||
) |
mz_uint mz_zip_reader_get_filename | ( | mz_zip_archive * | pZip, |
mz_uint | file_index, | ||
char * | pFilename, | ||
mz_uint | filename_buf_size | ||
) |
mz_uint mz_zip_reader_get_num_files | ( | mz_zip_archive * | pZip | ) |
mz_bool mz_zip_reader_init | ( | mz_zip_archive * | pZip, |
mz_uint64 | size, | ||
mz_uint32 | flags | ||
) |
mz_bool mz_zip_reader_init_file | ( | mz_zip_archive * | pZip, |
const char * | pFilename, | ||
mz_uint32 | flags | ||
) |
mz_bool mz_zip_reader_init_mem | ( | mz_zip_archive * | pZip, |
const void * | pMem, | ||
size_t | size, | ||
mz_uint32 | flags | ||
) |
mz_bool mz_zip_reader_is_file_a_directory | ( | mz_zip_archive * | pZip, |
mz_uint | file_index | ||
) |
mz_bool mz_zip_reader_is_file_encrypted | ( | mz_zip_archive * | pZip, |
mz_uint | file_index | ||
) |
int mz_zip_reader_locate_file | ( | mz_zip_archive * | pZip, |
const char * | pName, | ||
const char * | pComment, | ||
mz_uint | flags | ||
) |
mz_bool mz_zip_writer_add_file | ( | mz_zip_archive * | pZip, |
const char * | pArchive_name, | ||
const char * | pSrc_filename, | ||
const void * | pComment, | ||
mz_uint16 | comment_size, | ||
mz_uint | level_and_flags | ||
) |
mz_bool mz_zip_writer_add_from_zip_reader | ( | mz_zip_archive * | pZip, |
mz_zip_archive * | pSource_zip, | ||
mz_uint | file_index | ||
) |
mz_bool mz_zip_writer_add_mem | ( | mz_zip_archive * | pZip, |
const char * | pArchive_name, | ||
const void * | pBuf, | ||
size_t | buf_size, | ||
mz_uint | level_and_flags | ||
) |
mz_bool mz_zip_writer_end | ( | mz_zip_archive * | pZip | ) |
mz_bool mz_zip_writer_finalize_archive | ( | mz_zip_archive * | pZip | ) |
mz_bool mz_zip_writer_finalize_heap_archive | ( | mz_zip_archive * | pZip, |
void ** | pBuf, | ||
size_t * | pSize | ||
) |
mz_bool mz_zip_writer_init | ( | mz_zip_archive * | pZip, |
mz_uint64 | existing_size | ||
) |
mz_bool mz_zip_writer_init_file | ( | mz_zip_archive * | pZip, |
const char * | pFilename, | ||
mz_uint64 | size_to_reserve_at_beginning | ||
) |
mz_bool mz_zip_writer_init_from_reader | ( | mz_zip_archive * | pZip, |
const char * | pFilename | ||
) |
mz_bool mz_zip_writer_init_heap | ( | mz_zip_archive * | pZip, |
size_t | size_to_reserve_at_beginning, | ||
size_t | initial_allocation_size | ||
) |
tdefl_status tdefl_compress | ( | tdefl_compressor * | d, |
const void * | pIn_buf, | ||
size_t * | pIn_buf_size, | ||
void * | pOut_buf, | ||
size_t * | pOut_buf_size, | ||
tdefl_flush | flush | ||
) |
tdefl_status tdefl_compress_buffer | ( | tdefl_compressor * | d, |
const void * | pIn_buf, | ||
size_t | in_buf_size, | ||
tdefl_flush | flush | ||
) |
void * tdefl_compress_mem_to_heap | ( | const void * | pSrc_buf, |
size_t | src_buf_len, | ||
size_t * | pOut_len, | ||
int | flags | ||
) |
size_t tdefl_compress_mem_to_mem | ( | void * | pOut_buf, |
size_t | out_buf_len, | ||
const void * | pSrc_buf, | ||
size_t | src_buf_len, | ||
int | flags | ||
) |
mz_bool tdefl_compress_mem_to_output | ( | const void * | pBuf, |
size_t | buf_len, | ||
tdefl_put_buf_func_ptr | pPut_buf_func, | ||
void * | pPut_buf_user, | ||
int | flags | ||
) |
mz_uint tdefl_create_comp_flags_from_zip_params | ( | int | level, |
int | window_bits, | ||
int | strategy | ||
) |
mz_uint32 tdefl_get_adler32 | ( | tdefl_compressor * | d | ) |
tdefl_status tdefl_get_prev_return_status | ( | tdefl_compressor * | d | ) |
tdefl_status tdefl_init | ( | tdefl_compressor * | d, |
tdefl_put_buf_func_ptr | pPut_buf_func, | ||
void * | pPut_buf_user, | ||
int | flags | ||
) |
void * tdefl_write_image_to_png_file_in_memory | ( | const void * | pImage, |
int | w, | ||
int | h, | ||
int | num_chans, | ||
size_t * | pLen_out | ||
) |
tinfl_status tinfl_decompress | ( | tinfl_decompressor * | r, |
const mz_uint8 * | pIn_buf_next, | ||
size_t * | pIn_buf_size, | ||
mz_uint8 * | pOut_buf_start, | ||
mz_uint8 * | pOut_buf_next, | ||
size_t * | pOut_buf_size, | ||
const mz_uint32 | decomp_flags | ||
) |
int tinfl_decompress_mem_to_callback | ( | const void * | pIn_buf, |
size_t * | pIn_buf_size, | ||
tinfl_put_buf_func_ptr | pPut_buf_func, | ||
void * | pPut_buf_user, | ||
int | flags | ||
) |
void * tinfl_decompress_mem_to_heap | ( | const void * | pSrc_buf, |
size_t | src_buf_len, | ||
size_t * | pOut_len, | ||
int | flags | ||
) |