};
/* Functions specific to rfc1951 (deflate) */
-void slz_prepare_dist_table(); /* obsolete, not needed anymore */
long slz_rfc1951_encode(struct slz_stream *strm, unsigned char *out, const unsigned char *in, long ilen, int more);
int slz_rfc1951_init(struct slz_stream *strm, int level);
int slz_rfc1951_finish(struct slz_stream *strm, unsigned char *buf);
/* Functions specific to rfc1952 (gzip) */
-void slz_make_crc_table(void); /* obsolete, not needed anymore */
uint32_t slz_crc32_by1(uint32_t crc, const unsigned char *buf, int len);
uint32_t slz_crc32_by4(uint32_t crc, const unsigned char *buf, int len);
long slz_rfc1952_encode(struct slz_stream *strm, unsigned char *out, const unsigned char *in, long ilen, int more);
__attribute__((constructor))
static void __comp_fetch_init(void)
{
-#ifdef USE_SLZ
- slz_make_crc_table();
- slz_prepare_dist_table();
-#endif
-
#if defined(USE_ZLIB) && defined(DEFAULT_MAXZLIBMEM)
global.maxzlibmem = DEFAULT_MAXZLIBMEM * 1024U * 1024U;
#endif
return strm->outbuf - buf;
}
-/* This used to be the function called to build the CRC table at init time.
- * Now it does nothing, it's only kept for API/ABI compatibility.
- */
-void slz_make_crc_table(void)
-{
-}
-
-/* does nothing anymore, only kept for ABI compatibility */
-void slz_prepare_dist_table()
-{
-}
-
__attribute__((constructor))
static void __slz_initialize(void)
{