\doxysection{mw\+\_\+srvc\+\_\+dir.\+h File Reference}
\hypertarget{mw__srvc__dir_8h}{}\label{mw__srvc__dir_8h}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
{\ttfamily \#include $<$glib.\+h$>$}\newline
\doxysubsubsection*{Data Structures}
\begin{DoxyCompactItemize}
\item 
struct \mbox{\hyperlink{structmwDirectoryHandler}{mw\+Directory\+Handler}}
\begin{DoxyCompactList}\small\item\em handles asynchronous events for a directory service instance \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{structmwDirectoryMember}{mw\+Directory\+Member}}
\end{DoxyCompactItemize}
\doxysubsubsection*{Macros}
\begin{DoxyCompactItemize}
\item 
\#define \mbox{\hyperlink{mw__srvc__dir_8h_a9e8e363d3e984cb248f780ecf7c669b7}{DIR\+\_\+\+SEARCH\+\_\+\+ERROR}}~0x00000000
\begin{DoxyCompactList}\small\item\em return value of directory searches that fail \end{DoxyCompactList}\item 
\#define \mbox{\hyperlink{mw__srvc__dir_8h_a3e71e58bfa721b29af1e8e6bea0c210d}{MW\+\_\+\+DIRECTORY\+\_\+\+IS\+\_\+\+NEW}}(dir)
\item 
\#define \mbox{\hyperlink{mw__srvc__dir_8h_a59dee2af6e326396710262410a83727b}{MW\+\_\+\+DIRECTORY\+\_\+\+IS\+\_\+\+OPEN}}(dir)
\item 
\#define \mbox{\hyperlink{mw__srvc__dir_8h_a61b98cd6f71f89e50d37d1976c1b7e1f}{MW\+\_\+\+DIRECTORY\+\_\+\+IS\+\_\+\+PENDING}}(dir)
\item 
\#define \mbox{\hyperlink{mw__srvc__dir_8h_a31c29620bbcc76eed48040a16a7c0af1}{MW\+\_\+\+DIRECTORY\+\_\+\+IS\+\_\+\+STATE}}(dir,  state)
\item 
\#define \mbox{\hyperlink{mw__srvc__dir_8h_ae09f7e7e838b943ab68103d5be873cf6}{SERVICE\+\_\+\+DIRECTORY}}~0x0000001a
\end{DoxyCompactItemize}
\doxysubsubsection*{Typedefs}
\begin{DoxyCompactItemize}
\item 
typedef void(\texorpdfstring{$\ast$}{*} \mbox{\hyperlink{mw__srvc__dir_8h_a15e6faa89198a79ccbd1f780ede3a4a5}{mw\+Search\+Handler}}) (struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}dir, guint32 code, guint32 offset, GList \texorpdfstring{$\ast$}{*}members)
\begin{DoxyCompactList}\small\item\em Appropriate function signature for handling directory search results. \end{DoxyCompactList}\end{DoxyCompactItemize}
\doxysubsubsection*{Enumerations}
\begin{DoxyCompactItemize}
\item 
enum \mbox{\hyperlink{mw__srvc__dir_8h_a1f72abe2e707f73a2b29ab1dda42c903}{mw\+Directory\+Member\+Type}} \{ \newline
\mbox{\hyperlink{mw__srvc__dir_8h_a1f72abe2e707f73a2b29ab1dda42c903a4df8201340e66f52d8f90300bac9da36}{mw\+Directory\+Member\+\_\+\+USER}} = 0x0000
, \newline
\mbox{\hyperlink{mw__srvc__dir_8h_a1f72abe2e707f73a2b29ab1dda42c903a2250ec76f552aa18e0e7a74f66573f67}{mw\+Directory\+Member\+\_\+\+GROUP}} = 0x0001
 \}
\item 
enum \mbox{\hyperlink{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801}{mw\+Directory\+State}} \{ \newline
\mbox{\hyperlink{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801aa23fa4280674777515fdf7127a9994ec}{mw\+Directory\+\_\+\+NEW}}
, \newline
\mbox{\hyperlink{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801ae8e0e99d2620433b2d7caa87e4f8010a}{mw\+Directory\+\_\+\+PENDING}}
, \newline
\mbox{\hyperlink{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801a7dfd76f714ee09bc65c7c83ce3159fe8}{mw\+Directory\+\_\+\+OPEN}}
, \newline
\mbox{\hyperlink{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801a10be11afe4f1c5faaeee216827c556ae}{mw\+Directory\+\_\+\+ERROR}}
, \newline
\mbox{\hyperlink{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801a49f46e4de9c565c09de4db0a1cb6073f}{mw\+Directory\+\_\+\+UNKNOWN}}
 \}
