\hypertarget{mw__srvc__place_8h}{
\section{mw\_\-srvc\_\-place.h File Reference}
\label{mw__srvc__place_8h}\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}}
}


{\tt \#include $<$glib/glist.h$>$}\par
{\tt \#include \char`\"{}mw\_\-common.h\char`\"{}}\par
\subsection*{Data Structures}
\begin{CompactItemize}
\item 
struct \hyperlink{structmwPlaceHandler}{mwPlaceHandler}
\end{CompactItemize}
\subsection*{Defines}
\begin{CompactItemize}
\item 
\#define \hyperlink{mw__srvc__place_8h_a2d05cd3fe7df4945b715d811c498ad8}{mwService\_\-PLACE}~0x80000022
\begin{CompactList}\small\item\em Type identifier for the place service. \item\end{CompactList}\end{CompactItemize}
\subsection*{Enumerations}
\begin{CompactItemize}
\item 
enum \hyperlink{mw__srvc__place_8h_641a8aa1f1e74d54a701515ddb623202}{mwPlacePeerAttribute} \{ \hyperlink{mw__srvc__place_8h_641a8aa1f1e74d54a701515ddb623202e505c7470e6c1f72a8f9763bd220bbc7}{mwPlacePeer\_\-TYPING} =  0x00000008
 \}
\end{CompactItemize}
\subsection*{Functions}
\begin{CompactItemize}
\item 
int \hyperlink{mw__srvc__place_8h_17afba05e45ac4caba9af23ac2f8e5ef}{mwPlace\_\-destroy} (struct \hyperlink{structmwPlace}{mwPlace} $\ast$place, guint32 code)
\item 
gpointer \hyperlink{mw__srvc__place_8h_726769751109c02115ba7f2b92ac04fb}{mwPlace\_\-getClientData} (struct \hyperlink{structmwPlace}{mwPlace} $\ast$place)
\item 
GList $\ast$ \hyperlink{mw__srvc__place_8h_1e8c6ea0ca2947e5fe0b16461f67864a}{mwPlace\_\-getMembers} (struct \hyperlink{structmwPlace}{mwPlace} $\ast$place)
\begin{CompactList}\small\item\em returns a GList$\ast$ of struct mwIdBlock$\ast$. \item\end{CompactList}\item 
const char $\ast$ \hyperlink{mw__srvc__place_8h_92b949deef5e2e7ec0a2a064eaafd6dd}{mwPlace\_\-getName} (struct \hyperlink{structmwPlace}{mwPlace} $\ast$place)
\item 
struct \hyperlink{structmwServicePlace}{mwServicePlace} $\ast$ \hyperlink{mw__srvc__place_8h_202317db370141f93af43fc2dcb1a81e}{mwPlace\_\-getService} (struct \hyperlink{structmwPlace}{mwPlace} $\ast$place)
\item 
const char $\ast$ \hyperlink{mw__srvc__place_8h_526b170a3bad31c8123695915a34b223}{mwPlace\_\-getTitle} (struct \hyperlink{structmwPlace}{mwPlace} $\ast$place)
\item 
int \hyperlink{mw__srvc__place_8h_4d0072b46b88afa47a31e2dbe5fdfe80}{mwPlace\_\-legacyInvite} (struct \hyperlink{structmwPlace}{mwPlace} $\ast$place, struct \hyperlink{structmwIdBlock}{mwIdBlock} $\ast$idb, const char $\ast$message)
\begin{CompactList}\small\item\em send a legacy invitation for this place to a user. \item\end{CompactList}\item 
struct \hyperlink{structmwPlace}{mwPlace} $\ast$ \hyperlink{mw__srvc__place_8h_9821f461ed646e24bc86dcf646b70e5a}{mwPlace\_\-new} (struct \hyperlink{structmwServicePlace}{mwServicePlace} $\ast$srvc, const char $\ast$name, const char $\ast$title)
\item 
int \hyperlink{mw__srvc__place_8h_9612fb3dbdb42aef20c9611b26ab4f75}{mwPlace\_\-open} (struct \hyperlink{structmwPlace}{mwPlace} $\ast$place)
\item 
void \hyperlink{mw__srvc__place_8h_31cc96fd4c9b51e88b003b6940bf5ef9}{mwPlace\_\-removeClientData} (struct \hyperlink{structmwPlace}{mwPlace} $\ast$place)
\item 
int \hyperlink{mw__srvc__place_8h_1ca7be3df69cd815187ae263e610a8ed}{mwPlace\_\-sendText} (struct \hyperlink{structmwPlace}{mwPlace} $\ast$place, const char $\ast$msg)
\item 
int \hyperlink{mw__srvc__place_8h_a2191b75a58cf17645d6b27ca2ad0139}{mwPlace\_\-setAttribute} (struct \hyperlink{structmwPlace}{mwPlace} $\ast$place, guint32 attrib, struct \hyperlink{structmwOpaque}{mwOpaque} $\ast$data)
\item 
void \hyperlink{mw__srvc__place_8h_7d826998d48f782d65ff1780072383c4}{mwPlace\_\-setClientData} (struct \hyperlink{structmwPlace}{mwPlace} $\ast$place, gpointer data, GDestroyNotify clean)
\item 
int \hyperlink{mw__srvc__place_8h_828cdc19fca2e22f5a39be2daa6caf5b}{mwPlace\_\-unsetAttribute} (struct \hyperlink{structmwPlace}{mwPlace} $\ast$place, guint32 attrib)
\item 
struct \hyperlink{structmwPlaceHandler}{mwPlaceHandler} $\ast$ \hyperlink{mw__srvc__place_8h_b5b2003790c1c52f4bc6500deb3ea2d8}{mwServicePlace\_\-getHandler} (struct \hyperlink{structmwServicePlace}{mwServicePlace} $\ast$srvc)
\item 
const GList $\ast$ \hyperlink{mw__srvc__place_8h_7fd0832172398f16ab17430e159769e5}{mwServicePlace\_\-getPlaces} (struct \hyperlink{structmwServicePlace}{mwServicePlace} $\ast$srvc)
\item 
struct \hyperlink{structmwServicePlace}{mwServicePlace} $\ast$ \hyperlink{mw__srvc__place_8h_b13ae87f464e1b543a6c1f30c5d99b00}{mwServicePlace\_\-new} (struct \hyperlink{structmwSession}{mwSession} $\ast$\hyperlink{structmwService_0c2badd2256155b2bee149fa4b57b7d6}{session}, struct \hyperlink{structmwPlaceHandler}{mwPlaceHandler} $\ast$handler)
\end{CompactItemize}


\subsection{Define Documentation}
\hypertarget{mw__srvc__place_8h_a2d05cd3fe7df4945b715d811c498ad8}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwService\_\-PLACE@{mwService\_\-PLACE}}
\index{mwService\_\-PLACE@{mwService\_\-PLACE}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}\#define mwService\_\-PLACE~0x80000022}}
\label{mw__srvc__place_8h_a2d05cd3fe7df4945b715d811c498ad8}


Type identifier for the place service. 



\subsection{Enumeration Type Documentation}
\hypertarget{mw__srvc__place_8h_641a8aa1f1e74d54a701515ddb623202}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwPlacePeerAttribute@{mwPlacePeerAttribute}}
\index{mwPlacePeerAttribute@{mwPlacePeerAttribute}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}enum {\bf mwPlacePeerAttribute}}}
\label{mw__srvc__place_8h_641a8aa1f1e74d54a701515ddb623202}


