\doxysubsection{netint.\+h File Reference}
\label{netint_8h}\index{netint.h@{netint.h}}


Network-\/byte-\/order output to the tube.  


Include dependency graph for netint.\+h\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{netint_8h__incl}
\end{center}
\end{figure}
This graph shows which files directly or indirectly include this file\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{netint_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{librsync_8h_a7feb858ceba3b8f3cf048d49be108253}{rs\+\_\+result}} \mbox{\hyperlink{netint_8h_a6fd3476e53b2a58482b411f8407c4f4f}{rs\+\_\+squirt\+\_\+byte}} (\mbox{\hyperlink{librsync_8h_add6622b38e3fa557301a190876d5ed4a}{rs\+\_\+job\+\_\+t}} $\ast$job, rs\+\_\+byte\+\_\+t val)
\begin{DoxyCompactList}\small\item\em Write a single byte to a stream output. \end{DoxyCompactList}\item 
\mbox{\hyperlink{librsync_8h_a7feb858ceba3b8f3cf048d49be108253}{rs\+\_\+result}} \mbox{\hyperlink{netint_8h_aa82c804dec9ee0ab366e1c1f591012fa}{rs\+\_\+squirt\+\_\+netint}} (\mbox{\hyperlink{librsync_8h_add6622b38e3fa557301a190876d5ed4a}{rs\+\_\+job\+\_\+t}} $\ast$job, rs\+\_\+long\+\_\+t val, int len)
\begin{DoxyCompactList}\small\item\em Write a variable-\/length integer to a stream. \end{DoxyCompactList}\item 
\mbox{\hyperlink{librsync_8h_a7feb858ceba3b8f3cf048d49be108253}{rs\+\_\+result}} \mbox{\hyperlink{netint_8h_aff0a3e16252110a5c6fd47310fe2ab84}{rs\+\_\+squirt\+\_\+n4}} (\mbox{\hyperlink{librsync_8h_add6622b38e3fa557301a190876d5ed4a}{rs\+\_\+job\+\_\+t}} $\ast$job, int val)
\item 
\mbox{\hyperlink{librsync_8h_a7feb858ceba3b8f3cf048d49be108253}{rs\+\_\+result}} \mbox{\hyperlink{netint_8h_a25bd90fcba0b0a1aea85a46eb1c36292}{rs\+\_\+suck\+\_\+byte}} (\mbox{\hyperlink{librsync_8h_add6622b38e3fa557301a190876d5ed4a}{rs\+\_\+job\+\_\+t}} $\ast$job, rs\+\_\+byte\+\_\+t $\ast$val)
\item 
\mbox{\hyperlink{librsync_8h_a7feb858ceba3b8f3cf048d49be108253}{rs\+\_\+result}} \mbox{\hyperlink{netint_8h_abc48b643878a3fb16aba3f3765ae8777}{rs\+\_\+suck\+\_\+netint}} (\mbox{\hyperlink{librsync_8h_add6622b38e3fa557301a190876d5ed4a}{rs\+\_\+job\+\_\+t}} $\ast$job, rs\+\_\+long\+\_\+t $\ast$val, int len)
\item 
\mbox{\hyperlink{librsync_8h_a7feb858ceba3b8f3cf048d49be108253}{rs\+\_\+result}} \mbox{\hyperlink{netint_8h_a56598f92ba9b6cab54e896ed0f9007ed}{rs\+\_\+suck\+\_\+n4}} (\mbox{\hyperlink{librsync_8h_add6622b38e3fa557301a190876d5ed4a}{rs\+\_\+job\+\_\+t}} $\ast$job, int $\ast$val)
\item 
int \mbox{\hyperlink{netint_8h_a670c43b5db08618d5de6e5e9e6b6e684}{rs\+\_\+int\+\_\+len}} (rs\+\_\+long\+\_\+t val)
\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}
Network-\/byte-\/order output to the tube. 

