\doxysection{ssh\+\_\+transport.\+h}
\hypertarget{ssh__transport_8h_source}{}\label{ssh__transport_8h_source}\index{rtrlib/transport/ssh/ssh\_transport.h@{rtrlib/transport/ssh/ssh\_transport.h}}
\mbox{\hyperlink{ssh__transport_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{00025\ \textcolor{preprocessor}{\#ifndef\ SSH\_TRANSPORT\_H}}
\DoxyCodeLine{00026\ \textcolor{preprocessor}{\#define\ SSH\_TRANSPORT\_H}}
\DoxyCodeLine{00027\ }
\DoxyCodeLine{00028\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{transport_8h}{rtrlib/transport/transport.h}}"{}}}
\DoxyCodeLine{00029\ }
\DoxyCodeLine{00051\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structtr__ssh__config}{tr\_ssh\_config}}\ \{}
\DoxyCodeLine{00052\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structtr__ssh__config_a219bcee38ef67ce1e870d20f71edefca}{host}};}
\DoxyCodeLine{00053\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{structtr__ssh__config_a0b92f272b57f029295da4725f4207aca}{port}};}
\DoxyCodeLine{00054\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structtr__ssh__config_aa79070c2c4e6e4d7dfce074da602c70d}{bindaddr}};}
\DoxyCodeLine{00055\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structtr__ssh__config_ad4e82515d60ba34130b1f098a5d352d9}{username}};}
\DoxyCodeLine{00056\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structtr__ssh__config_ad4336c509bc08b2c8808ea18a17ecf2d}{server\_hostkey\_path}};}
\DoxyCodeLine{00057\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structtr__ssh__config_ab995072a5f80641f9ef687f24952b1b6}{client\_privkey\_path}};}
\DoxyCodeLine{00058\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{void}\ *\mbox{\hyperlink{structtr__ssh__config_afead8059a4ba83a2ffb23b644ca1f5db}{data}};}
\DoxyCodeLine{00059\ \ \ \ \ \ \ \ \ int\ (*\mbox{\hyperlink{structtr__ssh__config_acf3bd856b4f05ec727de78ad0a1aae0a}{new\_socket}})(\textcolor{keywordtype}{void}\ *\mbox{\hyperlink{structtr__ssh__config_afead8059a4ba83a2ffb23b644ca1f5db}{data}});}
\DoxyCodeLine{00060\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{unsigned}\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{structtr__ssh__config_a6dfc9b66a2eadc4af7e3b8ccf73a7257}{connect\_timeout}};}
\DoxyCodeLine{00061\ \ \ \ \ \ \ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structtr__ssh__config_adc4ae249999639d1aba8ca8d44470674}{password}};}
\DoxyCodeLine{00062\ \};}
\DoxyCodeLine{00063\ }
\DoxyCodeLine{00071\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{group__mod__ssh__transport__h_gac5d5516e62228cc180c6aaac467bfe6c}{tr\_ssh\_init}}(\textcolor{keyword}{const}\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structtr__ssh__config}{tr\_ssh\_config}}\ *config,\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structtr__socket}{tr\_socket}}\ *socket);}
\DoxyCodeLine{00072\ }
\DoxyCodeLine{00073\ \textcolor{preprocessor}{\#endif}}

\end{DoxyCode}
