\hypertarget{structmwDirectoryHandler}{
\section{mwDirectoryHandler Struct Reference}
\label{structmwDirectoryHandler}\index{mwDirectoryHandler@{mwDirectoryHandler}}
}
{\tt \#include $<$mw\_\-srvc\_\-dir.h$>$}



\subsection{Detailed Description}
handles asynchronous events for a directory service instance \subsection*{Data Fields}
\begin{CompactItemize}
\item 
void($\ast$ \hyperlink{structmwDirectoryHandler_b6d147ab82df3d2ac86dccca75bd47f5}{clear} )(struct \hyperlink{structmwServiceDirectory}{mwServiceDirectory} $\ast$srvc)
\begin{CompactList}\small\item\em optional. \item\end{CompactList}\item 
void($\ast$ \hyperlink{structmwDirectoryHandler_ad709cad74cf4545df6264ea756da7ab}{dir\_\-closed} )(struct \hyperlink{structmwDirectory}{mwDirectory} $\ast$dir, guint32 reason)
\begin{CompactList}\small\item\em triggered when a directory has been closed \item\end{CompactList}\item 
void($\ast$ \hyperlink{structmwDirectoryHandler_f8380784bdb82d8367f8521d8a2c2906}{dir\_\-opened} )(struct \hyperlink{structmwDirectory}{mwDirectory} $\ast$dir)
\begin{CompactList}\small\item\em triggered when a directory has been successfully opened \item\end{CompactList}\item 
void($\ast$ \hyperlink{structmwDirectoryHandler_2562bc117a4d8c62e357238a70eb9039}{on\_\-book\_\-list} )(struct \hyperlink{structmwServiceDirectory}{mwServiceDirectory} $\ast$srvc, GList $\ast$books)
\begin{CompactList}\small\item\em handle receipt of the address book list from the service. \item\end{CompactList}\end{CompactItemize}


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


optional. 

called from mwService\_\-free \hypertarget{structmwDirectoryHandler_ad709cad74cf4545df6264ea756da7ab}{
\index{mwDirectoryHandler@{mwDirectoryHandler}!dir\_\-closed@{dir\_\-closed}}
\index{dir\_\-closed@{dir\_\-closed}!mwDirectoryHandler@{mwDirectoryHandler}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwDirectoryHandler::dir\_\-closed})(struct {\bf mwDirectory} $\ast$dir, guint32 reason)}}
\label{structmwDirectoryHandler_ad709cad74cf4545df6264ea756da7ab}


triggered when a directory has been closed 

\hypertarget{structmwDirectoryHandler_f8380784bdb82d8367f8521d8a2c2906}{
\index{mwDirectoryHandler@{mwDirectoryHandler}!dir\_\-opened@{dir\_\-opened}}
\index{dir\_\-opened@{dir\_\-opened}!mwDirectoryHandler@{mwDirectoryHandler}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwDirectoryHandler::dir\_\-opened})(struct {\bf mwDirectory} $\ast$dir)}}
\label{structmwDirectoryHandler_f8380784bdb82d8367f8521d8a2c2906}


triggered when a directory has been successfully opened 

\hypertarget{structmwDirectoryHandler_2562bc117a4d8c62e357238a70eb9039}{
\index{mwDirectoryHandler@{mwDirectoryHandler}!on\_\-book\_\-list@{on\_\-book\_\-list}}
\index{on\_\-book\_\-list@{on\_\-book\_\-list}!mwDirectoryHandler@{mwDirectoryHandler}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void($\ast$ {\bf mwDirectoryHandler::on\_\-book\_\-list})(struct {\bf mwServiceDirectory} $\ast$srvc, GList $\ast$books)}}
\label{structmwDirectoryHandler_2562bc117a4d8c62e357238a70eb9039}


handle receipt of the address book list from the service. 

Initially triggered by mwServiceDirectory\_\-refreshAddressBooks and at service startup 

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