\doxysection{proto\+\_\+clnt.\+h}
\label{proto__clnt_8h_source}\index{include/osmocom/e1d/proto\_clnt.h@{include/osmocom/e1d/proto\_clnt.h}}
\textbf{ Go to the documentation of this file.}
\begin{DoxyCode}{0}
\DoxyCodeLine{1 \textcolor{comment}{/*}}
\DoxyCodeLine{2 \textcolor{comment}{ * proto\_clnt.h}}
\DoxyCodeLine{3 \textcolor{comment}{ *}}
\DoxyCodeLine{4 \textcolor{comment}{ * (C) 2019 by Sylvain Munaut <tnt@246tNt.com>}}
\DoxyCodeLine{5 \textcolor{comment}{ *}}
\DoxyCodeLine{6 \textcolor{comment}{ * All Rights Reserved}}
\DoxyCodeLine{7 \textcolor{comment}{ *}}
\DoxyCodeLine{8 \textcolor{comment}{ * SPDX-\/License-\/Identifier: LGPL-\/3.0-\/or-\/later}}
\DoxyCodeLine{9 \textcolor{comment}{ *}}
\DoxyCodeLine{10 \textcolor{comment}{ * This program is free software; you can redistribute it and/or modify}}
\DoxyCodeLine{11 \textcolor{comment}{ * it under the terms of the GNU Lesser General Public License as published}}
\DoxyCodeLine{12 \textcolor{comment}{ * by the Free Software Foundation; either version 3 of the License, or}}
\DoxyCodeLine{13 \textcolor{comment}{ * (at your option) any later version.}}
\DoxyCodeLine{14 \textcolor{comment}{ *}}
\DoxyCodeLine{15 \textcolor{comment}{ * This program is distributed in the hope that it will be useful,}}
\DoxyCodeLine{16 \textcolor{comment}{ * but WITHOUT ANY WARRANTY; without even the implied warranty of}}
\DoxyCodeLine{17 \textcolor{comment}{ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the}}
\DoxyCodeLine{18 \textcolor{comment}{ * GNU General Public License for more details.}}
\DoxyCodeLine{19 \textcolor{comment}{ *}}
\DoxyCodeLine{20 \textcolor{comment}{ * You should have received a copy of the GNU Lesser General Public License}}
\DoxyCodeLine{21 \textcolor{comment}{ * along with this program; if not, see <http://www.gnu.org/licenses/>.}}
\DoxyCodeLine{22 \textcolor{comment}{ */}}
\DoxyCodeLine{23 }
\DoxyCodeLine{24 \textcolor{preprocessor}{\#pragma once}}
\DoxyCodeLine{25 }
\DoxyCodeLine{26 \textcolor{preprocessor}{\#include <osmocom/core/msgb.h>}}
\DoxyCodeLine{27 }
\DoxyCodeLine{28 \textcolor{preprocessor}{\#include <osmocom/e1d/proto.h>}}
\DoxyCodeLine{29 }
\DoxyCodeLine{30 \textcolor{keyword}{struct }osmo\_e1dp\_client;}
\DoxyCodeLine{31 }
\DoxyCodeLine{32 \textcolor{keyword}{struct }osmo\_e1dp\_client *osmo\_e1dp\_client\_create(\textcolor{keywordtype}{void} *ctx, \textcolor{keyword}{const} \textcolor{keywordtype}{char} *path);}
\DoxyCodeLine{33 \textcolor{keywordtype}{void} osmo\_e1dp\_client\_destroy(\textcolor{keyword}{struct} osmo\_e1dp\_client *clnt);}
\DoxyCodeLine{34 }
\DoxyCodeLine{35 \textcolor{keywordtype}{int} osmo\_e1dp\_client\_intf\_query(\textcolor{keyword}{struct} osmo\_e1dp\_client *clnt,}
\DoxyCodeLine{36         \textcolor{keyword}{struct} osmo\_e1dp\_intf\_info **ii, \textcolor{keywordtype}{int} *n,}
\DoxyCodeLine{37         uint8\_t intf);}
\DoxyCodeLine{38 \textcolor{keywordtype}{int} osmo\_e1dp\_client\_line\_query(\textcolor{keyword}{struct} osmo\_e1dp\_client *clnt,}
\DoxyCodeLine{39         \textcolor{keyword}{struct} osmo\_e1dp\_line\_info **li, \textcolor{keywordtype}{int} *n,}
\DoxyCodeLine{40         uint8\_t intf, uint8\_t line);}
\DoxyCodeLine{41 \textcolor{keywordtype}{int} osmo\_e1dp\_client\_ts\_query(\textcolor{keyword}{struct} osmo\_e1dp\_client *clnt,}
\DoxyCodeLine{42         \textcolor{keyword}{struct} osmo\_e1dp\_ts\_info **ti, \textcolor{keywordtype}{int} *n,}
\DoxyCodeLine{43         uint8\_t intf, uint8\_t line, uint8\_t ts);}
\DoxyCodeLine{44 \textcolor{keywordtype}{int} osmo\_e1dp\_client\_line\_config(\textcolor{keyword}{struct} osmo\_e1dp\_client *clnt,}
\DoxyCodeLine{45         uint8\_t intf, uint8\_t line, \textcolor{keyword}{enum} osmo\_e1dp\_line\_mode mode);}
\DoxyCodeLine{46 \textcolor{keywordtype}{int} osmo\_e1dp\_client\_set\_sa\_bits(\textcolor{keyword}{struct} osmo\_e1dp\_client *clnt, uint8\_t intf, uint8\_t line, uint8\_t sa\_bits);}
\DoxyCodeLine{47 \textcolor{keywordtype}{int} osmo\_e1dp\_client\_set\_cas(\textcolor{keyword}{struct} osmo\_e1dp\_client *clnt, uint8\_t intf, uint8\_t line, uint8\_t ts,}
\DoxyCodeLine{48                              \textcolor{keyword}{struct} osmo\_e1dp\_cas\_bits *cas);}
\DoxyCodeLine{49 \textcolor{keywordtype}{int} osmo\_e1dp\_client\_ts\_open(\textcolor{keyword}{struct} osmo\_e1dp\_client *clnt,}
\DoxyCodeLine{50         uint8\_t intf, uint8\_t line, uint8\_t ts,}
\DoxyCodeLine{51         \textcolor{keyword}{enum} osmo\_e1dp\_ts\_mode mode, uint16\_t read\_bufsize);}
\DoxyCodeLine{52 \textcolor{keywordtype}{int} osmo\_e1dp\_client\_ts\_open\_force(\textcolor{keyword}{struct} osmo\_e1dp\_client *clnt,}
\DoxyCodeLine{53         uint8\_t intf, uint8\_t line, uint8\_t ts,}
\DoxyCodeLine{54         \textcolor{keyword}{enum} osmo\_e1dp\_ts\_mode mode, uint16\_t read\_bufsize);}
\DoxyCodeLine{55 \textcolor{keywordtype}{void} osmo\_e1dp\_client\_event\_register(\textcolor{keyword}{struct} osmo\_e1dp\_client *clnt,}
\DoxyCodeLine{56         \textcolor{keywordtype}{void} (*cb)(\textcolor{keyword}{enum} osmo\_e1dp\_msg\_type event, uint8\_t intf, uint8\_t line, uint8\_t ts, uint8\_t *data, \textcolor{keywordtype}{int} len));}

\end{DoxyCode}
