\doxysection{mw\+\_\+srvc\+\_\+resolve.\+h}
\hypertarget{mw__srvc__resolve_8h_source}{}\label{mw__srvc__resolve_8h_source}\index{mw\_srvc\_resolve.h@{mw\_srvc\_resolve.h}}
\mbox{\hyperlink{mw__srvc__resolve_8h}{Go to the documentation of this file.}}
\begin{DoxyCode}{0}
\DoxyCodeLine{00001\ }
\DoxyCodeLine{00002\ \textcolor{comment}{/*}}
\DoxyCodeLine{00003\ \textcolor{comment}{\ \ Meanwhile\ -\/\ Unofficial\ Lotus\ Sametime\ Community\ Client\ Library}}
\DoxyCodeLine{00004\ \textcolor{comment}{\ \ Copyright\ (C)\ 2004\ \ Christopher\ (siege)\ O'Brien}}
\DoxyCodeLine{00005\ \textcolor{comment}{\ \ }}
\DoxyCodeLine{00006\ \textcolor{comment}{\ \ This\ library\ is\ free\ software;\ you\ can\ redistribute\ it\ and/or}}
\DoxyCodeLine{00007\ \textcolor{comment}{\ \ modify\ it\ under\ the\ terms\ of\ the\ GNU\ Library\ General\ Public}}
\DoxyCodeLine{00008\ \textcolor{comment}{\ \ License\ as\ published\ by\ the\ Free\ Software\ Foundation;\ either}}
\DoxyCodeLine{00009\ \textcolor{comment}{\ \ version\ 2\ of\ the\ License,\ or\ (at\ your\ option)\ any\ later\ version.}}
\DoxyCodeLine{00010\ \textcolor{comment}{\ \ }}
\DoxyCodeLine{00011\ \textcolor{comment}{\ \ This\ library\ is\ distributed\ in\ the\ hope\ that\ it\ will\ be\ useful,}}
\DoxyCodeLine{00012\ \textcolor{comment}{\ \ but\ WITHOUT\ ANY\ WARRANTY;\ without\ even\ the\ implied\ warranty\ of}}
\DoxyCodeLine{00013\ \textcolor{comment}{\ \ MERCHANTABILITY\ or\ FITNESS\ FOR\ A\ PARTICULAR\ PURPOSE.\ \ See\ the\ GNU}}
\DoxyCodeLine{00014\ \textcolor{comment}{\ \ Library\ General\ Public\ License\ for\ more\ details.}}
\DoxyCodeLine{00015\ \textcolor{comment}{\ \ }}
\DoxyCodeLine{00016\ \textcolor{comment}{\ \ You\ should\ have\ received\ a\ copy\ of\ the\ GNU\ Library\ General\ Public}}
\DoxyCodeLine{00017\ \textcolor{comment}{\ \ License\ along\ with\ this\ library;\ if\ not,\ write\ to\ the\ Free}}
\DoxyCodeLine{00018\ \textcolor{comment}{\ \ Foundation,\ Inc.,\ 59\ Temple\ Place,\ Suite\ 330,\ Boston,\ MA\ \ 02111-\/1307\ \ USA}}
\DoxyCodeLine{00019\ \textcolor{comment}{*/}}
\DoxyCodeLine{00020\ }
\DoxyCodeLine{00021\ \textcolor{preprocessor}{\#ifndef\ \_MW\_SRVC\_RESOLVE\_H}}
\DoxyCodeLine{00022\ \textcolor{preprocessor}{\#define\ \_MW\_SRVC\_RESOLVE\_H}}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00024\ }
\DoxyCodeLine{00025\ \textcolor{preprocessor}{\#include\ <glib.h>}}
\DoxyCodeLine{00026\ }
\DoxyCodeLine{00027\ }
\DoxyCodeLine{00028\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00029\ \textcolor{keyword}{extern}\ \textcolor{stringliteral}{"{}C"{}}\ \{}
\DoxyCodeLine{00030\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00031\ }
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00034\ \textcolor{preprocessor}{\#define\ mwService\_RESOLVE\ \ 0x00000015}}
\DoxyCodeLine{00035\ }
\DoxyCodeLine{00036\ }
\DoxyCodeLine{00038\ \textcolor{preprocessor}{\#define\ SEARCH\_ERROR\ \ 0x00}}
\DoxyCodeLine{00039\ }
\DoxyCodeLine{00040\ }
\DoxyCodeLine{00043\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwServiceResolve}{mwServiceResolve}};}
\DoxyCodeLine{00044\ }
\DoxyCodeLine{00045\ }
\DoxyCodeLine{00046\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__srvc__resolve_8h_a58431b16fa3147bd28b20f4d8e046bbb}{mwResolveFlag}}\ \{}
\DoxyCodeLine{00048\ \ \ \mbox{\hyperlink{mw__srvc__resolve_8h_a58431b16fa3147bd28b20f4d8e046bbba115c168258bfa096e531592fbdf898b1}{mwResolveFlag\_UNIQUE}}\ \ \ \ =\ 0x00000001,}
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00051\ \ \ \mbox{\hyperlink{mw__srvc__resolve_8h_a58431b16fa3147bd28b20f4d8e046bbbaadf46498d1a53c57cd0492dd639eb979}{mwResolveFlag\_FIRST}}\ \ \ \ \ =\ 0x00000002,}
\DoxyCodeLine{00052\ }
\DoxyCodeLine{00054\ \ \ \mbox{\hyperlink{mw__srvc__resolve_8h_a58431b16fa3147bd28b20f4d8e046bbba2d89a6687296226e99cf10d103e98937}{mwResolveFlag\_ALL\_DIRS}}\ \ =\ 0x00000004,}
\DoxyCodeLine{00055\ }
\DoxyCodeLine{00057\ \ \ \mbox{\hyperlink{mw__srvc__resolve_8h_a58431b16fa3147bd28b20f4d8e046bbbaaf2857a1f0eafa23d3c1b2b4b46f136a}{mwResolveFlag\_USERS}}\ \ \ \ \ =\ 0x00000008,}
\DoxyCodeLine{00058\ }
\DoxyCodeLine{00060\ \ \ \mbox{\hyperlink{mw__srvc__resolve_8h_a58431b16fa3147bd28b20f4d8e046bbbadb90560d6d73e2b2d04d2c6ace65d4e7}{mwResolveFlag\_GROUPS}}\ \ \ \ =\ 0x00000010,}
\DoxyCodeLine{00061\ \};}
\DoxyCodeLine{00062\ }
\DoxyCodeLine{00063\ }
\DoxyCodeLine{00065\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__srvc__resolve_8h_a901802d0ba547de6e2bbc51e7f8c961e}{mwResolveCode}}\ \{}
\DoxyCodeLine{00067\ \ \ \mbox{\hyperlink{mw__srvc__resolve_8h_a901802d0ba547de6e2bbc51e7f8c961ea52b065bd666703cdaae31c230e852679}{mwResolveCode\_SUCCESS}}\ \ \ \ \ =\ 0x00000000,}
\DoxyCodeLine{00068\ }
\DoxyCodeLine{00070\ \ \ \mbox{\hyperlink{mw__srvc__resolve_8h_a901802d0ba547de6e2bbc51e7f8c961ea59051750774c2af1a16af178e4a63772}{mwResolveCode\_PARTIAL}}\ \ \ \ \ =\ 0x00010000,}
\DoxyCodeLine{00071\ }
\DoxyCodeLine{00074\ \ \ \mbox{\hyperlink{mw__srvc__resolve_8h_a901802d0ba547de6e2bbc51e7f8c961ea2e3a8627f18371c9706af74e4d0f3ef7}{mwResolveCode\_MULTIPLE}}\ \ \ \ =\ 0x80020000,}
\DoxyCodeLine{00075\ }
\DoxyCodeLine{00077\ \ \ \mbox{\hyperlink{mw__srvc__resolve_8h_a901802d0ba547de6e2bbc51e7f8c961ea274747836537e0153801c07a7526fff2}{mwResolveCode\_BAD\_FORMAT}}\ \ =\ 0x80030000,}
\DoxyCodeLine{00078\ \};}
\DoxyCodeLine{00079\ }
\DoxyCodeLine{00080\ }
\DoxyCodeLine{00081\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__srvc__resolve_8h_a97de48c2ed31a8dd2155de1543a41591}{mwResolveMatchType}}\ \{}
\DoxyCodeLine{00082\ \ \ \mbox{\hyperlink{mw__srvc__resolve_8h_a97de48c2ed31a8dd2155de1543a41591aceb17ee67694939b111d1a35000a63c3}{mwResolveMatch\_USER}}\ \ \ =\ 0x00000001,}
\DoxyCodeLine{00083\ \ \ \mbox{\hyperlink{mw__srvc__resolve_8h_a97de48c2ed31a8dd2155de1543a41591a208dda549a0228435744b5474dd142e6}{mwResolveMatch\_GROUP}}\ \ =\ 0x00000002,}
\DoxyCodeLine{00084\ \};}
\DoxyCodeLine{00085\ }
\DoxyCodeLine{00086\ }
\DoxyCodeLine{00087\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwResolveMatch}{mwResolveMatch}}\ \{}
\DoxyCodeLine{00088\ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structmwResolveMatch_a545c470ba6285f98eb59e5a33aca3e65}{id}};\ \ \ \ \ \ }
\DoxyCodeLine{00089\ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structmwResolveMatch_a0565999113451b9b49aae9bdae53643c}{name}};\ \ \ \ }
\DoxyCodeLine{00090\ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structmwResolveMatch_ac5feea68842e2ef0a4d927c03e847807}{desc}};\ \ \ \ }
\DoxyCodeLine{00091\ \ \ guint32\ \mbox{\hyperlink{structmwResolveMatch_af772b7a9845b14f661eaeb01c60365ae}{type}};\ \ }
\DoxyCodeLine{00092\ \};}
\DoxyCodeLine{00093\ }
\DoxyCodeLine{00094\ }
\DoxyCodeLine{00095\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwResolveResult}{mwResolveResult}}\ \{}
\DoxyCodeLine{00096\ \ \ guint32\ \mbox{\hyperlink{structmwResolveResult_a03cc6b9199944c9cdc4b5846a4d76fdc}{code}};\ \ \ \ }
\DoxyCodeLine{00097\ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structmwResolveResult_a9c8296a096ead70186242b2651fb7746}{name}};\ \ \ \ \ \ }
\DoxyCodeLine{00098\ \ \ GList\ *\mbox{\hyperlink{structmwResolveResult_a805ee433c84b8e47fcb273b62ca86a85}{matches}};\ \ }
\DoxyCodeLine{00099\ \};}
\DoxyCodeLine{00100\ }
\DoxyCodeLine{00101\ }
\DoxyCodeLine{00112\ \textcolor{keyword}{typedef}\ void\ (*\mbox{\hyperlink{mw__srvc__resolve_8h_a12ffcedcf3f40aaeb19b6ced2defc7b0}{mwResolveHandler}})}
\DoxyCodeLine{00113\ \ \ \ \ \ (\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwServiceResolve}{mwServiceResolve}}\ *srvc,}
\DoxyCodeLine{00114\ \ \ \ \ \ \ guint32\ id,\ guint32\ code,\ GList\ *results,}
\DoxyCodeLine{00115\ \ \ \ \ \ \ gpointer\ data);}
\DoxyCodeLine{00116\ }
\DoxyCodeLine{00117\ }
\DoxyCodeLine{00119\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwServiceResolve}{mwServiceResolve}}\ *\mbox{\hyperlink{mw__srvc__resolve_8h_a28245c66b2ef982361ac15bee78a7e04}{mwServiceResolve\_new}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *);}
\DoxyCodeLine{00120\ }
\DoxyCodeLine{00121\ }
\DoxyCodeLine{00132\ guint32\ \mbox{\hyperlink{mw__srvc__resolve_8h_ac3417bb30fa92f4e6897fb5b71f8ba65}{mwServiceResolve\_resolve}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwServiceResolve}{mwServiceResolve}}\ *srvc,}
\DoxyCodeLine{00133\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ GList\ *queries,\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__srvc__resolve_8h_a58431b16fa3147bd28b20f4d8e046bbb}{mwResolveFlag}}\ flags,}
\DoxyCodeLine{00134\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \mbox{\hyperlink{mw__srvc__resolve_8h_a12ffcedcf3f40aaeb19b6ced2defc7b0}{mwResolveHandler}}\ handler,}
\DoxyCodeLine{00135\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ gpointer\ data,\ GDestroyNotify\ cleanup);}
\DoxyCodeLine{00136\ }
\DoxyCodeLine{00137\ }
\DoxyCodeLine{00141\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__srvc__resolve_8h_ab0158070e293d0d6a4f7aeac84130add}{mwServiceResolve\_cancelResolve}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwServiceResolve}{mwServiceResolve}}\ *,\ guint32);}
\DoxyCodeLine{00142\ }
\DoxyCodeLine{00143\ }
\DoxyCodeLine{00144\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00145\ \}}
\DoxyCodeLine{00146\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00147\ }
\DoxyCodeLine{00148\ }
\DoxyCodeLine{00149\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ \_MW\_SRVC\_RESOLVE\_H\ */}\textcolor{preprocessor}{}}

\end{DoxyCode}
