\doxysection{rtrlib/transport/transport.h File Reference}
\hypertarget{transport_8h}{}\label{transport_8h}\index{rtrlib/transport/transport.h@{rtrlib/transport/transport.h}}
{\ttfamily \#include $<$time.\+h$>$}\newline
\doxysubsubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structtr__socket}{tr\+\_\+socket}}
\begin{DoxyCompactList}\small\item\em A transport socket datastructure. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{group__mod__transport__h_gac27543eee07496666cd6ebf3487aec40}{RTRLIB\+\_\+\+TRANSPORT\+\_\+\+CONNECT\+\_\+\+TIMEOUT\+\_\+\+DEFAULT}}~30
\begin{DoxyCompactList}\small\item\em Default connect timeout. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef void(\texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__mod__transport__h_gad2efbef8b157cd9484c688d6ef67d6b6}{tr\+\_\+close\+\_\+fp}}) (void \texorpdfstring{$\ast$}{*}socket)
\begin{DoxyCompactList}\small\item\em A function pointer to a technology specific close function. \end{DoxyCompactList}\item 
typedef int(\texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__mod__transport__h_ga615d56abf17d32924155fcf0ccc2664c}{tr\+\_\+open\+\_\+fp}}) (void \texorpdfstring{$\ast$}{*}socket)
\begin{DoxyCompactList}\small\item\em A function pointer to a technology specific open function. \end{DoxyCompactList}\item 
typedef void(\texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__mod__transport__h_ga333a8d2d3a3dea54a36034c026d0a054}{tr\+\_\+free\+\_\+fp}}) (struct \mbox{\hyperlink{structtr__socket}{tr\+\_\+socket}} \texorpdfstring{$\ast$}{*}tr\+\_\+sock)
\begin{DoxyCompactList}\small\item\em A function pointer to a technology specific free function. \end{DoxyCompactList}\item 
typedef int(\texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__mod__transport__h_ga257bfa5c831410f1034edaa9b79f303c}{tr\+\_\+recv\+\_\+fp}}) (const void \texorpdfstring{$\ast$}{*}socket, void \texorpdfstring{$\ast$}{*}pdu, const size\+\_\+t \mbox{\hyperlink{rtr__pdus_8h_a96bbf959016e4411c9e6b9812a8be60a}{len}}, const time\+\_\+t timeout)
\begin{DoxyCompactList}\small\item\em A function pointer to a technology specific recv function. \end{DoxyCompactList}\item 
typedef int(\texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__mod__transport__h_gadc6f1fbce8f7557edd50070069afc0c6}{tr\+\_\+send\+\_\+fp}}) (const void \texorpdfstring{$\ast$}{*}socket, const void \texorpdfstring{$\ast$}{*}pdu, const size\+\_\+t \mbox{\hyperlink{rtr__pdus_8h_a96bbf959016e4411c9e6b9812a8be60a}{len}}, const time\+\_\+t timeout)
\begin{DoxyCompactList}\small\item\em A function pointer to a technology specific send function. \end{DoxyCompactList}\item 
typedef const char \texorpdfstring{$\ast$}{*}(\texorpdfstring{$\ast$}{*} \mbox{\hyperlink{group__mod__transport__h_ga02f9d37bf7e41a8990b74af6653cae6c}{tr\+\_\+ident\+\_\+fp}}) (void \texorpdfstring{$\ast$}{*}socket)
\begin{DoxyCompactList}\small\item\em A function pointer to a technology specific info function. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{group__mod__transport__h_ga4493c1dcecd61a8f10a71912f29d2087}{tr\+\_\+rtvals}} \{ \newline
\mbox{\hyperlink{group__mod__transport__h_gga4493c1dcecd61a8f10a71912f29d2087afbed3f5722747b105d734585aa0fcba2}{TR\+\_\+\+SUCCESS}} = 0
, \mbox{\hyperlink{group__mod__transport__h_gga4493c1dcecd61a8f10a71912f29d2087a073c7a28c0dd674b0635178112536a2f}{TR\+\_\+\+ERROR}} = -\/1
, \mbox{\hyperlink{group__mod__transport__h_gga4493c1dcecd61a8f10a71912f29d2087a9cb0eee91bb5e932bbe89c2f12daadb5}{TR\+\_\+\+WOULDBLOCK}} = -\/2
, \mbox{\hyperlink{group__mod__transport__h_gga4493c1dcecd61a8f10a71912f29d2087a15019d7ece9eed5882a70243bbdfc0d8}{TR\+\_\+\+INTR}} = -\/3
, \newline
\mbox{\hyperlink{group__mod__transport__h_gga4493c1dcecd61a8f10a71912f29d2087a347014cc5da178db6cc3970d6e160694}{TR\+\_\+\+CLOSED}} = -\/4
 \}
\begin{DoxyCompactList}\small\item\em The return values for tr\+\_\+ functions. \end{DoxyCompactList}\end{DoxyCompactItemize}