\end{DoxyCompactItemize}
\doxysubsubsection*{Functions}
\begin{DoxyCompactItemize}
\item 
GList \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{mw__srvc__dir_8h_ab4aebeacd02f3d9778ecf82b88f78787}{mw\+Address\+Book\+\_\+get\+Directories}} (struct \mbox{\hyperlink{structmwAddressBook}{mw\+Address\+Book}} \texorpdfstring{$\ast$}{*}book)
\begin{DoxyCompactList}\small\item\em list of directories associated with address book. \end{DoxyCompactList}\item 
const char \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{mw__srvc__dir_8h_a574542e79cef318e8cfd975b5fe8538e}{mw\+Address\+Book\+\_\+get\+Name}} (struct \mbox{\hyperlink{structmwAddressBook}{mw\+Address\+Book}} \texorpdfstring{$\ast$}{*}book)
\begin{DoxyCompactList}\small\item\em the name of the address book \end{DoxyCompactList}\item 
int \mbox{\hyperlink{mw__srvc__dir_8h_aee4a5d99e7505d038ce21f5014c8956e}{mw\+Directory\+\_\+destroy}} (struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}dir)
\begin{DoxyCompactList}\small\item\em close and free the directory, and unassociate it with its owning address book and service \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{structmwAddressBook}{mw\+Address\+Book}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{mw__srvc__dir_8h_acc590c33c9c4f3b2bb376419c00500d6}{mw\+Directory\+\_\+get\+Address\+Book}} (struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}dir)
\begin{DoxyCompactList}\small\item\em reference owning address book \end{DoxyCompactList}\item 
gpointer \mbox{\hyperlink{mw__srvc__dir_8h_a635923e640e1679a7e8ad72da82bd124}{mw\+Directory\+\_\+get\+Client\+Data}} (struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}dir)
\begin{DoxyCompactList}\small\item\em reference associated client data \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{structmwServiceDirectory}{mw\+Service\+Directory}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{mw__srvc__dir_8h_a52bf39ce93e2aeb4b904db7df485676e}{mw\+Directory\+\_\+get\+Service}} (struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}dir)
\begin{DoxyCompactList}\small\item\em reference owning service \end{DoxyCompactList}\item 
enum \mbox{\hyperlink{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801}{mw\+Directory\+State}} \mbox{\hyperlink{mw__srvc__dir_8h_aac64837707b8912f6663943323fc2b91}{mw\+Directory\+\_\+get\+State}} (struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}dir)
\item 
struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{mw__srvc__dir_8h_ad2453335e6a206fda82950ddfcc7697e}{mw\+Directory\+\_\+new}} (struct \mbox{\hyperlink{structmwAddressBook}{mw\+Address\+Book}} \texorpdfstring{$\ast$}{*}book)
\begin{DoxyCompactList}\small\item\em allocate a new directory based off the given address book \end{DoxyCompactList}\item 
int \mbox{\hyperlink{mw__srvc__dir_8h_ad48d6fefb1b5bc3b394f0cd1f705a355}{mw\+Directory\+\_\+next}} (struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}dir)
\begin{DoxyCompactList}\small\item\em continue a search into its next results \end{DoxyCompactList}\item 
int \mbox{\hyperlink{mw__srvc__dir_8h_a8b4c2367f50ad288b7a6902d7ea1d3d9}{mw\+Directory\+\_\+open}} (struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}dir, \mbox{\hyperlink{mw__srvc__dir_8h_a15e6faa89198a79ccbd1f780ede3a4a5}{mw\+Search\+Handler}} cb)
\begin{DoxyCompactList}\small\item\em initialize a directory. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{mw__srvc__dir_8h_af875cf16eb3af5c5ddcf2663f5cb4961}{mw\+Directory\+\_\+previous}} (struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}dir)
\begin{DoxyCompactList}\small\item\em continue a search into its previous results \end{DoxyCompactList}\item 
void \mbox{\hyperlink{mw__srvc__dir_8h_a2bdd0844643324c5aeaedff5762a9a24}{mw\+Directory\+\_\+remove\+Client\+Data}} (struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}dir)
\begin{DoxyCompactList}\small\item\em remove and cleanup user data \end{DoxyCompactList}\item 
int \mbox{\hyperlink{mw__srvc__dir_8h_a9dbd426e14906b932c49fc8bf73b05b3}{mw\+Directory\+\_\+search}} (struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}dir, const char \texorpdfstring{$\ast$}{*}query)
\begin{DoxyCompactList}\small\item\em initiate a search on an open directory \end{DoxyCompactList}\item 
void \mbox{\hyperlink{mw__srvc__dir_8h_ac1f534a4ae485697d28607fb413f8adc}{mw\+Directory\+\_\+set\+Client\+Data}} (struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}dir, gpointer data, GDestroy\+Notify clear)
\begin{DoxyCompactList}\small\item\em set client data. \end{DoxyCompactList}\item 
GList \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{mw__srvc__dir_8h_a1948aa7878ae6081b0ebb28b9ffac224}{mw\+Service\+Directory\+\_\+get\+Address\+Books}} (struct \mbox{\hyperlink{structmwServiceDirectory}{mw\+Service\+Directory}} \texorpdfstring{$\ast$}{*}srvc)
\begin{DoxyCompactList}\small\item\em most recent list of address books available in service \end{DoxyCompactList}\item 
GList \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{mw__srvc__dir_8h_aa479ad009f0c61057939e61596bca9e0}{mw\+Service\+Directory\+\_\+get\+Directories}} (struct \mbox{\hyperlink{structmwServiceDirectory}{mw\+Service\+Directory}} \texorpdfstring{$\ast$}{*}srvc)
\begin{DoxyCompactList}\small\item\em list of directories in the service \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{structmwDirectoryHandler}{mw\+Directory\+Handler}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{mw__srvc__dir_8h_a547ba22df201c1f054cc41e08b745e34}{mw\+Service\+Directory\+\_\+get\+Handler}} (struct \mbox{\hyperlink{structmwServiceDirectory}{mw\+Service\+Directory}} \texorpdfstring{$\ast$}{*}srvc)
\begin{DoxyCompactList}\small\item\em the handler associated with the service at its creation \end{DoxyCompactList}\item 
struct \mbox{\hyperlink{structmwServiceDirectory}{mw\+Service\+Directory}} \texorpdfstring{$\ast$}{*} \mbox{\hyperlink{mw__srvc__dir_8h_aef6732ac9b50a31a46f7ffa404942db1}{mw\+Service\+Directory\+\_\+new}} (struct \mbox{\hyperlink{structmwSession}{mw\+Session}} \texorpdfstring{$\ast$}{*}session, struct \mbox{\hyperlink{structmwDirectoryHandler}{mw\+Directory\+Handler}} \texorpdfstring{$\ast$}{*}handler)
\begin{DoxyCompactList}\small\item\em Allocate a new directory service instance for use with session. \end{DoxyCompactList}\item 
int \mbox{\hyperlink{mw__srvc__dir_8h_a29a526b9ae82e319c04ac7fb9890bc36}{mw\+Service\+Directory\+\_\+refresh\+Address\+Books}} (struct \mbox{\hyperlink{structmwServiceDirectory}{mw\+Service\+Directory}} \texorpdfstring{$\ast$}{*}srvc)
\begin{DoxyCompactList}\small\item\em submit a request to obtain an updated list of address books from service \end{DoxyCompactList}\end{DoxyCompactItemize}