\begin{Desc}
\item[Enumerator: ]\par
\begin{description}
\index{mwPlacePeer\_\-TYPING@{mwPlacePeer\_\-TYPING}!mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}}\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwPlacePeer\_\-TYPING@{mwPlacePeer\_\-TYPING}}\item[{\em 
\hypertarget{mw__srvc__place_8h_641a8aa1f1e74d54a701515ddb623202e505c7470e6c1f72a8f9763bd220bbc7}{
mwPlacePeer\_\-TYPING}
\label{mw__srvc__place_8h_641a8aa1f1e74d54a701515ddb623202e505c7470e6c1f72a8f9763bd220bbc7}
}]\end{description}
\end{Desc}



\subsection{Function Documentation}
\hypertarget{mw__srvc__place_8h_17afba05e45ac4caba9af23ac2f8e5ef}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwPlace\_\-destroy@{mwPlace\_\-destroy}}
\index{mwPlace\_\-destroy@{mwPlace\_\-destroy}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int mwPlace\_\-destroy (struct {\bf mwPlace} $\ast$ {\em place}, \/  guint32 {\em code})}}
\label{mw__srvc__place_8h_17afba05e45ac4caba9af23ac2f8e5ef}


\hypertarget{mw__srvc__place_8h_726769751109c02115ba7f2b92ac04fb}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwPlace\_\-getClientData@{mwPlace\_\-getClientData}}
\index{mwPlace\_\-getClientData@{mwPlace\_\-getClientData}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}gpointer mwPlace\_\-getClientData (struct {\bf mwPlace} $\ast$ {\em place})}}
\label{mw__srvc__place_8h_726769751109c02115ba7f2b92ac04fb}


