\hypertarget{g__shsec_8h_source}{}\doxysection{g\+\_\+shsec.\+h}
\label{g__shsec_8h_source}\index{geom/shsec/g\_shsec.h@{geom/shsec/g\_shsec.h}}
\mbox{\hyperlink{g__shsec_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00001}00001 \textcolor{comment}{/*-\/}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00002}00002 \textcolor{comment}{ * SPDX-\/License-\/Identifier: BSD-\/2-\/Clause-\/FreeBSD}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00003}00003 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00004}00004 \textcolor{comment}{ * Copyright (c) 2005 Pawel Jakub Dawidek <pjd@FreeBSD.org>}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00005}00005 \textcolor{comment}{ * All rights reserved.}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00006}00006 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00007}00007 \textcolor{comment}{ * Redistribution and use in source and binary forms, with or without}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00008}00008 \textcolor{comment}{ * modification, are permitted provided that the following conditions}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00009}00009 \textcolor{comment}{ * are met:}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00010}00010 \textcolor{comment}{ * 1. Redistributions of source code must retain the above copyright}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00011}00011 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer.}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00012}00012 \textcolor{comment}{ * 2. Redistributions in binary form must reproduce the above copyright}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00013}00013 \textcolor{comment}{ *    notice, this list of conditions and the following disclaimer in the}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00014}00014 \textcolor{comment}{ *    documentation and/or other materials provided with the distribution.}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00015}00015 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00016}00016 \textcolor{comment}{ * THIS SOFTWARE IS PROVIDED BY THE AUTHORS AND CONTRIBUTORS ``AS IS'' AND}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00017}00017 \textcolor{comment}{ * ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00018}00018 \textcolor{comment}{ * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00019}00019 \textcolor{comment}{ * ARE DISCLAIMED.  IN NO EVENT SHALL THE AUTHORS OR CONTRIBUTORS BE LIABLE}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00020}00020 \textcolor{comment}{ * FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00021}00021 \textcolor{comment}{ * DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00022}00022 \textcolor{comment}{ * OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00023}00023 \textcolor{comment}{ * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00024}00024 \textcolor{comment}{ * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00025}00025 \textcolor{comment}{ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00026}00026 \textcolor{comment}{ * SUCH DAMAGE.}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00027}00027 \textcolor{comment}{ *}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00028}00028 \textcolor{comment}{ * \$FreeBSD\$}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00029}00029 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00030}00030 }
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00031}00031 \textcolor{preprocessor}{\#ifndef \_G\_SHSEC\_H\_}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00032}00032 \textcolor{preprocessor}{\#define \_G\_SHSEC\_H\_}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00033}00033 }
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00034}00034 \textcolor{preprocessor}{\#include <sys/endian.h>}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00035}00035 }
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00036}\mbox{\hyperlink{g__shsec_8h_a8b9d28b5b4fe240c5b5fb9242020d9b9}{00036}} \textcolor{preprocessor}{\#define G\_SHSEC\_CLASS\_NAME      "{}SHSEC"{}}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00037}00037 }
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00038}\mbox{\hyperlink{g__shsec_8h_a18f96ddbee53f76d8cdabad654e96da0}{00038}} \textcolor{preprocessor}{\#define G\_SHSEC\_MAGIC           "{}GEOM::SHSEC"{}}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00039}00039 \textcolor{comment}{/*}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00040}00040 \textcolor{comment}{ * Version history:}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00041}00041 \textcolor{comment}{ * 0 -\/ Initial version number.}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00042}00042 \textcolor{comment}{ * 1 -\/ Added md\_provsize field to metadata.}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00043}00043 \textcolor{comment}{ */}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00044}\mbox{\hyperlink{g__shsec_8h_a11841266c0b927fa033a475532cefc3a}{00044}} \textcolor{preprocessor}{\#define G\_SHSEC\_VERSION 1}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00045}00045 }
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00046}00046 \textcolor{preprocessor}{\#ifdef \_KERNEL}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00047}\mbox{\hyperlink{g__shsec_8h_a0f8cff232e2ce6a22b4b73d28b73e6d9}{00047}} \textcolor{preprocessor}{\#define G\_SHSEC\_BFLAG\_FIRST     0x1}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00048}00048 }
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00049}\mbox{\hyperlink{g__shsec_8h_a3581ce607055d93734ccd9ce5260c7e6}{00049}} \textcolor{preprocessor}{\#define G\_SHSEC\_DEBUG(lvl, ...) \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00050}00050 \textcolor{preprocessor}{    \_GEOM\_DEBUG("{}GEOM\_SHSEC"{}}, g\_shsec\_debug, (lvl), NULL, \_\_VA\_ARGS\_\_)}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00051}\mbox{\hyperlink{g__shsec_8h_abd6f2390fb4549f64124855dff8a538c}{00051}} \textcolor{preprocessor}{\#define G\_SHSEC\_LOGREQ(lvl, bp, ...) \(\backslash\)}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00052}00052 \textcolor{preprocessor}{    \_GEOM\_DEBUG("{}GEOM\_SHSEC"{}}, g\_shsec\_debug, (lvl), (bp), \_\_VA\_ARGS\_\_)}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00053}00053 }
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00054}\mbox{\hyperlink{structg__shsec__softc}{00054}} \textcolor{keyword}{struct }\mbox{\hyperlink{structg__shsec__softc}{g\_shsec\_softc}} \{}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00055}\mbox{\hyperlink{structg__shsec__softc_a95f9624127328118c664f8aef50cc6bd}{00055}}         u\_int            \mbox{\hyperlink{structg__shsec__softc_a95f9624127328118c664f8aef50cc6bd}{sc\_type}};        \textcolor{comment}{/* provider type */}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00056}\mbox{\hyperlink{structg__shsec__softc_aedef0b8c359ebf2aeab8c0f6f4a72bf0}{00056}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__geom}{g\_geom}}     *\mbox{\hyperlink{structg__shsec__softc_aedef0b8c359ebf2aeab8c0f6f4a72bf0}{sc\_geom}};}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00057}\mbox{\hyperlink{structg__shsec__softc_af172ea72dc26b9e6de37c66f6d57c6af}{00057}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__provider}{g\_provider}} *\mbox{\hyperlink{structg__shsec__softc_af172ea72dc26b9e6de37c66f6d57c6af}{sc\_provider}};}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00058}\mbox{\hyperlink{structg__shsec__softc_aae9cd6e97509c47a0f42f243658d0e44}{00058}}         uint32\_t         \mbox{\hyperlink{structg__shsec__softc_aae9cd6e97509c47a0f42f243658d0e44}{sc\_id}};            \textcolor{comment}{/* device unique ID */}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00059}\mbox{\hyperlink{structg__shsec__softc_aa23fae15ea8aa320d8afe170f38f11f6}{00059}}         \textcolor{keyword}{struct }\mbox{\hyperlink{structg__consumer}{g\_consumer}} **\mbox{\hyperlink{structg__shsec__softc_aa23fae15ea8aa320d8afe170f38f11f6}{sc\_disks}};}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00060}\mbox{\hyperlink{structg__shsec__softc_a29adcb7662d3656a8765511de65ed3f0}{00060}}         uint16\_t         \mbox{\hyperlink{structg__shsec__softc_a29adcb7662d3656a8765511de65ed3f0}{sc\_ndisks}};}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00061}00061 \};}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00062}\mbox{\hyperlink{g__shsec_8h_ab047d2e3041c744656fa453cd79df3e5}{00062}} \textcolor{preprocessor}{\#define sc\_name sc\_geom-\/>name}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00063}00063 \textcolor{preprocessor}{\#endif  }\textcolor{comment}{/* \_KERNEL */}\textcolor{preprocessor}{}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00064}00064 }
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00065}\mbox{\hyperlink{structg__shsec__metadata}{00065}} \textcolor{keyword}{struct }\mbox{\hyperlink{structg__shsec__metadata}{g\_shsec\_metadata}} \{}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00066}\mbox{\hyperlink{structg__shsec__metadata_aef5935ecd3577cceb0b8d503b94720f0}{00066}}         \textcolor{keywordtype}{char}            \mbox{\hyperlink{structg__shsec__metadata_aef5935ecd3577cceb0b8d503b94720f0}{md\_magic}}[16];   \textcolor{comment}{/* Magic value. */}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00067}\mbox{\hyperlink{structg__shsec__metadata_ac21a879d85dda01e1b70a133e822a1bf}{00067}}         uint32\_t        \mbox{\hyperlink{structg__shsec__metadata_ac21a879d85dda01e1b70a133e822a1bf}{md\_version}};   \textcolor{comment}{/* Version number. */}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00068}\mbox{\hyperlink{structg__shsec__metadata_aa3d044079412c4c87d14ba4a5829ba69}{00068}}         \textcolor{keywordtype}{char}            \mbox{\hyperlink{structg__shsec__metadata_aa3d044079412c4c87d14ba4a5829ba69}{md\_name}}[16];     \textcolor{comment}{/* Stripe name. */}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00069}\mbox{\hyperlink{structg__shsec__metadata_ac50f9e37d320aca0dc4ab8945a05cf90}{00069}}         uint32\_t        \mbox{\hyperlink{structg__shsec__metadata_ac50f9e37d320aca0dc4ab8945a05cf90}{md\_id}};             \textcolor{comment}{/* Unique ID. */}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00070}\mbox{\hyperlink{structg__shsec__metadata_aa467f23122991b9a882d8d7206361d76}{00070}}         uint16\_t        \mbox{\hyperlink{structg__shsec__metadata_aa467f23122991b9a882d8d7206361d76}{md\_no}};             \textcolor{comment}{/* Disk number. */}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00071}\mbox{\hyperlink{structg__shsec__metadata_a3b123be5cb7c0cfc1e9734ae05e02e9e}{00071}}         uint16\_t        \mbox{\hyperlink{structg__shsec__metadata_a3b123be5cb7c0cfc1e9734ae05e02e9e}{md\_all}};           \textcolor{comment}{/* Number of all disks. */}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00072}\mbox{\hyperlink{structg__shsec__metadata_a352ebe7a29e4ba22845bd242098ceec7}{00072}}         \textcolor{keywordtype}{char}            \mbox{\hyperlink{structg__shsec__metadata_a352ebe7a29e4ba22845bd242098ceec7}{md\_provider}}[16]; \textcolor{comment}{/* Hardcoded provider. */}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00073}\mbox{\hyperlink{structg__shsec__metadata_a0b203fc0b63f52e6a30bbb067572ea08}{00073}}         uint64\_t        \mbox{\hyperlink{structg__shsec__metadata_a0b203fc0b63f52e6a30bbb067572ea08}{md\_provsize}}; \textcolor{comment}{/* Provider's size. */}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00074}00074 \};}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00075}00075 \textcolor{keyword}{static} \_\_inline \textcolor{keywordtype}{void}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00076}\mbox{\hyperlink{g__shsec_8h_a772dd65668615a108ac1b91e810d54ce}{00076}} \mbox{\hyperlink{g__shsec_8h_a772dd65668615a108ac1b91e810d54ce}{shsec\_metadata\_encode}}(\textcolor{keyword}{const} \textcolor{keyword}{struct} \mbox{\hyperlink{structg__shsec__metadata}{g\_shsec\_metadata}} *md, u\_char *\mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}})}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00077}00077 \{}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00078}00078 }
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00079}00079         bcopy(md-\/>\mbox{\hyperlink{structg__shsec__metadata_aef5935ecd3577cceb0b8d503b94720f0}{md\_magic}}, \mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}}, \textcolor{keyword}{sizeof}(md-\/>\mbox{\hyperlink{structg__shsec__metadata_aef5935ecd3577cceb0b8d503b94720f0}{md\_magic}}));}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00080}00080         le32enc(\mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}} + 16, md-\/>\mbox{\hyperlink{structg__shsec__metadata_ac21a879d85dda01e1b70a133e822a1bf}{md\_version}});}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00081}00081         bcopy(md-\/>\mbox{\hyperlink{structg__shsec__metadata_aa3d044079412c4c87d14ba4a5829ba69}{md\_name}}, \mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}} + 20, \textcolor{keyword}{sizeof}(md-\/>\mbox{\hyperlink{structg__shsec__metadata_aa3d044079412c4c87d14ba4a5829ba69}{md\_name}}));}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00082}00082         le32enc(\mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}} + 36, md-\/>\mbox{\hyperlink{structg__shsec__metadata_ac50f9e37d320aca0dc4ab8945a05cf90}{md\_id}});}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00083}00083         le16enc(\mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}} + 40, md-\/>\mbox{\hyperlink{structg__shsec__metadata_aa467f23122991b9a882d8d7206361d76}{md\_no}});}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00084}00084         le16enc(\mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}} + 42, md-\/>\mbox{\hyperlink{structg__shsec__metadata_a3b123be5cb7c0cfc1e9734ae05e02e9e}{md\_all}});}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00085}00085         bcopy(md-\/>\mbox{\hyperlink{structg__shsec__metadata_a352ebe7a29e4ba22845bd242098ceec7}{md\_provider}}, \mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}} + 44, \textcolor{keyword}{sizeof}(md-\/>\mbox{\hyperlink{structg__shsec__metadata_a352ebe7a29e4ba22845bd242098ceec7}{md\_provider}}));}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00086}00086         le64enc(\mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}} + 60, md-\/>\mbox{\hyperlink{structg__shsec__metadata_a0b203fc0b63f52e6a30bbb067572ea08}{md\_provsize}});}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00087}00087 \}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00088}00088 \textcolor{keyword}{static} \_\_inline \textcolor{keywordtype}{void}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00089}\mbox{\hyperlink{g__shsec_8h_a13e7b8b1085ffd14960ef7cb8be7e614}{00089}} \mbox{\hyperlink{g__shsec_8h_a13e7b8b1085ffd14960ef7cb8be7e614}{shsec\_metadata\_decode}}(\textcolor{keyword}{const} u\_char *\mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}}, \textcolor{keyword}{struct} \mbox{\hyperlink{structg__shsec__metadata}{g\_shsec\_metadata}} *md)}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00090}00090 \{}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00091}00091 }
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00092}00092         bcopy(\mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}}, md-\/>\mbox{\hyperlink{structg__shsec__metadata_aef5935ecd3577cceb0b8d503b94720f0}{md\_magic}}, \textcolor{keyword}{sizeof}(md-\/>\mbox{\hyperlink{structg__shsec__metadata_aef5935ecd3577cceb0b8d503b94720f0}{md\_magic}}));}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00093}00093         md-\/>\mbox{\hyperlink{structg__shsec__metadata_ac21a879d85dda01e1b70a133e822a1bf}{md\_version}} = le32dec(\mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}} + 16);}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00094}00094         bcopy(\mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}} + 20, md-\/>\mbox{\hyperlink{structg__shsec__metadata_aa3d044079412c4c87d14ba4a5829ba69}{md\_name}}, \textcolor{keyword}{sizeof}(md-\/>\mbox{\hyperlink{structg__shsec__metadata_aa3d044079412c4c87d14ba4a5829ba69}{md\_name}}));}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00095}00095         md-\/>\mbox{\hyperlink{structg__shsec__metadata_ac50f9e37d320aca0dc4ab8945a05cf90}{md\_id}} = le32dec(\mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}} + 36);}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00096}00096         md-\/>\mbox{\hyperlink{structg__shsec__metadata_aa467f23122991b9a882d8d7206361d76}{md\_no}} = le16dec(\mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}} + 40);}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00097}00097         md-\/>\mbox{\hyperlink{structg__shsec__metadata_a3b123be5cb7c0cfc1e9734ae05e02e9e}{md\_all}} = le16dec(\mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}} + 42);}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00098}00098         bcopy(\mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}} + 44, md-\/>\mbox{\hyperlink{structg__shsec__metadata_a352ebe7a29e4ba22845bd242098ceec7}{md\_provider}}, \textcolor{keyword}{sizeof}(md-\/>\mbox{\hyperlink{structg__shsec__metadata_a352ebe7a29e4ba22845bd242098ceec7}{md\_provider}}));}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00099}00099         md-\/>\mbox{\hyperlink{structg__shsec__metadata_a0b203fc0b63f52e6a30bbb067572ea08}{md\_provsize}} = le64dec(\mbox{\hyperlink{g__part__if_8m_a735984d41155bc1032e09bece8f8d66d}{data}} + 60);}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00100}00100 \}}
\DoxyCodeLine{\Hypertarget{g__shsec_8h_source_l00101}00101 \textcolor{preprocessor}{\#endif  }\textcolor{comment}{/* \_G\_SHSEC\_H\_ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