\label{doc-define-members}
\Hypertarget{mw__srvc__dir_8h_doc-define-members}
\doxysubsection{Macro Definition Documentation}
\Hypertarget{mw__srvc__dir_8h_a9e8e363d3e984cb248f780ecf7c669b7}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!DIR\_SEARCH\_ERROR@{DIR\_SEARCH\_ERROR}}
\index{DIR\_SEARCH\_ERROR@{DIR\_SEARCH\_ERROR}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{DIR\_SEARCH\_ERROR}{DIR\_SEARCH\_ERROR}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_a9e8e363d3e984cb248f780ecf7c669b7} 
\#define DIR\+\_\+\+SEARCH\+\_\+\+ERROR~0x00000000}



return value of directory searches that fail 

\Hypertarget{mw__srvc__dir_8h_a3e71e58bfa721b29af1e8e6bea0c210d}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!MW\_DIRECTORY\_IS\_NEW@{MW\_DIRECTORY\_IS\_NEW}}
\index{MW\_DIRECTORY\_IS\_NEW@{MW\_DIRECTORY\_IS\_NEW}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{MW\_DIRECTORY\_IS\_NEW}{MW\_DIRECTORY\_IS\_NEW}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_a3e71e58bfa721b29af1e8e6bea0c210d} 
\#define MW\+\_\+\+DIRECTORY\+\_\+\+IS\+\_\+\+NEW(\begin{DoxyParamCaption}\item[{}]{dir}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \mbox{\hyperlink{mw__srvc__dir_8h_a31c29620bbcc76eed48040a16a7c0af1}{MW\_DIRECTORY\_IS\_STATE}}((dir),\ \mbox{\hyperlink{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801aa23fa4280674777515fdf7127a9994ec}{mwDirectory\_NEW}})}