All the `suck' routines return a result code. The most common values are RS\+\_\+\+DONE if they have enough data, or RS\+\_\+\+BLOCKED if there is not enough input to proceed.

The {\ttfamily squirt} routines also return a result code which in theory could be RS\+\_\+\+BLOCKED if there is not enough output space to proceed, but in practice is always RS\+\_\+\+DONE. 

Definition in file \mbox{\hyperlink{netint_8h_source}{netint.\+h}}.



\doxysubsubsection{Function Documentation}
\mbox{\label{netint_8h_a6fd3476e53b2a58482b411f8407c4f4f}} 
\index{netint.h@{netint.h}!rs\_squirt\_byte@{rs\_squirt\_byte}}
\index{rs\_squirt\_byte@{rs\_squirt\_byte}!netint.h@{netint.h}}
\doxyparagraph{\texorpdfstring{rs\_squirt\_byte()}{rs\_squirt\_byte()}}
{\footnotesize\ttfamily \mbox{\hyperlink{librsync_8h_a7feb858ceba3b8f3cf048d49be108253}{rs\+\_\+result}} rs\+\_\+squirt\+\_\+byte (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{librsync_8h_add6622b38e3fa557301a190876d5ed4a}{rs\+\_\+job\+\_\+t}} $\ast$}]{job,  }\item[{rs\+\_\+byte\+\_\+t}]{val }\end{DoxyParamCaption})}



Write a single byte to a stream output. 



Definition at line \mbox{\hyperlink{netint_8c_source_l00038}{38}} of file \mbox{\hyperlink{netint_8c_source}{netint.\+c}}.

\mbox{\label{netint_8h_aa82c804dec9ee0ab366e1c1f591012fa}} 
\index{netint.h@{netint.h}!rs\_squirt\_netint@{rs\_squirt\_netint}}
\index{rs\_squirt\_netint@{rs\_squirt\_netint}!netint.h@{netint.h}}
\doxyparagraph{\texorpdfstring{rs\_squirt\_netint()}{rs\_squirt\_netint()}}
{\footnotesize\ttfamily \mbox{\hyperlink{librsync_8h_a7feb858ceba3b8f3cf048d49be108253}{rs\+\_\+result}} rs\+\_\+squirt\+\_\+netint (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{librsync_8h_add6622b38e3fa557301a190876d5ed4a}{rs\+\_\+job\+\_\+t}} $\ast$}]{job,  }\item[{rs\+\_\+long\+\_\+t}]{val,  }\item[{int}]{len }\end{DoxyParamCaption})}



Write a variable-\/length integer to a stream. 


\begin{DoxyParams}{Parameters}
{\em job} & -\/ Job of data.\\
\hline
{\em val} & -\/ Value to write out.\\
\hline
{\em len} & -\/ Length of integer, in bytes. \\
\hline
\end{DoxyParams}


Definition at line \mbox{\hyperlink{netint_8c_source_l00044}{44}} of file \mbox{\hyperlink{netint_8c_source}{netint.\+c}}.

\mbox{\label{netint_8h_aff0a3e16252110a5c6fd47310fe2ab84}} 
\index{netint.h@{netint.h}!rs\_squirt\_n4@{rs\_squirt\_n4}}
\index{rs\_squirt\_n4@{rs\_squirt\_n4}!netint.h@{netint.h}}
\doxyparagraph{\texorpdfstring{rs\_squirt\_n4()}{rs\_squirt\_n4()}}
{\footnotesize\ttfamily \mbox{\hyperlink{librsync_8h_a7feb858ceba3b8f3cf048d49be108253}{rs\+\_\+result}} rs\+\_\+squirt\+\_\+n4 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{librsync_8h_add6622b38e3fa557301a190876d5ed4a}{rs\+\_\+job\+\_\+t}} $\ast$}]{job,  }\item[{int}]{val }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{netint_8c_source_l00059}{59}} of file \mbox{\hyperlink{netint_8c_source}{netint.\+c}}.

\mbox{\label{netint_8h_a25bd90fcba0b0a1aea85a46eb1c36292}} 
\index{netint.h@{netint.h}!rs\_suck\_byte@{rs\_suck\_byte}}
\index{rs\_suck\_byte@{rs\_suck\_byte}!netint.h@{netint.h}}
\doxyparagraph{\texorpdfstring{rs\_suck\_byte()}{rs\_suck\_byte()}}
{\footnotesize\ttfamily \mbox{\hyperlink{librsync_8h_a7feb858ceba3b8f3cf048d49be108253}{rs\+\_\+result}} rs\+\_\+suck\+\_\+byte (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{librsync_8h_add6622b38e3fa557301a190876d5ed4a}{rs\+\_\+job\+\_\+t}} $\ast$}]{job,  }\item[{rs\+\_\+byte\+\_\+t $\ast$}]{val }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{netint_8c_source_l00064}{64}} of file \mbox{\hyperlink{netint_8c_source}{netint.\+c}}.

\mbox{\label{netint_8h_abc48b643878a3fb16aba3f3765ae8777}} 
\index{netint.h@{netint.h}!rs\_suck\_netint@{rs\_suck\_netint}}
\index{rs\_suck\_netint@{rs\_suck\_netint}!netint.h@{netint.h}}
\doxyparagraph{\texorpdfstring{rs\_suck\_netint()}{rs\_suck\_netint()}}
{\footnotesize\ttfamily \mbox{\hyperlink{librsync_8h_a7feb858ceba3b8f3cf048d49be108253}{rs\+\_\+result}} rs\+\_\+suck\+\_\+netint (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{librsync_8h_add6622b38e3fa557301a190876d5ed4a}{rs\+\_\+job\+\_\+t}} $\ast$}]{job,  }\item[{rs\+\_\+long\+\_\+t $\ast$}]{val,  }\item[{int}]{len }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{netint_8c_source_l00074}{74}} of file \mbox{\hyperlink{netint_8c_source}{netint.\+c}}.

\mbox{\label{netint_8h_a56598f92ba9b6cab54e896ed0f9007ed}} 
\index{netint.h@{netint.h}!rs\_suck\_n4@{rs\_suck\_n4}}
\index{rs\_suck\_n4@{rs\_suck\_n4}!netint.h@{netint.h}}
\doxyparagraph{\texorpdfstring{rs\_suck\_n4()}{rs\_suck\_n4()}}
{\footnotesize\ttfamily \mbox{\hyperlink{librsync_8h_a7feb858ceba3b8f3cf048d49be108253}{rs\+\_\+result}} rs\+\_\+suck\+\_\+n4 (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{librsync_8h_add6622b38e3fa557301a190876d5ed4a}{rs\+\_\+job\+\_\+t}} $\ast$}]{job,  }\item[{int $\ast$}]{val }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{netint_8c_source_l00089}{89}} of file \mbox{\hyperlink{netint_8c_source}{netint.\+c}}.

\mbox{\label{netint_8h_a670c43b5db08618d5de6e5e9e6b6e684}} 
\index{netint.h@{netint.h}!rs\_int\_len@{rs\_int\_len}}
\index{rs\_int\_len@{rs\_int\_len}!netint.h@{netint.h}}
\doxyparagraph{\texorpdfstring{rs\_int\_len()}{rs\_int\_len()}}
{\footnotesize\ttfamily int rs\+\_\+int\+\_\+len (\begin{DoxyParamCaption}\item[{rs\+\_\+long\+\_\+t}]{val }\end{DoxyParamCaption})}



Definition at line \mbox{\hyperlink{netint_8c_source_l00099}{99}} of file \mbox{\hyperlink{netint_8c_source}{netint.\+c}}.

