\hypertarget{structmwFileTransferHandler}{
\section{mwFileTransferHandler Struct Reference}
\label{structmwFileTransferHandler}\index{mwFileTransferHandler@{mwFileTransferHandler}}
}
{\tt \#include $<$mw\_\-srvc\_\-ft.h$>$}

\subsection*{Data Fields}
\begin{CompactItemize}
\item 
void($\ast$ \hyperlink{structmwFileTransferHandler_506e691a7480347f85140e81c11ee94a}{clear} )(struct \hyperlink{structmwServiceFileTransfer}{mwServiceFileTransfer} $\ast$srvc)
\begin{CompactList}\small\item\em optional. \item\end{CompactList}\item 
void($\ast$ \hyperlink{structmwFileTransferHandler_0fd499a13104ef8913989340bab48fac}{ft\_\-ack} )(struct \hyperlink{structmwFileTransfer}{mwFileTransfer} $\ast$ft)
\begin{CompactList}\small\item\em received an ack for a sent chunk on an outbound file transfer. \item\end{CompactList}\item 
void($\ast$ \hyperlink{structmwFileTransferHandler_21e4f1d11d4d0086b14d3efa434302ec}{ft\_\-closed} )(struct \hyperlink{structmwFileTransfer}{mwFileTransfer} $\ast$ft, guint32 code)
\begin{CompactList}\small\item\em a file transfer has been closed. \item\end{CompactList}\item 
void($\ast$ \hyperlink{structmwFileTransferHandler_7673aa98277909db98cd7ec880b108ab}{ft\_\-offered} )(struct \hyperlink{structmwFileTransfer}{mwFileTransfer} $\ast$ft)
\begin{CompactList}\small\item\em an incoming file transfer has been offered \item\end{CompactList}\item 
void($\ast$ \hyperlink{structmwFileTransferHandler_6b899df2647b92e1464ed9afc6a55bb0}{ft\_\-opened} )(struct \hyperlink{structmwFileTransfer}{mwFileTransfer} $\ast$ft)
\begin{CompactList}\small\item\em a file transfer has been fully initiated \item\end{CompactList}\item 
void($\ast$ \hyperlink{structmwFileTransferHandler_e6a9cbb2e745cdbfd7b9e6117f541023}{ft\_\-recv} )(struct \hyperlink{structmwFileTransfer}{mwFileTransfer} $\ast$ft, struct \hyperlink{structmwOpaque}{mwOpaque} $\ast$data)
\begin{CompactList}\small\item\em receive a chunk of a file from an inbound file transfer. \item\end{CompactList}\end{CompactItemize}


\subsection{Field Documentation}
\hypertarget{structmwFileTransferHandler_506e691a7480347f85140e81c11ee94a}{
\index{mwFileTransferHandler@{mwFileTransferHandler}!clear@{clear}}
\index{clear@{clear}!mwFileTransferHandler@{mwFileTransferHandler}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwFileTransferHandler::clear})(struct {\bf mwServiceFileTransfer} $\ast$srvc)}}
\label{structmwFileTransferHandler_506e691a7480347f85140e81c11ee94a}


optional. 

called from mwService\_\-free \hypertarget{structmwFileTransferHandler_0fd499a13104ef8913989340bab48fac}{
\index{mwFileTransferHandler@{mwFileTransferHandler}!ft\_\-ack@{ft\_\-ack}}
\index{ft\_\-ack@{ft\_\-ack}!mwFileTransferHandler@{mwFileTransferHandler}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwFileTransferHandler::ft\_\-ack})(struct {\bf mwFileTransfer} $\ast$ft)}}
\label{structmwFileTransferHandler_0fd499a13104ef8913989340bab48fac}


received an ack for a sent chunk on an outbound file transfer. 

this indicates that a previous call to mwFileTransfer\_\-send has reached the target and that the target has responded. \hypertarget{structmwFileTransferHandler_21e4f1d11d4d0086b14d3efa434302ec}{
\index{mwFileTransferHandler@{mwFileTransferHandler}!ft\_\-closed@{ft\_\-closed}}
\index{ft\_\-closed@{ft\_\-closed}!mwFileTransferHandler@{mwFileTransferHandler}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwFileTransferHandler::ft\_\-closed})(struct {\bf mwFileTransfer} $\ast$ft, guint32 code)}}
\label{structmwFileTransferHandler_21e4f1d11d4d0086b14d3efa434302ec}


a file transfer has been closed. 

Check the status of the file transfer to determine if the transfer was complete or if it had been interrupted \hypertarget{structmwFileTransferHandler_7673aa98277909db98cd7ec880b108ab}{
\index{mwFileTransferHandler@{mwFileTransferHandler}!ft\_\-offered@{ft\_\-offered}}
\index{ft\_\-offered@{ft\_\-offered}!mwFileTransferHandler@{mwFileTransferHandler}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwFileTransferHandler::ft\_\-offered})(struct {\bf mwFileTransfer} $\ast$ft)}}
\label{structmwFileTransferHandler_7673aa98277909db98cd7ec880b108ab}


an incoming file transfer has been offered 

\hypertarget{structmwFileTransferHandler_6b899df2647b92e1464ed9afc6a55bb0}{
\index{mwFileTransferHandler@{mwFileTransferHandler}!ft\_\-opened@{ft\_\-opened}}
\index{ft\_\-opened@{ft\_\-opened}!mwFileTransferHandler@{mwFileTransferHandler}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwFileTransferHandler::ft\_\-opened})(struct {\bf mwFileTransfer} $\ast$ft)}}
\label{structmwFileTransferHandler_6b899df2647b92e1464ed9afc6a55bb0}


a file transfer has been fully initiated 

\hypertarget{structmwFileTransferHandler_e6a9cbb2e745cdbfd7b9e6117f541023}{
\index{mwFileTransferHandler@{mwFileTransferHandler}!ft\_\-recv@{ft\_\-recv}}
\index{ft\_\-recv@{ft\_\-recv}!mwFileTransferHandler@{mwFileTransferHandler}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwFileTransferHandler::ft\_\-recv})(struct {\bf mwFileTransfer} $\ast$ft, struct {\bf mwOpaque} $\ast$data)}}
\label{structmwFileTransferHandler_e6a9cbb2e745cdbfd7b9e6117f541023}


receive a chunk of a file from an inbound file transfer. 



The documentation for this struct was generated from the following file:\begin{CompactItemize}
\item 
\hyperlink{mw__srvc__ft_8h}{mw\_\-srvc\_\-ft.h}\end{CompactItemize}