\end{DoxyCode}
\Hypertarget{mw__srvc__dir_8h_a59dee2af6e326396710262410a83727b}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!MW\_DIRECTORY\_IS\_OPEN@{MW\_DIRECTORY\_IS\_OPEN}}
\index{MW\_DIRECTORY\_IS\_OPEN@{MW\_DIRECTORY\_IS\_OPEN}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{MW\_DIRECTORY\_IS\_OPEN}{MW\_DIRECTORY\_IS\_OPEN}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_a59dee2af6e326396710262410a83727b} 
\#define MW\+\_\+\+DIRECTORY\+\_\+\+IS\+\_\+\+OPEN(\begin{DoxyParamCaption}\item[{}]{dir}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \mbox{\hyperlink{mw__srvc__dir_8h_a31c29620bbcc76eed48040a16a7c0af1}{MW\_DIRECTORY\_IS\_STATE}}((dir),\ \mbox{\hyperlink{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801a7dfd76f714ee09bc65c7c83ce3159fe8}{mwDirectory\_OPEN}})}

\end{DoxyCode}
\Hypertarget{mw__srvc__dir_8h_a61b98cd6f71f89e50d37d1976c1b7e1f}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!MW\_DIRECTORY\_IS\_PENDING@{MW\_DIRECTORY\_IS\_PENDING}}
\index{MW\_DIRECTORY\_IS\_PENDING@{MW\_DIRECTORY\_IS\_PENDING}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{MW\_DIRECTORY\_IS\_PENDING}{MW\_DIRECTORY\_IS\_PENDING}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_a61b98cd6f71f89e50d37d1976c1b7e1f} 
\#define MW\+\_\+\+DIRECTORY\+\_\+\+IS\+\_\+\+PENDING(\begin{DoxyParamCaption}\item[{}]{dir}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ \mbox{\hyperlink{mw__srvc__dir_8h_a31c29620bbcc76eed48040a16a7c0af1}{MW\_DIRECTORY\_IS\_STATE}}((dir),\ \mbox{\hyperlink{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801ae8e0e99d2620433b2d7caa87e4f8010a}{mwDirectory\_PENDING}})}

\end{DoxyCode}
\Hypertarget{mw__srvc__dir_8h_a31c29620bbcc76eed48040a16a7c0af1}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!MW\_DIRECTORY\_IS\_STATE@{MW\_DIRECTORY\_IS\_STATE}}
\index{MW\_DIRECTORY\_IS\_STATE@{MW\_DIRECTORY\_IS\_STATE}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{MW\_DIRECTORY\_IS\_STATE}{MW\_DIRECTORY\_IS\_STATE}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_a31c29620bbcc76eed48040a16a7c0af1} 
\#define MW\+\_\+\+DIRECTORY\+\_\+\+IS\+\_\+\+STATE(\begin{DoxyParamCaption}\item[{}]{dir}{, }\item[{}]{state}{}\end{DoxyParamCaption})}

{\bfseries Value\+:}
\begin{DoxyCode}{0}
\DoxyCodeLine{\ \ (\mbox{\hyperlink{mw__srvc__dir_8h_aac64837707b8912f6663943323fc2b91}{mwDirectory\_getState}}(dir)\ ==\ (state))}

\end{DoxyCode}
\Hypertarget{mw__srvc__dir_8h_ae09f7e7e838b943ab68103d5be873cf6}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!SERVICE\_DIRECTORY@{SERVICE\_DIRECTORY}}
\index{SERVICE\_DIRECTORY@{SERVICE\_DIRECTORY}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{SERVICE\_DIRECTORY}{SERVICE\_DIRECTORY}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_ae09f7e7e838b943ab68103d5be873cf6} 
\#define SERVICE\+\_\+\+DIRECTORY~0x0000001a}



