edlang/libz_sys/index.html
2024-07-26 09:42:18 +00:00

1 line
19 KiB
HTML

<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="viewport" content="width=device-width, initial-scale=1.0"><meta name="generator" content="rustdoc"><meta name="description" content="API documentation for the Rust `libz_sys` crate."><title>libz_sys - Rust</title><script>if(window.location.protocol!=="file:")document.head.insertAdjacentHTML("beforeend","SourceSerif4-Regular-46f98efaafac5295.ttf.woff2,FiraSans-Regular-018c141bf0843ffd.woff2,FiraSans-Medium-8f9a781e4970d388.woff2,SourceCodePro-Regular-562dcc5011b6de7d.ttf.woff2,SourceCodePro-Semibold-d899c5a5c4aeb14a.ttf.woff2".split(",").map(f=>`<link rel="preload" as="font" type="font/woff2" crossorigin href="../static.files/${f}">`).join(""))</script><link rel="stylesheet" href="../static.files/normalize-76eba96aa4d2e634.css"><link rel="stylesheet" href="../static.files/rustdoc-dd39b87e5fcfba68.css"><meta name="rustdoc-vars" data-root-path="../" data-static-root-path="../static.files/" data-current-crate="libz_sys" data-themes="" data-resource-suffix="" data-rustdoc-version="1.80.0 (051478957 2024-07-21)" data-channel="1.80.0" data-search-js="search-d52510db62a78183.js" data-settings-js="settings-4313503d2e1961c2.js" ><script src="../static.files/storage-118b08c4c78b968e.js"></script><script defer src="../crates.js"></script><script defer src="../static.files/main-20a3ad099b048cf2.js"></script><noscript><link rel="stylesheet" href="../static.files/noscript-df360f571f6edeae.css"></noscript><link rel="alternate icon" type="image/png" href="../static.files/favicon-32x32-422f7d1d52889060.png"><link rel="icon" type="image/svg+xml" href="../static.files/favicon-2c020d218678b618.svg"></head><body class="rustdoc mod crate"><!--[if lte IE 11]><div class="warning">This old browser is unsupported and will most likely display funky things.</div><![endif]--><nav class="mobile-topbar"><button class="sidebar-menu-toggle" title="show sidebar"></button></nav><nav class="sidebar"><div class="sidebar-crate"><h2><a href="../libz_sys/index.html">libz_sys</a><span class="version">1.1.18</span></h2></div><div class="sidebar-elems"><ul class="block"><li><a id="all-types" href="all.html">All Items</a></li></ul><section><ul class="block"><li><a href="#structs">Structs</a></li><li><a href="#enums">Enums</a></li><li><a href="#constants">Constants</a></li><li><a href="#functions">Functions</a></li><li><a href="#types">Type Aliases</a></li></ul></section></div></nav><div class="sidebar-resizer"></div><main><div class="width-limiter"><rustdoc-search></rustdoc-search><section id="main-content" class="content"><div class="main-heading"><h1>Crate <a class="mod" href="#">libz_sys</a><button id="copy-path" title="Copy item path to clipboard">Copy item path</button></h1><span class="out-of-band"><a class="src" href="../src/libz_sys/lib.rs.html#1-431">source</a> · <button id="toggle-all-docs" title="collapse all docs">[<span>&#x2212;</span>]</button></span></div><h2 id="structs" class="section-header">Structs<a href="#structs" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="struct" href="struct.gz_header.html" title="struct libz_sys::gz_header">gz_header</a></div></li><li><div class="item-name"><a class="struct" href="struct.z_stream.html" title="struct libz_sys::z_stream">z_stream</a></div></li></ul><h2 id="enums" class="section-header">Enums<a href="#enums" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="enum" href="enum.gzFile_s.html" title="enum libz_sys::gzFile_s">gzFile_s</a></div></li><li><div class="item-name"><a class="enum" href="enum.internal_state.html" title="enum libz_sys::internal_state">internal_state</a></div></li></ul><h2 id="constants" class="section-header">Constants<a href="#constants" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="constant" href="constant.Z_ASCII.html" title="constant libz_sys::Z_ASCII">Z_ASCII</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_BEST_COMPRESSION.html" title="constant libz_sys::Z_BEST_COMPRESSION">Z_BEST_COMPRESSION</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_BEST_SPEED.html" title="constant libz_sys::Z_BEST_SPEED">Z_BEST_SPEED</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_BINARY.html" title="constant libz_sys::Z_BINARY">Z_BINARY</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_BLOCK.html" title="constant libz_sys::Z_BLOCK">Z_BLOCK</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_BUF_ERROR.html" title="constant libz_sys::Z_BUF_ERROR">Z_BUF_ERROR</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_DATA_ERROR.html" title="constant libz_sys::Z_DATA_ERROR">Z_DATA_ERROR</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_DEFAULT_COMPRESSION.html" title="constant libz_sys::Z_DEFAULT_COMPRESSION">Z_DEFAULT_COMPRESSION</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_DEFAULT_STRATEGY.html" title="constant libz_sys::Z_DEFAULT_STRATEGY">Z_DEFAULT_STRATEGY</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_DEFLATED.html" title="constant libz_sys::Z_DEFLATED">Z_DEFLATED</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_ERRNO.html" title="constant libz_sys::Z_ERRNO">Z_ERRNO</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_FILTERED.html" title="constant libz_sys::Z_FILTERED">Z_FILTERED</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_FINISH.html" title="constant libz_sys::Z_FINISH">Z_FINISH</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_FIXED.html" title="constant libz_sys::Z_FIXED">Z_FIXED</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_FULL_FLUSH.html" title="constant libz_sys::Z_FULL_FLUSH">Z_FULL_FLUSH</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_HUFFMAN_ONLY.html" title="constant libz_sys::Z_HUFFMAN_ONLY">Z_HUFFMAN_ONLY</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_MEM_ERROR.html" title="constant libz_sys::Z_MEM_ERROR">Z_MEM_ERROR</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_NEED_DICT.html" title="constant libz_sys::Z_NEED_DICT">Z_NEED_DICT</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_NO_COMPRESSION.html" title="constant libz_sys::Z_NO_COMPRESSION">Z_NO_COMPRESSION</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_NO_FLUSH.html" title="constant libz_sys::Z_NO_FLUSH">Z_NO_FLUSH</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_OK.html" title="constant libz_sys::Z_OK">Z_OK</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_PARTIAL_FLUSH.html" title="constant libz_sys::Z_PARTIAL_FLUSH">Z_PARTIAL_FLUSH</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_RLE.html" title="constant libz_sys::Z_RLE">Z_RLE</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_STREAM_END.html" title="constant libz_sys::Z_STREAM_END">Z_STREAM_END</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_STREAM_ERROR.html" title="constant libz_sys::Z_STREAM_ERROR">Z_STREAM_ERROR</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_SYNC_FLUSH.html" title="constant libz_sys::Z_SYNC_FLUSH">Z_SYNC_FLUSH</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_TEXT.html" title="constant libz_sys::Z_TEXT">Z_TEXT</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_TREES.html" title="constant libz_sys::Z_TREES">Z_TREES</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_UNKNOWN.html" title="constant libz_sys::Z_UNKNOWN">Z_UNKNOWN</a></div></li><li><div class="item-name"><a class="constant" href="constant.Z_VERSION_ERROR.html" title="constant libz_sys::Z_VERSION_ERROR">Z_VERSION_ERROR</a></div></li></ul><h2 id="functions" class="section-header">Functions<a href="#functions" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="fn" href="fn.adler32.html" title="fn libz_sys::adler32">adler32</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.adler32_combine.html" title="fn libz_sys::adler32_combine">adler32_combine</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.compress.html" title="fn libz_sys::compress">compress</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.compress2.html" title="fn libz_sys::compress2">compress2</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.compressBound.html" title="fn libz_sys::compressBound">compressBound</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.crc32.html" title="fn libz_sys::crc32">crc32</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.crc32_combine.html" title="fn libz_sys::crc32_combine">crc32_combine</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.deflate.html" title="fn libz_sys::deflate">deflate</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.deflateBound.html" title="fn libz_sys::deflateBound">deflateBound</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.deflateCopy.html" title="fn libz_sys::deflateCopy">deflateCopy</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.deflateEnd.html" title="fn libz_sys::deflateEnd">deflateEnd</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.deflateInit2_.html" title="fn libz_sys::deflateInit2_">deflateInit2_</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.deflateInit_.html" title="fn libz_sys::deflateInit_">deflateInit_</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.deflateParams.html" title="fn libz_sys::deflateParams">deflateParams</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.deflatePrime.html" title="fn libz_sys::deflatePrime">deflatePrime</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.deflateReset.html" title="fn libz_sys::deflateReset">deflateReset</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.deflateSetDictionary.html" title="fn libz_sys::deflateSetDictionary">deflateSetDictionary</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.deflateSetHeader.html" title="fn libz_sys::deflateSetHeader">deflateSetHeader</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.deflateTune.html" title="fn libz_sys::deflateTune">deflateTune</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzclearerr.html" title="fn libz_sys::gzclearerr">gzclearerr</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzclose.html" title="fn libz_sys::gzclose">gzclose</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzdirect.html" title="fn libz_sys::gzdirect">gzdirect</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzdopen.html" title="fn libz_sys::gzdopen">gzdopen</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzeof.html" title="fn libz_sys::gzeof">gzeof</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzerror.html" title="fn libz_sys::gzerror">gzerror</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzflush.html" title="fn libz_sys::gzflush">gzflush</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzgetc.html" title="fn libz_sys::gzgetc">gzgetc</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzgets.html" title="fn libz_sys::gzgets">gzgets</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzopen.html" title="fn libz_sys::gzopen">gzopen</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzputc.html" title="fn libz_sys::gzputc">gzputc</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzputs.html" title="fn libz_sys::gzputs">gzputs</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzread.html" title="fn libz_sys::gzread">gzread</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzrewind.html" title="fn libz_sys::gzrewind">gzrewind</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzseek.html" title="fn libz_sys::gzseek">gzseek</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzsetparams.html" title="fn libz_sys::gzsetparams">gzsetparams</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gztell.html" title="fn libz_sys::gztell">gztell</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzungetc.html" title="fn libz_sys::gzungetc">gzungetc</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.gzwrite.html" title="fn libz_sys::gzwrite">gzwrite</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.inflate.html" title="fn libz_sys::inflate">inflate</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.inflateBack.html" title="fn libz_sys::inflateBack">inflateBack</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.inflateBackEnd.html" title="fn libz_sys::inflateBackEnd">inflateBackEnd</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.inflateBackInit_.html" title="fn libz_sys::inflateBackInit_">inflateBackInit_</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.inflateCopy.html" title="fn libz_sys::inflateCopy">inflateCopy</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.inflateEnd.html" title="fn libz_sys::inflateEnd">inflateEnd</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.inflateGetHeader.html" title="fn libz_sys::inflateGetHeader">inflateGetHeader</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.inflateInit2_.html" title="fn libz_sys::inflateInit2_">inflateInit2_</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.inflateInit_.html" title="fn libz_sys::inflateInit_">inflateInit_</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.inflateMark.html" title="fn libz_sys::inflateMark">inflateMark</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.inflatePrime.html" title="fn libz_sys::inflatePrime">inflatePrime</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.inflateReset.html" title="fn libz_sys::inflateReset">inflateReset</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.inflateReset2.html" title="fn libz_sys::inflateReset2">inflateReset2</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.inflateSetDictionary.html" title="fn libz_sys::inflateSetDictionary">inflateSetDictionary</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.inflateSync.html" title="fn libz_sys::inflateSync">inflateSync</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.uncompress.html" title="fn libz_sys::uncompress">uncompress</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.zlibCompileFlags.html" title="fn libz_sys::zlibCompileFlags">zlibCompileFlags</a><sup title="unsafe function"></sup></div></li><li><div class="item-name"><a class="fn" href="fn.zlibVersion.html" title="fn libz_sys::zlibVersion">zlibVersion</a><sup title="unsafe function"></sup></div></li></ul><h2 id="types" class="section-header">Type Aliases<a href="#types" class="anchor">§</a></h2><ul class="item-table"><li><div class="item-name"><a class="type" href="type.Bytef.html" title="type libz_sys::Bytef">Bytef</a></div></li><li><div class="item-name"><a class="type" href="type.alloc_func.html" title="type libz_sys::alloc_func">alloc_func</a></div></li><li><div class="item-name"><a class="type" href="type.free_func.html" title="type libz_sys::free_func">free_func</a></div></li><li><div class="item-name"><a class="type" href="type.gzFile.html" title="type libz_sys::gzFile">gzFile</a></div></li><li><div class="item-name"><a class="type" href="type.gz_headerp.html" title="type libz_sys::gz_headerp">gz_headerp</a></div></li><li><div class="item-name"><a class="type" href="type.in_func.html" title="type libz_sys::in_func">in_func</a></div></li><li><div class="item-name"><a class="type" href="type.out_func.html" title="type libz_sys::out_func">out_func</a></div></li><li><div class="item-name"><a class="type" href="type.uInt.html" title="type libz_sys::uInt">uInt</a></div></li><li><div class="item-name"><a class="type" href="type.uLong.html" title="type libz_sys::uLong">uLong</a></div></li><li><div class="item-name"><a class="type" href="type.uLongf.html" title="type libz_sys::uLongf">uLongf</a></div></li><li><div class="item-name"><a class="type" href="type.voidp.html" title="type libz_sys::voidp">voidp</a></div></li><li><div class="item-name"><a class="type" href="type.voidpc.html" title="type libz_sys::voidpc">voidpc</a></div></li><li><div class="item-name"><a class="type" href="type.voidpf.html" title="type libz_sys::voidpf">voidpf</a></div></li><li><div class="item-name"><a class="type" href="type.z_off_t.html" title="type libz_sys::z_off_t">z_off_t</a></div></li><li><div class="item-name"><a class="type" href="type.z_streamp.html" title="type libz_sys::z_streamp">z_streamp</a></div></li></ul></section></div></main></body></html>