\doxysection{transport\+\_\+private.\+h}
\hypertarget{transport__private_8h_source}{}\label{transport__private_8h_source}\index{rtrlib/transport/transport\_private.h@{rtrlib/transport/transport\_private.h}}
\mbox{\hyperlink{transport__private_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ \textcolor{comment}{/*}}
\DoxyCodeLine{00002\ \textcolor{comment}{\ *\ This\ file\ is\ part\ of\ RTRlib.}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ *\ This\ file\ is\ subject\ to\ the\ terms\ and\ conditions\ of\ the\ MIT\ license.}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ *\ See\ the\ file\ LICENSE\ in\ the\ top\ level\ directory\ for\ more\ details.}}
\DoxyCodeLine{00006\ \textcolor{comment}{\ *}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ *\ Website:\ http://rtrlib.realmv6.org/}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ */}}
\DoxyCodeLine{00009\ }
\DoxyCodeLine{00023\ \textcolor{preprocessor}{\#ifndef\ RTR\_TRANSPORT\_PRIVATE\_H}}
\DoxyCodeLine{00024\ \textcolor{preprocessor}{\#define\ RTR\_TRANSPORT\_PRIVATE\_H}}
\DoxyCodeLine{00025\ }
\DoxyCodeLine{00026\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{transport_8h}{transport.h}}"{}}}
\DoxyCodeLine{00027\ }
\DoxyCodeLine{00028\ \textcolor{preprocessor}{\#include\ <time.h>}}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00036\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__mod__transport__h_ga9a56327f186f88ad78edd7304fa254d9}{tr\_open}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structtr__socket}{tr\_socket}}\ *socket);}
\DoxyCodeLine{00037\ }
\DoxyCodeLine{00042\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__mod__transport__h_ga7d2f6f44da39e272f9ec1026ba9a630d}{tr\_close}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structtr__socket}{tr\_socket}}\ *socket);}
\DoxyCodeLine{00043\ }
\DoxyCodeLine{00049\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{group__mod__transport__h_ga1e7044b71e93ae593bb8fc5d43a03e6f}{tr\_free}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structtr__socket}{tr\_socket}}\ *socket);}
\DoxyCodeLine{00050\ }
\DoxyCodeLine{00061\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__mod__transport__h_gaf46b8fb4d633dfea7925b3d77e14ff6d}{tr\_recv}}(\textcolor{keyword}{const}\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structtr__socket}{tr\_socket}}\ *socket,\ \textcolor{keywordtype}{void}\ *buf,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{size\_t}\ \mbox{\hyperlink{rtr__pdus_8h_a96bbf959016e4411c9e6b9812a8be60a}{len}},\ \textcolor{keyword}{const}\ time\_t\ timeout);}
\DoxyCodeLine{00062\ }
\DoxyCodeLine{00072\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__mod__transport__h_ga6a23547b7f3073518d70a3afeac5f41b}{tr\_send}}(\textcolor{keyword}{const}\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structtr__socket}{tr\_socket}}\ *socket,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{void}\ *pdu,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{size\_t}\ \mbox{\hyperlink{rtr__pdus_8h_a96bbf959016e4411c9e6b9812a8be60a}{len}},\ \textcolor{keyword}{const}\ time\_t\ timeout);}
\DoxyCodeLine{00073\ }
\DoxyCodeLine{00084\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__mod__transport__h_gad1daaae068ce9e79291f700eb9d9d3ac}{tr\_send\_all}}(\textcolor{keyword}{const}\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structtr__socket}{tr\_socket}}\ *socket,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{void}\ *pdu,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{size\_t}\ \mbox{\hyperlink{rtr__pdus_8h_a96bbf959016e4411c9e6b9812a8be60a}{len}},\ \textcolor{keyword}{const}\ time\_t\ timeout);}
\DoxyCodeLine{00085\ }
\DoxyCodeLine{00096\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__mod__transport__h_gaf40abd27c26f3c3820ecd5f945b21cff}{tr\_recv\_all}}(\textcolor{keyword}{const}\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structtr__socket}{tr\_socket}}\ *socket,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{void}\ *buf,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{size\_t}\ \mbox{\hyperlink{rtr__pdus_8h_a96bbf959016e4411c9e6b9812a8be60a}{len}},\ \textcolor{keyword}{const}\ time\_t\ timeout);}
\DoxyCodeLine{00097\ }
\DoxyCodeLine{00104\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{group__mod__transport__h_ga8e940b6777ffb33558502558bddbdae8}{tr\_ident}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structtr__socket}{tr\_socket}}\ *socket);}
\DoxyCodeLine{00105\ }
\DoxyCodeLine{00106\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