\label{doc-typedef-members}
\Hypertarget{mw__srvc__dir_8h_doc-typedef-members}
\doxysubsection{Typedef Documentation}
\Hypertarget{mw__srvc__dir_8h_a15e6faa89198a79ccbd1f780ede3a4a5}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwSearchHandler@{mwSearchHandler}}
\index{mwSearchHandler@{mwSearchHandler}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwSearchHandler}{mwSearchHandler}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_a15e6faa89198a79ccbd1f780ede3a4a5} 
typedef void(\texorpdfstring{$\ast$}{*} mw\+Search\+Handler) (struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}dir, guint32 code, guint32 offset, GList \texorpdfstring{$\ast$}{*}members)}



Appropriate function signature for handling directory search results. 



\label{doc-enum-members}
\Hypertarget{mw__srvc__dir_8h_doc-enum-members}
\doxysubsection{Enumeration Type Documentation}
\Hypertarget{mw__srvc__dir_8h_a1f72abe2e707f73a2b29ab1dda42c903}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectoryMemberType@{mwDirectoryMemberType}}
\index{mwDirectoryMemberType@{mwDirectoryMemberType}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwDirectoryMemberType}{mwDirectoryMemberType}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_a1f72abe2e707f73a2b29ab1dda42c903} 
enum \mbox{\hyperlink{mw__srvc__dir_8h_a1f72abe2e707f73a2b29ab1dda42c903}{mw\+Directory\+Member\+Type}}}

\begin{DoxyEnumFields}[2]{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{mwDirectoryMember\_USER@{mwDirectoryMember\_USER}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectoryMember\_USER@{mwDirectoryMember\_USER}}}\Hypertarget{mw__srvc__dir_8h_a1f72abe2e707f73a2b29ab1dda42c903a4df8201340e66f52d8f90300bac9da36}\label{mw__srvc__dir_8h_a1f72abe2e707f73a2b29ab1dda42c903a4df8201340e66f52d8f90300bac9da36} 
mw\+Directory\+Member\+\_\+\+USER&\\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{mwDirectoryMember\_GROUP@{mwDirectoryMember\_GROUP}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectoryMember\_GROUP@{mwDirectoryMember\_GROUP}}}\Hypertarget{mw__srvc__dir_8h_a1f72abe2e707f73a2b29ab1dda42c903a2250ec76f552aa18e0e7a74f66573f67}\label{mw__srvc__dir_8h_a1f72abe2e707f73a2b29ab1dda42c903a2250ec76f552aa18e0e7a74f66573f67} 
mw\+Directory\+Member\+\_\+\+GROUP&\\
\hline

\end{DoxyEnumFields}
\Hypertarget{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectoryState@{mwDirectoryState}}
\index{mwDirectoryState@{mwDirectoryState}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwDirectoryState}{mwDirectoryState}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801} 
enum \mbox{\hyperlink{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801}{mw\+Directory\+State}}}

\begin{DoxyEnumFields}[2]{Enumerator}
\raisebox{\heightof{T}}[0pt][0pt]{\index{mwDirectory\_NEW@{mwDirectory\_NEW}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectory\_NEW@{mwDirectory\_NEW}}}\Hypertarget{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801aa23fa4280674777515fdf7127a9994ec}\label{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801aa23fa4280674777515fdf7127a9994ec} 
mw\+Directory\+\_\+\+NEW&directory is created, but not open \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{mwDirectory\_PENDING@{mwDirectory\_PENDING}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectory\_PENDING@{mwDirectory\_PENDING}}}\Hypertarget{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801ae8e0e99d2620433b2d7caa87e4f8010a}\label{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801ae8e0e99d2620433b2d7caa87e4f8010a} 
mw\+Directory\+\_\+\+PENDING&directory has in the process of opening \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{mwDirectory\_OPEN@{mwDirectory\_OPEN}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectory\_OPEN@{mwDirectory\_OPEN}}}\Hypertarget{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801a7dfd76f714ee09bc65c7c83ce3159fe8}\label{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801a7dfd76f714ee09bc65c7c83ce3159fe8} 
mw\+Directory\+\_\+\+OPEN&directory is open \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{mwDirectory\_ERROR@{mwDirectory\_ERROR}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectory\_ERROR@{mwDirectory\_ERROR}}}\Hypertarget{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801a10be11afe4f1c5faaeee216827c556ae}\label{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801a10be11afe4f1c5faaeee216827c556ae} 
mw\+Directory\+\_\+\+ERROR&error opening or using directory \\
\hline

\raisebox{\heightof{T}}[0pt][0pt]{\index{mwDirectory\_UNKNOWN@{mwDirectory\_UNKNOWN}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectory\_UNKNOWN@{mwDirectory\_UNKNOWN}}}\Hypertarget{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801a49f46e4de9c565c09de4db0a1cb6073f}\label{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801a49f46e4de9c565c09de4db0a1cb6073f} 
mw\+Directory\+\_\+\+UNKNOWN&error determining directory state \\
\hline

