\hypertarget{g__uzip__cloop_8h_source}{}\doxysection{g\+\_\+uzip\+\_\+cloop.\+h}
\label{g__uzip__cloop_8h_source}\index{geom/uzip/g\_uzip\_cloop.h@{geom/uzip/g\_uzip\_cloop.h}}
\mbox{\hyperlink{g__uzip__cloop_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00001}00001 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00002}00002 \textcolor{comment}{ * Copyright (c) 2004-\/2016 Maxim Sobolev <sobomax@FreeBSD.org>}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00003}00003 \textcolor{comment}{ * All rights reserved.}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00004}00004 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00005}00005 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00006}00006 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00007}00007 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00008}00008 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00009}00009 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00010}00010 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00011}00011 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00012}00012 \textcolor{comment}{ *    documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00013}00013 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00014}00014 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00015}00015 \textcolor{comment}{ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00016}00016 \textcolor{comment}{ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00017}00017 \textcolor{comment}{ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00018}00018 \textcolor{comment}{ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00019}00019 \textcolor{comment}{ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00020}00020 \textcolor{comment}{ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00021}00021 \textcolor{comment}{ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00022}00022 \textcolor{comment}{ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00023}00023 \textcolor{comment}{ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00024}00024 \textcolor{comment}{ * SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00025}00025 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00026}00026 \textcolor{comment}{ * \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00027}00027 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00028}00028 }
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00029}00029 \textcolor{comment}{/* CLOOP format and related constants */}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00030}00030 }
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00031}00031 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00032}00032 \textcolor{comment}{ * Integer values (block size, number of blocks, offsets)}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00033}00033 \textcolor{comment}{ * are stored in big-\/endian (network) order on disk.}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00034}00034 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00035}00035 }
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00036}\mbox{\hyperlink{g__uzip__cloop_8h_aa24e249ae69f35db0f44192541b1536b}{00036}} \textcolor{preprocessor}{\#define CLOOP\_MAGIC\_LEN 128}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00037}\mbox{\hyperlink{g__uzip__cloop_8h_a98a138dd9d4da5ec14b65cedf7dbbfdb}{00037}} \textcolor{preprocessor}{\#define CLOOP\_OFS\_COMPR 0x0b}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00038}\mbox{\hyperlink{g__uzip__cloop_8h_acadc1dd8a01e828078436844b27f1614}{00038}} \textcolor{preprocessor}{\#define CLOOP\_OFS\_VERSN (CLOOP\_OFS\_COMPR + 1)}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00039}00039 }
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00040}\mbox{\hyperlink{g__uzip__cloop_8h_ae3823c3b721e075cf11cf7593624cd41}{00040}} \textcolor{preprocessor}{\#define CLOOP\_MAJVER\_2  '2'}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00041}\mbox{\hyperlink{g__uzip__cloop_8h_a35b7a90f76f65da420677e233eb02c90}{00041}} \textcolor{preprocessor}{\#define CLOOP\_MAJVER\_3  '3'}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00042}\mbox{\hyperlink{g__uzip__cloop_8h_afa5690f0e9678ccd07f23bdf872168dd}{00042}} \textcolor{preprocessor}{\#define CLOOP\_MAJVER\_4  '4'}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00043}00043 }
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00044}\mbox{\hyperlink{g__uzip__cloop_8h_a40e8ff5ec0bfe2a5c7b9b30307f57406}{00044}} \textcolor{preprocessor}{\#define CLOOP\_COMP\_LIBZ         'V'}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00045}\mbox{\hyperlink{g__uzip__cloop_8h_a8bb101f8d8823936c6643b7467fcfffa}{00045}} \textcolor{preprocessor}{\#define CLOOP\_COMP\_LIBZ\_DDP     'v'}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00046}\mbox{\hyperlink{g__uzip__cloop_8h_a9cfd43762da0c3beee1e723ea44354f8}{00046}} \textcolor{preprocessor}{\#define CLOOP\_COMP\_LZMA         'L'}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00047}\mbox{\hyperlink{g__uzip__cloop_8h_a77e4260a370a4649640093f7a64c92c1}{00047}} \textcolor{preprocessor}{\#define CLOOP\_COMP\_LZMA\_DDP     'l'}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00048}\mbox{\hyperlink{g__uzip__cloop_8h_a8dc5ff068043b19ca0caa5c030da5214}{00048}} \textcolor{preprocessor}{\#define CLOOP\_COMP\_ZSTD         'Z'}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00049}\mbox{\hyperlink{g__uzip__cloop_8h_ab002c8c18721dbad7139293530cb8731}{00049}} \textcolor{preprocessor}{\#define CLOOP\_COMP\_ZSTD\_DDP     'z'}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00050}00050 }
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00051}\mbox{\hyperlink{g__uzip__cloop_8h_a03187f2b967566b3ef9807f620480e97}{00051}} \textcolor{preprocessor}{\#define CLOOP\_MINVER\_LZMA       CLOOP\_MAJVER\_3}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00052}\mbox{\hyperlink{g__uzip__cloop_8h_af67b2715d325e3cfdca8b5ec58d0318d}{00052}} \textcolor{preprocessor}{\#define CLOOP\_MINVER\_ZLIB       CLOOP\_MAJVER\_2}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00053}\mbox{\hyperlink{g__uzip__cloop_8h_a7790670c484b840a899b838fe532d2b3}{00053}} \textcolor{preprocessor}{\#define CLOOP\_MINVER\_ZSTD       CLOOP\_MAJVER\_4}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00054}00054 }
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00055}\mbox{\hyperlink{g__uzip__cloop_8h_a97e4967d7b624df8e5060cb02b91d2e3}{00055}} \textcolor{preprocessor}{\#define CLOOP\_MINVER\_RELIABLE\_LASTBLKSZ CLOOP\_MAJVER\_4}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00056}00056 }
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00057}\mbox{\hyperlink{structcloop__header}{00057}} \textcolor{keyword}{struct }\mbox{\hyperlink{structcloop__header}{cloop\_header}} \{}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00058}\mbox{\hyperlink{structcloop__header_a02424ed7f06f17bae7008406fb102d93}{00058}}         \textcolor{keywordtype}{char} \mbox{\hyperlink{structcloop__header_a02424ed7f06f17bae7008406fb102d93}{magic}}[\mbox{\hyperlink{g__uzip__cloop_8h_aa24e249ae69f35db0f44192541b1536b}{CLOOP\_MAGIC\_LEN}}];    \textcolor{comment}{/* cloop magic */}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00059}\mbox{\hyperlink{structcloop__header_a611bef05e278020869906b22700c7715}{00059}}         uint32\_t \mbox{\hyperlink{structcloop__header_a611bef05e278020869906b22700c7715}{blksz}};                 \textcolor{comment}{/* block size */}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00060}\mbox{\hyperlink{structcloop__header_a85d4c54eb3c661f4ab3661269688d5f1}{00060}}         uint32\_t \mbox{\hyperlink{structcloop__header_a85d4c54eb3c661f4ab3661269688d5f1}{nblocks}};               \textcolor{comment}{/* number of blocks */}}
\DoxyCodeLine{\Hypertarget{g__uzip__cloop_8h_source_l00061}00061 \};}

\end{DoxyCode}
