\doxysubsection{whole.\+h File Reference}
\label{whole_8h}\index{whole.h@{whole.h}}


Whole-\/file API driver functions.  


Include dependency graph for whole.\+h\+:\nopagebreak
\begin{figure}[H]
\begin{center}
\leavevmode
\includegraphics[width=350pt]{whole_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=99pt]{whole_8h__dep__incl}
\end{center}
\end{figure}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
\mbox{\hyperlink{librsync_8h_a7feb858ceba3b8f3cf048d49be108253}{rs\+\_\+result}} \mbox{\hyperlink{whole_8h_afd9c4b5694a88c0a835f0b3b0f8cbf91}{rs\+\_\+whole\+\_\+run}} (\mbox{\hyperlink{librsync_8h_add6622b38e3fa557301a190876d5ed4a}{rs\+\_\+job\+\_\+t}} $\ast$job, FILE $\ast$in\+\_\+file, FILE $\ast$out\+\_\+file, int inbuflen, int outbuflen)
\begin{DoxyCompactList}\small\item\em Run a job continuously, with input to/from the two specified files. \end{DoxyCompactList}\end{DoxyCompactItemize}


\doxysubsubsection{Detailed Description}
Whole-\/file API driver functions. 



Definition in file \mbox{\hyperlink{whole_8h_source}{whole.\+h}}.



\doxysubsubsection{Function Documentation}
\mbox{\label{whole_8h_afd9c4b5694a88c0a835f0b3b0f8cbf91}} 
\index{whole.h@{whole.h}!rs\_whole\_run@{rs\_whole\_run}}
\index{rs\_whole\_run@{rs\_whole\_run}!whole.h@{whole.h}}
\doxyparagraph{\texorpdfstring{rs\_whole\_run()}{rs\_whole\_run()}}
{\footnotesize\ttfamily \mbox{\hyperlink{librsync_8h_a7feb858ceba3b8f3cf048d49be108253}{rs\+\_\+result}} rs\+\_\+whole\+\_\+run (\begin{DoxyParamCaption}\item[{\mbox{\hyperlink{librsync_8h_add6622b38e3fa557301a190876d5ed4a}{rs\+\_\+job\+\_\+t}} $\ast$}]{job,  }\item[{FILE $\ast$}]{in\+\_\+file,  }\item[{FILE $\ast$}]{out\+\_\+file,  }\item[{int}]{inbuflen,  }\item[{int}]{outbuflen }\end{DoxyParamCaption})}



Run a job continuously, with input to/from the two specified files. 

The job should already be set up, and must be freed by the caller after return. If rs\+\_\+inbuflen or rs\+\_\+outbuflen are set, they will override the inbuflen and outbuflen arguments.


\begin{DoxyParams}{Parameters}
{\em job} & -\/ the job instance to run.\\
\hline
{\em in\+\_\+file} & -\/ input file, or NULL if there is no input.\\
\hline
{\em out\+\_\+file} & -\/ output file, or NULL if there is no output.\\
\hline
{\em inbuflen} & -\/ recommended input buffer size to use.\\
\hline
{\em outbuflen} & -\/ recommended output buffer size to use.\\
\hline
\end{DoxyParams}
\begin{DoxyReturn}{Returns}
RS\+\_\+\+DONE if the job completed, or otherwise an error result. 
\end{DoxyReturn}


Definition at line \mbox{\hyperlink{whole_8c_source_l00043}{43}} of file \mbox{\hyperlink{whole_8c_source}{whole.\+c}}.