\end{DoxyEnumFields}


\label{doc-func-members}
\Hypertarget{mw__srvc__dir_8h_doc-func-members}
\doxysubsection{Function Documentation}
\Hypertarget{mw__srvc__dir_8h_ab4aebeacd02f3d9778ecf82b88f78787}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwAddressBook\_getDirectories@{mwAddressBook\_getDirectories}}
\index{mwAddressBook\_getDirectories@{mwAddressBook\_getDirectories}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwAddressBook\_getDirectories()}{mwAddressBook\_getDirectories()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_ab4aebeacd02f3d9778ecf82b88f78787} 
GList \texorpdfstring{$\ast$}{*} mw\+Address\+Book\+\_\+get\+Directories (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwAddressBook}{mw\+Address\+Book}} \texorpdfstring{$\ast$}{*}}]{book}{}\end{DoxyParamCaption})}



list of directories associated with address book. 

Note that the returned GList will need to be free\textquotesingle{}d after use \Hypertarget{mw__srvc__dir_8h_a574542e79cef318e8cfd975b5fe8538e}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwAddressBook\_getName@{mwAddressBook\_getName}}
\index{mwAddressBook\_getName@{mwAddressBook\_getName}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwAddressBook\_getName()}{mwAddressBook\_getName()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_a574542e79cef318e8cfd975b5fe8538e} 
const char \texorpdfstring{$\ast$}{*} mw\+Address\+Book\+\_\+get\+Name (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwAddressBook}{mw\+Address\+Book}} \texorpdfstring{$\ast$}{*}}]{book}{}\end{DoxyParamCaption})}



the name of the address book 

\Hypertarget{mw__srvc__dir_8h_aee4a5d99e7505d038ce21f5014c8956e}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectory\_destroy@{mwDirectory\_destroy}}
\index{mwDirectory\_destroy@{mwDirectory\_destroy}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwDirectory\_destroy()}{mwDirectory\_destroy()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_aee4a5d99e7505d038ce21f5014c8956e} 
int mw\+Directory\+\_\+destroy (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}}]{dir}{}\end{DoxyParamCaption})}



close and free the directory, and unassociate it with its owning address book and service 

\Hypertarget{mw__srvc__dir_8h_acc590c33c9c4f3b2bb376419c00500d6}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectory\_getAddressBook@{mwDirectory\_getAddressBook}}
\index{mwDirectory\_getAddressBook@{mwDirectory\_getAddressBook}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwDirectory\_getAddressBook()}{mwDirectory\_getAddressBook()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_acc590c33c9c4f3b2bb376419c00500d6} 
struct \mbox{\hyperlink{structmwAddressBook}{mw\+Address\+Book}} \texorpdfstring{$\ast$}{*} mw\+Directory\+\_\+get\+Address\+Book (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}}]{dir}{}\end{DoxyParamCaption})}



reference owning address book 

\Hypertarget{mw__srvc__dir_8h_a635923e640e1679a7e8ad72da82bd124}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectory\_getClientData@{mwDirectory\_getClientData}}
\index{mwDirectory\_getClientData@{mwDirectory\_getClientData}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwDirectory\_getClientData()}{mwDirectory\_getClientData()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_a635923e640e1679a7e8ad72da82bd124} 
gpointer mw\+Directory\+\_\+get\+Client\+Data (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}}]{dir}{}\end{DoxyParamCaption})}



reference associated client data 

\Hypertarget{mw__srvc__dir_8h_a52bf39ce93e2aeb4b904db7df485676e}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectory\_getService@{mwDirectory\_getService}}
\index{mwDirectory\_getService@{mwDirectory\_getService}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwDirectory\_getService()}{mwDirectory\_getService()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_a52bf39ce93e2aeb4b904db7df485676e} 
struct \mbox{\hyperlink{structmwServiceDirectory}{mw\+Service\+Directory}} \texorpdfstring{$\ast$}{*} mw\+Directory\+\_\+get\+Service (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}}]{dir}{}\end{DoxyParamCaption})}



reference owning service 

