27 lines
1.0 KiB
C
27 lines
1.0 KiB
C
|
#ifndef COSMOPOLITAN_THIRD_PARTY_ZLIB_INTERNAL_H_
|
||
|
#define COSMOPOLITAN_THIRD_PARTY_ZLIB_INTERNAL_H_
|
||
|
#include "third_party/zlib/deflate.h"
|
||
|
|
||
|
#define Z_CRC32_SSE42_MINIMUM_LENGTH 64
|
||
|
#define Z_CRC32_SSE42_CHUNKSIZE_MASK 15
|
||
|
|
||
|
#if !(__ASSEMBLER__ + __LINKER__ + 0)
|
||
|
COSMOPOLITAN_C_START_
|
||
|
|
||
|
unsigned deflate_read_buf(z_streamp, Bytef *, unsigned) hidden;
|
||
|
void copy_with_crc(z_streamp, Bytef *, long) hidden;
|
||
|
void crc_finalize(struct DeflateState *const) hidden;
|
||
|
void crc_reset(struct DeflateState *const) hidden;
|
||
|
uint32_t adler32_simd_(uint32_t, const unsigned char *, size_t) hidden;
|
||
|
void crc_fold_init(struct DeflateState *const) hidden;
|
||
|
void crc_fold_copy(struct DeflateState *const, unsigned char *,
|
||
|
const unsigned char *, long) hidden;
|
||
|
unsigned crc_fold_512to32(struct DeflateState *const) hidden;
|
||
|
void fill_window_sse(struct DeflateState *) hidden;
|
||
|
void *zcalloc(void *, unsigned, unsigned) hidden;
|
||
|
void zcfree(void *, void *) hidden;
|
||
|
|
||
|
COSMOPOLITAN_C_END_
|
||
|
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
|
||
|
#endif /* COSMOPOLITAN_THIRD_PARTY_ZLIB_INTERNAL_H_ */
|