\hypertarget{mw__srvc__place_8h_1e8c6ea0ca2947e5fe0b16461f67864a}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwPlace\_\-getMembers@{mwPlace\_\-getMembers}}
\index{mwPlace\_\-getMembers@{mwPlace\_\-getMembers}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}GList$\ast$ mwPlace\_\-getMembers (struct {\bf mwPlace} $\ast$ {\em place})}}
\label{mw__srvc__place_8h_1e8c6ea0ca2947e5fe0b16461f67864a}


returns a GList$\ast$ of struct mwIdBlock$\ast$. 

The GList will need to be freed after use, the \hyperlink{structmwIdBlock}{mwIdBlock} structures should not be modified or freed \hypertarget{mw__srvc__place_8h_92b949deef5e2e7ec0a2a064eaafd6dd}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwPlace\_\-getName@{mwPlace\_\-getName}}
\index{mwPlace\_\-getName@{mwPlace\_\-getName}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ mwPlace\_\-getName (struct {\bf mwPlace} $\ast$ {\em place})}}
\label{mw__srvc__place_8h_92b949deef5e2e7ec0a2a064eaafd6dd}


\hypertarget{mw__srvc__place_8h_202317db370141f93af43fc2dcb1a81e}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwPlace\_\-getService@{mwPlace\_\-getService}}
\index{mwPlace\_\-getService@{mwPlace\_\-getService}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}struct {\bf mwServicePlace}$\ast$ mwPlace\_\-getService (struct {\bf mwPlace} $\ast$ {\em place})\hspace{0.3cm}{\tt  \mbox{[}read\mbox{]}}}}
\label{mw__srvc__place_8h_202317db370141f93af43fc2dcb1a81e}


\hypertarget{mw__srvc__place_8h_526b170a3bad31c8123695915a34b223}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwPlace\_\-getTitle@{mwPlace\_\-getTitle}}
\index{mwPlace\_\-getTitle@{mwPlace\_\-getTitle}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const char$\ast$ mwPlace\_\-getTitle (struct {\bf mwPlace} $\ast$ {\em place})}}
\label{mw__srvc__place_8h_526b170a3bad31c8123695915a34b223}


\hypertarget{mw__srvc__place_8h_4d0072b46b88afa47a31e2dbe5fdfe80}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwPlace\_\-legacyInvite@{mwPlace\_\-legacyInvite}}
\index{mwPlace\_\-legacyInvite@{mwPlace\_\-legacyInvite}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int mwPlace\_\-legacyInvite (struct {\bf mwPlace} $\ast$ {\em place}, \/  struct {\bf mwIdBlock} $\ast$ {\em idb}, \/  const char $\ast$ {\em message})}}
\label{mw__srvc__place_8h_4d0072b46b88afa47a31e2dbe5fdfe80}


send a legacy invitation for this place to a user. 

The user will receive an apparent invitation from a Conference (rather than a Place) \hypertarget{mw__srvc__place_8h_9821f461ed646e24bc86dcf646b70e5a}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwPlace\_\-new@{mwPlace\_\-new}}
\index{mwPlace\_\-new@{mwPlace\_\-new}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}struct {\bf mwPlace}$\ast$ mwPlace\_\-new (struct {\bf mwServicePlace} $\ast$ {\em srvc}, \/  const char $\ast$ {\em name}, \/  const char $\ast$ {\em title})\hspace{0.3cm}{\tt  \mbox{[}read\mbox{]}}}}
\label{mw__srvc__place_8h_9821f461ed646e24bc86dcf646b70e5a}


\hypertarget{mw__srvc__place_8h_9612fb3dbdb42aef20c9611b26ab4f75}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwPlace\_\-open@{mwPlace\_\-open}}
\index{mwPlace\_\-open@{mwPlace\_\-open}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int mwPlace\_\-open (struct {\bf mwPlace} $\ast$ {\em place})}}
\label{mw__srvc__place_8h_9612fb3dbdb42aef20c9611b26ab4f75}


\hypertarget{mw__srvc__place_8h_31cc96fd4c9b51e88b003b6940bf5ef9}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwPlace\_\-removeClientData@{mwPlace\_\-removeClientData}}
\index{mwPlace\_\-removeClientData@{mwPlace\_\-removeClientData}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void mwPlace\_\-removeClientData (struct {\bf mwPlace} $\ast$ {\em place})}}
\label{mw__srvc__place_8h_31cc96fd4c9b51e88b003b6940bf5ef9}