\Hypertarget{mw__srvc__dir_8h_aac64837707b8912f6663943323fc2b91}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectory\_getState@{mwDirectory\_getState}}
\index{mwDirectory\_getState@{mwDirectory\_getState}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwDirectory\_getState()}{mwDirectory\_getState()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_aac64837707b8912f6663943323fc2b91} 
enum \mbox{\hyperlink{mw__srvc__dir_8h_a60044a1a52101f8cc5b9d6a3b7a4d801}{mw\+Directory\+State}} mw\+Directory\+\_\+get\+State (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}}]{dir}{}\end{DoxyParamCaption})}

\Hypertarget{mw__srvc__dir_8h_ad2453335e6a206fda82950ddfcc7697e}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectory\_new@{mwDirectory\_new}}
\index{mwDirectory\_new@{mwDirectory\_new}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwDirectory\_new()}{mwDirectory\_new()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_ad2453335e6a206fda82950ddfcc7697e} 
struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*} mw\+Directory\+\_\+new (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwAddressBook}{mw\+Address\+Book}} \texorpdfstring{$\ast$}{*}}]{book}{}\end{DoxyParamCaption})}



allocate a new directory based off the given address book 

\Hypertarget{mw__srvc__dir_8h_ad48d6fefb1b5bc3b394f0cd1f705a355}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectory\_next@{mwDirectory\_next}}
\index{mwDirectory\_next@{mwDirectory\_next}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwDirectory\_next()}{mwDirectory\_next()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_ad48d6fefb1b5bc3b394f0cd1f705a355} 
int mw\+Directory\+\_\+next (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}}]{dir}{}\end{DoxyParamCaption})}



continue a search into its next results 

\Hypertarget{mw__srvc__dir_8h_a8b4c2367f50ad288b7a6902d7ea1d3d9}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectory\_open@{mwDirectory\_open}}
\index{mwDirectory\_open@{mwDirectory\_open}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwDirectory\_open()}{mwDirectory\_open()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_a8b4c2367f50ad288b7a6902d7ea1d3d9} 
int mw\+Directory\+\_\+open (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}}]{dir}{, }\item[{\mbox{\hyperlink{mw__srvc__dir_8h_a15e6faa89198a79ccbd1f780ede3a4a5}{mw\+Search\+Handler}}}]{cb}{}\end{DoxyParamCaption})}



initialize a directory. 

\Hypertarget{mw__srvc__dir_8h_af875cf16eb3af5c5ddcf2663f5cb4961}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectory\_previous@{mwDirectory\_previous}}
\index{mwDirectory\_previous@{mwDirectory\_previous}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwDirectory\_previous()}{mwDirectory\_previous()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_af875cf16eb3af5c5ddcf2663f5cb4961} 
int mw\+Directory\+\_\+previous (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}}]{dir}{}\end{DoxyParamCaption})}



continue a search into its previous results 

\Hypertarget{mw__srvc__dir_8h_a2bdd0844643324c5aeaedff5762a9a24}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectory\_removeClientData@{mwDirectory\_removeClientData}}
\index{mwDirectory\_removeClientData@{mwDirectory\_removeClientData}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwDirectory\_removeClientData()}{mwDirectory\_removeClientData()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_a2bdd0844643324c5aeaedff5762a9a24} 
void mw\+Directory\+\_\+remove\+Client\+Data (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}}]{dir}{}\end{DoxyParamCaption})}



remove and cleanup user data 

\Hypertarget{mw__srvc__dir_8h_a9dbd426e14906b932c49fc8bf73b05b3}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectory\_search@{mwDirectory\_search}}
\index{mwDirectory\_search@{mwDirectory\_search}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwDirectory\_search()}{mwDirectory\_search()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_a9dbd426e14906b932c49fc8bf73b05b3} 
int mw\+Directory\+\_\+search (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}}]{dir}{, }\item[{const char \texorpdfstring{$\ast$}{*}}]{query}{}\end{DoxyParamCaption})}



initiate a search on an open directory 

\Hypertarget{mw__srvc__dir_8h_ac1f534a4ae485697d28607fb413f8adc}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwDirectory\_setClientData@{mwDirectory\_setClientData}}
\index{mwDirectory\_setClientData@{mwDirectory\_setClientData}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwDirectory\_setClientData()}{mwDirectory\_setClientData()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_ac1f534a4ae485697d28607fb413f8adc} 
void mw\+Directory\+\_\+set\+Client\+Data (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwDirectory}{mw\+Directory}} \texorpdfstring{$\ast$}{*}}]{dir}{, }\item[{gpointer}]{data}{, }\item[{GDestroy\+Notify}]{clear}{}\end{DoxyParamCaption})}



set client data. 

