package vendor:zlib
⌘K
Ctrl+K
or
/
Index
Constants (37)
- ASCII
- BEST_COMPRESSION
- BEST_SPEED
- BINARY
- BLOCK
- BUF_ERROR
- DATA_ERROR
- DEFAULT_COMPRESSION
- DEFAULT_STRATEGY
- DEFLATED
- ERRNO
- FILTERED
- FINISH
- FIXED
- FULL_FLUSH
- HUFFMAN_ONLY
- MEM_ERROR
- NEED_DICT
- NO_COMPRESSION
- NO_FLUSH
- NULL
- OK
- PARTIAL_FLUSH
- RLE
- STREAM_END
- STREAM_ERROR
- SYNC_FLUSH
- TEXT
- TREES
- UNKNOWN
- VERNUM
- VERSION
- VERSION_ERROR
- VER_MAJOR
- VER_MINOR
- VER_REVISION
- VER_SUBREVISION
Variables (0)
This section is empty.
Procedures (84)
- Version
- adler32
- adler32_combine
- adler32_combine64
- adler32_z
- compress
- compress2
- compressBound
- crc32
- crc32_combine
- crc32_combine64
- crc32_combine_gen
- crc32_combine_gen64
- crc32_combine_op
- crc32_z
- deflate
- deflateBound
- deflateCopy
- deflateEnd
- deflateGetDictionary
- deflateInit
- deflateInit2
- deflateParams
- deflatePending
- deflatePrime
- deflateReset
- deflateResetKeep
- deflateSetDictionary
- deflateSetHeader
- deflateTune
- get_crc_table
- gzbuffer
- gzclearerr
- gzclose
- gzclose_r
- gzclose_w
- gzdirect
- gzdopen
- gzeof
- gzerror
- gzflush
- gzfread
- gzfwrite
- gzgetc
- gzgetc_
- gzgets
- gzoffset64
- gzopen64
- gzprintf
- gzputc
- gzputs
- gzread
- gzrewind
- gzseek64
- gzsetparams
- gztell64
- gzungetc
- gzwrite
- inflate
- inflateBack
- inflateBackEnd
- inflateBackInit
- inflateCodesUsed
- inflateCopy
- inflateEnd
- inflateGetDictionary
- inflateGetHeader
- inflateInit
- inflateInit2
- inflateMark
- inflatePrime
- inflateReset
- inflateReset2
- inflateResetKeep
- inflateSetDictionary
- inflateSync
- inflateSyncPoint
- inflateUndermine
- inflateValidate
- uncompress
- uncompress2
- version
- zError
- zlibCompileFlags
Procedure Groups (0)
This section is empty.
Types
gzFile_s ¶
Related Procedures With Parameters
- gzbuffer
- gzclearerr
- gzclose
- gzclose_r
- gzclose_w
- gzdirect
- gzeof
- gzerror
- gzflush
- gzfread
- gzfwrite
- gzgetc
- gzgetc_
- gzgets
- gzoffset64
- gzprintf
- gzputc
- gzputs
- gzread
- gzrewind
- gzseek64
- gzsetparams
- gztell64
- gzungetc
- gzwrite
Related Procedures With Returns
gz_header ¶
gz_header :: gz_header_s
gz_header_s ¶
gz_header_s :: struct { text: i32, time: u32, xflags: i32, os: i32, extra: [^]u8, extra_len: u32, extra_max: u32, name: [^]u8, name_max: u32, comment: [^]u8, comm_max: u32, hcrc: i32, done: i32, }
Related Procedures With Parameters
gz_headerp ¶
gz_headerp :: ^gz_header_s
in_func ¶
Related Procedures With Parameters
out_func ¶
Related Procedures With Parameters
z_stream ¶
z_stream :: z_stream_s
z_stream_s ¶
z_stream_s :: struct { next_in: ^u8, avail_in: u32, total_in: u32, next_out: ^u8, avail_out: u32, total_out: u32, msg: [^]u8, state: rawptr, zalloc: alloc_func, zfree: free_func, opaque: rawptr, data_type: i32, adler: u32, reserved: u32, }
Related Procedures With Parameters
- deflate
- deflateBound
- deflateCopy
- deflateEnd
- deflateGetDictionary
- deflateInit
- deflateInit2
- deflateParams
- deflatePending
- deflatePrime
- deflateReset
- deflateResetKeep
- deflateSetDictionary
- deflateSetHeader
- deflateTune
- inflate
- inflateBack
- inflateBackEnd
- inflateBackInit
- inflateCodesUsed
- inflateCopy
- inflateEnd
- inflateGetDictionary
- inflateGetHeader
- inflateInit
- inflateInit2
- inflateMark
- inflatePrime
- inflateReset
- inflateReset2
- inflateResetKeep
- inflateSetDictionary
- inflateSync
- inflateSyncPoint
- inflateUndermine
- inflateValidate
z_streamp ¶
z_streamp :: ^z_stream_s
Constants
BEST_COMPRESSION ¶
BEST_COMPRESSION :: 9
BEST_SPEED ¶
BEST_SPEED :: 1
BUF_ERROR ¶
BUF_ERROR :: -5
DATA_ERROR ¶
DATA_ERROR :: -3
DEFAULT_COMPRESSION ¶
DEFAULT_COMPRESSION :: -1
DEFAULT_STRATEGY ¶
DEFAULT_STRATEGY :: 0
FULL_FLUSH ¶
FULL_FLUSH :: 3
HUFFMAN_ONLY ¶
HUFFMAN_ONLY :: 2
MEM_ERROR ¶
MEM_ERROR :: -4
NEED_DICT ¶
NEED_DICT :: 2
OK ¶
OK :: 0
Return codes for the compression/decompression functions. Negative values are errors, positive values are used for special but normal events.
PARTIAL_FLUSH ¶
PARTIAL_FLUSH :: 1
STREAM_END ¶
STREAM_END :: 1
STREAM_ERROR ¶
STREAM_ERROR :: -2
SYNC_FLUSH ¶
SYNC_FLUSH :: 2
VERSION_ERROR ¶
VERSION_ERROR :: -6
VER_MAJOR ¶
VER_MAJOR :: 1
VER_MINOR ¶
VER_MINOR :: 2
VER_REVISION ¶
VER_REVISION :: 12
VER_SUBREVISION ¶
VER_SUBREVISION :: 0
Variables
This section is empty.
Procedures
deflate ¶
deflate :: proc "c" (strm: ^z_stream_s, flush: i32) -> i32 ---
deflateBound ¶
deflateBound :: proc "c" (strm: ^z_stream_s, sourceLen: u32) -> u32 ---
deflateCopy ¶
deflateCopy :: proc "c" (dest, source: ^z_stream_s) -> i32 ---
deflateEnd ¶
deflateEnd :: proc "c" (strm: ^z_stream_s) -> i32 ---
deflateGetDictionary ¶
deflateGetDictionary :: proc "c" (strm: ^z_stream_s, dictionary: [^]u8, dictLength: ^u32) -> i32 ---
deflateInit ¶
deflateInit :: proc "c" (strm: ^z_stream_s, level: i32) -> i32 {…}
deflateInit2 ¶
deflateInit2 :: proc "c" ( strm: ^z_stream_s, level, method, windowBits, memLevel, strategy: i32, ) -> i32 {…}
deflateParams ¶
deflateParams :: proc "c" (strm: ^z_stream_s, level, strategy: i32) -> i32 ---
deflatePending ¶
deflatePending :: proc "c" (strm: ^z_stream_s, pending: [^]u32, bits: [^]i32) -> i32 ---
deflatePrime ¶
deflatePrime :: proc "c" (strm: ^z_stream_s, bits, value: i32) -> i32 ---
deflateReset ¶
deflateReset :: proc "c" (strm: ^z_stream_s) -> i32 ---
deflateResetKeep ¶
deflateResetKeep :: proc "c" (^z_stream_s) -> i32 ---
deflateSetDictionary ¶
deflateSetDictionary :: proc "c" (strm: ^z_stream_s, dictionary: [^]u8, dictLength: u32) -> i32 ---
deflateSetHeader ¶
deflateSetHeader :: proc "c" (strm: ^z_stream_s, head: ^gz_header_s) -> i32 ---
deflateTune ¶
deflateTune :: proc "c" (strm: ^z_stream_s, good_length, max_lazy, nice_length, max_chain: i32) -> i32 ---
get_crc_table ¶
get_crc_table :: proc "c" () -> [^]u32 ---
gzclearerr ¶
gzclearerr :: proc "c" (file: ^gzFile_s) ---
gzgetc ¶
zlib.h redefines gzgetc with a macro and uses (gzgetc)(g) to invoke it from inside the same macro (preventing macro expansion), in Odin we give that a unique name using link_prefix then implement the body of the macro in our own procedure calling the unique named gzgetc instead.
gzgetc_ ¶
backwards compat, not the same as gzget
inflate ¶
inflate :: proc "c" (strm: ^z_stream_s, flush: i32) -> i32 ---
inflateBackEnd ¶
inflateBackEnd :: proc "c" (strm: ^z_stream_s) -> i32 ---
inflateBackInit ¶
inflateBackInit :: proc "c" (strm: ^z_stream_s, windowBits: i32, window: [^]u8) -> i32 {…}
inflateCodesUsed ¶
inflateCodesUsed :: proc "c" (^z_stream_s) -> u32 ---
inflateCopy ¶
inflateCopy :: proc "c" (dest, source: ^z_stream_s) -> i32 ---
inflateEnd ¶
inflateEnd :: proc "c" (strm: ^z_stream_s) -> i32 ---
inflateGetDictionary ¶
inflateGetDictionary :: proc "c" (strm: ^z_stream_s, dictionary: [^]u8, dictLength: ^u32) -> i32 ---
inflateGetHeader ¶
inflateGetHeader :: proc "c" (strm: ^z_stream_s, head: ^gz_header_s) -> i32 ---
inflateInit ¶
inflateInit :: proc "c" (strm: ^z_stream_s, level: i32) -> i32 {…}
inflateInit2 ¶
inflateInit2 :: proc "c" (strm: ^z_stream_s, windowBits: i32) -> i32 {…}
inflateMark ¶
inflateMark :: proc "c" (strm: ^z_stream_s) -> i32 ---
inflatePrime ¶
inflatePrime :: proc "c" (strm: ^z_stream_s, bits, value: i32) -> i32 ---
inflateReset ¶
inflateReset :: proc "c" (strm: ^z_stream_s) -> i32 ---
inflateReset2 ¶
inflateReset2 :: proc "c" (strm: ^z_stream_s, windowBits: i32) -> i32 ---
inflateResetKeep ¶
inflateResetKeep :: proc "c" (^z_stream_s) -> i32 ---
inflateSetDictionary ¶
inflateSetDictionary :: proc "c" (strm: ^z_stream_s, dictionary: [^]u8, dictLength: u32) -> i32 ---
inflateSync ¶
inflateSync :: proc "c" (strm: ^z_stream_s) -> i32 ---
inflateSyncPoint ¶
inflateSyncPoint :: proc "c" (^z_stream_s) -> i32 ---
inflateUndermine ¶
inflateUndermine :: proc "c" (^z_stream_s, i32) -> i32 ---
inflateValidate ¶
inflateValidate :: proc "c" (^z_stream_s, i32) -> i32 ---
zlibCompileFlags ¶
zlibCompileFlags :: proc "c" () -> u32 ---
Procedure Groups
This section is empty.
Source Files
Generation Information
Generated with odin version dev-2024-12 (vendor "odin") Windows_amd64 @ 2024-12-20 21:10:48.193922800 +0000 UTC