\hypertarget{mw__srvc__place_8h_1ca7be3df69cd815187ae263e610a8ed}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwPlace\_\-sendText@{mwPlace\_\-sendText}}
\index{mwPlace\_\-sendText@{mwPlace\_\-sendText}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int mwPlace\_\-sendText (struct {\bf mwPlace} $\ast$ {\em place}, \/  const char $\ast$ {\em msg})}}
\label{mw__srvc__place_8h_1ca7be3df69cd815187ae263e610a8ed}


\hypertarget{mw__srvc__place_8h_a2191b75a58cf17645d6b27ca2ad0139}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwPlace\_\-setAttribute@{mwPlace\_\-setAttribute}}
\index{mwPlace\_\-setAttribute@{mwPlace\_\-setAttribute}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int mwPlace\_\-setAttribute (struct {\bf mwPlace} $\ast$ {\em place}, \/  guint32 {\em attrib}, \/  struct {\bf mwOpaque} $\ast$ {\em data})}}
\label{mw__srvc__place_8h_a2191b75a58cf17645d6b27ca2ad0139}


\hypertarget{mw__srvc__place_8h_7d826998d48f782d65ff1780072383c4}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwPlace\_\-setClientData@{mwPlace\_\-setClientData}}
\index{mwPlace\_\-setClientData@{mwPlace\_\-setClientData}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}void mwPlace\_\-setClientData (struct {\bf mwPlace} $\ast$ {\em place}, \/  gpointer {\em data}, \/  GDestroyNotify {\em clean})}}
\label{mw__srvc__place_8h_7d826998d48f782d65ff1780072383c4}


\hypertarget{mw__srvc__place_8h_828cdc19fca2e22f5a39be2daa6caf5b}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwPlace\_\-unsetAttribute@{mwPlace\_\-unsetAttribute}}
\index{mwPlace\_\-unsetAttribute@{mwPlace\_\-unsetAttribute}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}int mwPlace\_\-unsetAttribute (struct {\bf mwPlace} $\ast$ {\em place}, \/  guint32 {\em attrib})}}
\label{mw__srvc__place_8h_828cdc19fca2e22f5a39be2daa6caf5b}


\hypertarget{mw__srvc__place_8h_b5b2003790c1c52f4bc6500deb3ea2d8}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwServicePlace\_\-getHandler@{mwServicePlace\_\-getHandler}}
\index{mwServicePlace\_\-getHandler@{mwServicePlace\_\-getHandler}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}struct {\bf mwPlaceHandler}$\ast$ mwServicePlace\_\-getHandler (struct {\bf mwServicePlace} $\ast$ {\em srvc})\hspace{0.3cm}{\tt  \mbox{[}read\mbox{]}}}}
\label{mw__srvc__place_8h_b5b2003790c1c52f4bc6500deb3ea2d8}


\hypertarget{mw__srvc__place_8h_7fd0832172398f16ab17430e159769e5}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwServicePlace\_\-getPlaces@{mwServicePlace\_\-getPlaces}}
\index{mwServicePlace\_\-getPlaces@{mwServicePlace\_\-getPlaces}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}const GList$\ast$ mwServicePlace\_\-getPlaces (struct {\bf mwServicePlace} $\ast$ {\em srvc})}}
\label{mw__srvc__place_8h_7fd0832172398f16ab17430e159769e5}


\hypertarget{mw__srvc__place_8h_b13ae87f464e1b543a6c1f30c5d99b00}{
\index{mw\_\-srvc\_\-place.h@{mw\_\-srvc\_\-place.h}!mwServicePlace\_\-new@{mwServicePlace\_\-new}}
\index{mwServicePlace\_\-new@{mwServicePlace\_\-new}!mw_srvc_place.h@{mw\_\-srvc\_\-place.h}}
\subsubsection{\setlength{\rightskip}{0pt plus 5cm}struct {\bf mwServicePlace}$\ast$ mwServicePlace\_\-new (struct {\bf mwSession} $\ast$ {\em session}, \/  struct {\bf mwPlaceHandler} $\ast$ {\em handler})\hspace{0.3cm}{\tt  \mbox{[}read\mbox{]}}}}
\label{mw__srvc__place_8h_b13ae87f464e1b543a6c1f30c5d99b00}