If there is an existing clear function, it will not be called \Hypertarget{mw__srvc__dir_8h_a1948aa7878ae6081b0ebb28b9ffac224}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwServiceDirectory\_getAddressBooks@{mwServiceDirectory\_getAddressBooks}}
\index{mwServiceDirectory\_getAddressBooks@{mwServiceDirectory\_getAddressBooks}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwServiceDirectory\_getAddressBooks()}{mwServiceDirectory\_getAddressBooks()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_a1948aa7878ae6081b0ebb28b9ffac224} 
GList \texorpdfstring{$\ast$}{*} mw\+Service\+Directory\+\_\+get\+Address\+Books (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwServiceDirectory}{mw\+Service\+Directory}} \texorpdfstring{$\ast$}{*}}]{srvc}{}\end{DoxyParamCaption})}



most recent list of address books available in service 

\Hypertarget{mw__srvc__dir_8h_aa479ad009f0c61057939e61596bca9e0}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwServiceDirectory\_getDirectories@{mwServiceDirectory\_getDirectories}}
\index{mwServiceDirectory\_getDirectories@{mwServiceDirectory\_getDirectories}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwServiceDirectory\_getDirectories()}{mwServiceDirectory\_getDirectories()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_aa479ad009f0c61057939e61596bca9e0} 
GList \texorpdfstring{$\ast$}{*} mw\+Service\+Directory\+\_\+get\+Directories (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwServiceDirectory}{mw\+Service\+Directory}} \texorpdfstring{$\ast$}{*}}]{srvc}{}\end{DoxyParamCaption})}



list of directories in the service 

\Hypertarget{mw__srvc__dir_8h_a547ba22df201c1f054cc41e08b745e34}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwServiceDirectory\_getHandler@{mwServiceDirectory\_getHandler}}
\index{mwServiceDirectory\_getHandler@{mwServiceDirectory\_getHandler}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwServiceDirectory\_getHandler()}{mwServiceDirectory\_getHandler()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_a547ba22df201c1f054cc41e08b745e34} 
struct \mbox{\hyperlink{structmwDirectoryHandler}{mw\+Directory\+Handler}} \texorpdfstring{$\ast$}{*} mw\+Service\+Directory\+\_\+get\+Handler (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwServiceDirectory}{mw\+Service\+Directory}} \texorpdfstring{$\ast$}{*}}]{srvc}{}\end{DoxyParamCaption})}



the handler associated with the service at its creation 

\Hypertarget{mw__srvc__dir_8h_aef6732ac9b50a31a46f7ffa404942db1}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwServiceDirectory\_new@{mwServiceDirectory\_new}}
\index{mwServiceDirectory\_new@{mwServiceDirectory\_new}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwServiceDirectory\_new()}{mwServiceDirectory\_new()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_aef6732ac9b50a31a46f7ffa404942db1} 
struct \mbox{\hyperlink{structmwServiceDirectory}{mw\+Service\+Directory}} \texorpdfstring{$\ast$}{*} mw\+Service\+Directory\+\_\+new (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwSession}{mw\+Session}} \texorpdfstring{$\ast$}{*}}]{session}{, }\item[{struct \mbox{\hyperlink{structmwDirectoryHandler}{mw\+Directory\+Handler}} \texorpdfstring{$\ast$}{*}}]{handler}{}\end{DoxyParamCaption})}



Allocate a new directory service instance for use with session. 

\Hypertarget{mw__srvc__dir_8h_a29a526b9ae82e319c04ac7fb9890bc36}\index{mw\_srvc\_dir.h@{mw\_srvc\_dir.h}!mwServiceDirectory\_refreshAddressBooks@{mwServiceDirectory\_refreshAddressBooks}}
\index{mwServiceDirectory\_refreshAddressBooks@{mwServiceDirectory\_refreshAddressBooks}!mw\_srvc\_dir.h@{mw\_srvc\_dir.h}}
\doxysubsubsection{\texorpdfstring{mwServiceDirectory\_refreshAddressBooks()}{mwServiceDirectory\_refreshAddressBooks()}}
{\footnotesize\ttfamily \label{mw__srvc__dir_8h_a29a526b9ae82e319c04ac7fb9890bc36} 
int mw\+Service\+Directory\+\_\+refresh\+Address\+Books (\begin{DoxyParamCaption}\item[{struct \mbox{\hyperlink{structmwServiceDirectory}{mw\+Service\+Directory}} \texorpdfstring{$\ast$}{*}}]{srvc}{}\end{DoxyParamCaption})}



submit a request to obtain an updated list of address books from service 

