\doxysection{gsm29205.\+h}
\label{gsm29205_8h_source}\index{include/osmocom/gsm/gsm29205.h@{include/osmocom/gsm/gsm29205.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 }
\DoxyCodeLine{4 \textcolor{comment}{/*}}
\DoxyCodeLine{5 \textcolor{comment}{ * (C) 2018 by sysmocom -\/ s.f.m.c. GmbH}}
\DoxyCodeLine{6 \textcolor{comment}{ * All Rights Reserved}}
\DoxyCodeLine{7 \textcolor{comment}{ *}}
\DoxyCodeLine{8 \textcolor{comment}{ * This program is free software; you can redistribute it and/or modify}}
\DoxyCodeLine{9 \textcolor{comment}{ * it under the terms of the GNU General Public License as published by}}
\DoxyCodeLine{10 \textcolor{comment}{ * the Free Software Foundation; either version 2 of the License, or}}
\DoxyCodeLine{11 \textcolor{comment}{ * (at your option) any later version.}}
\DoxyCodeLine{12 \textcolor{comment}{ *}}
\DoxyCodeLine{13 \textcolor{comment}{ * This program is distributed in the hope that it will be useful,}}
\DoxyCodeLine{14 \textcolor{comment}{ * but WITHOUT ANY WARRANTY; without even the implied warranty of}}
\DoxyCodeLine{15 \textcolor{comment}{ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the}}
\DoxyCodeLine{16 \textcolor{comment}{ * GNU General Public License for more details.}}
\DoxyCodeLine{17 \textcolor{comment}{ *}}
\DoxyCodeLine{18 \textcolor{comment}{ */}}
\DoxyCodeLine{19 }
\DoxyCodeLine{20 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{21 }
\DoxyCodeLine{22 \textcolor{preprocessor}{\#include <osmocom/core/msgb.h>}}
\DoxyCodeLine{23 }
\DoxyCodeLine{24 \textcolor{preprocessor}{\#include <stdint.h>}}
\DoxyCodeLine{25 }
\DoxyCodeLine{26 \textcolor{preprocessor}{\#define OSMO\_GCR\_MIN\_LEN 13}}
\DoxyCodeLine{27 }
\DoxyCodeLine{29 \textcolor{keyword}{struct }osmo\_gcr\_parsed \{}
\DoxyCodeLine{30         uint8\_t net[5];  }
\DoxyCodeLine{31         uint8\_t net\_len; }
\DoxyCodeLine{32         uint16\_t node;   }
\DoxyCodeLine{33         uint8\_t cr[5];   }
\DoxyCodeLine{34 \};}
\DoxyCodeLine{35 }
\DoxyCodeLine{36 uint8\_t osmo\_enc\_gcr(\textcolor{keyword}{struct} msgb *msg, \textcolor{keyword}{const} \textcolor{keyword}{struct} osmo\_gcr\_parsed *g);}
\DoxyCodeLine{37 \textcolor{keywordtype}{int} osmo\_dec\_gcr(\textcolor{keyword}{struct} osmo\_gcr\_parsed *gcr, \textcolor{keyword}{const} uint8\_t *elem, uint8\_t len);}
\DoxyCodeLine{38 \textcolor{keywordtype}{bool} osmo\_gcr\_eq(\textcolor{keyword}{const} \textcolor{keyword}{struct} osmo\_gcr\_parsed *gcr1, \textcolor{keyword}{const} \textcolor{keyword}{struct} osmo\_gcr\_parsed *gcr2);}

\end{DoxyCode}
