\doxysection{mw\+\_\+session.\+h}
\hypertarget{mw__session_8h_source}{}\label{mw__session_8h_source}\index{mw\_session.h@{mw\_session.h}}
\mbox{\hyperlink{mw__session_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\_SESSION\_H}}
\DoxyCodeLine{00022\ \textcolor{preprocessor}{\#define\ \_MW\_SESSION\_H}}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00024\ }
\DoxyCodeLine{00045\ }
\DoxyCodeLine{00046\ }
\DoxyCodeLine{00047\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{mw__common_8h}{mw\_common.h}}"{}}}
\DoxyCodeLine{00048\ }
\DoxyCodeLine{00049\ }
\DoxyCodeLine{00050\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00051\ \textcolor{keyword}{extern}\ \textcolor{stringliteral}{"{}C"{}}\ \{}
\DoxyCodeLine{00052\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00053\ }
\DoxyCodeLine{00054\ }
\DoxyCodeLine{00055\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwChannelSet}{mwChannelSet}};}
\DoxyCodeLine{00056\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwCipher}{mwCipher}};}
\DoxyCodeLine{00057\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}};}
\DoxyCodeLine{00058\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwService}{mwService}};}
\DoxyCodeLine{00059\ }
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00062\ \textcolor{preprocessor}{\#define\ MW\_PROTOCOL\_VERSION\_MAJOR\ \ 0x001e}}
\DoxyCodeLine{00063\ }
\DoxyCodeLine{00064\ }
\DoxyCodeLine{00066\ \textcolor{preprocessor}{\#define\ MW\_PROTOCOL\_VERSION\_MINOR\ \ 0x001d}}
\DoxyCodeLine{00067\ }
\DoxyCodeLine{00068\ }
\DoxyCodeLine{00073\ }
\DoxyCodeLine{00075\ \textcolor{preprocessor}{\#define\ mwSession\_AUTH\_USER\_ID\ \ \ \ \ \ "{}session.auth.user"{}}}
\DoxyCodeLine{00076\ }
\DoxyCodeLine{00078\ \textcolor{preprocessor}{\#define\ mwSession\_AUTH\_PASSWORD\ \ \ \ \ "{}session.auth.password"{}}}
\DoxyCodeLine{00079\ }
\DoxyCodeLine{00081\ \textcolor{preprocessor}{\#define\ mwSession\_AUTH\_TOKEN\ \ \ \ \ \ \ \ "{}session.auth.token"{}}}
\DoxyCodeLine{00082\ }
\DoxyCodeLine{00084\ \textcolor{preprocessor}{\#define\ mwSession\_CLIENT\_HOST\ \ \ \ \ \ \ "{}client.host"{}}}
\DoxyCodeLine{00085\ }
\DoxyCodeLine{00087\ \textcolor{preprocessor}{\#define\ mwSession\_CLIENT\_IP\ \ \ \ \ \ \ \ \ "{}client.ip"{}}}
\DoxyCodeLine{00088\ }
\DoxyCodeLine{00090\ \textcolor{preprocessor}{\#define\ mwSession\_CLIENT\_VER\_MAJOR\ \ "{}client.version.major"{}}}
\DoxyCodeLine{00091\ }
\DoxyCodeLine{00093\ \textcolor{preprocessor}{\#define\ mwSession\_CLIENT\_VER\_MINOR\ \ "{}client.version.minor"{}}}
\DoxyCodeLine{00094\ }
\DoxyCodeLine{00096\ \textcolor{preprocessor}{\#define\ mwSession\_CLIENT\_TYPE\_ID\ \ \ \ "{}client.id"{}}}
\DoxyCodeLine{00097\ }
\DoxyCodeLine{00099\ \textcolor{preprocessor}{\#define\ mwSession\_SERVER\_VER\_MAJOR\ \ "{}server.version.major"{}}}
\DoxyCodeLine{00100\ }
\DoxyCodeLine{00102\ \textcolor{preprocessor}{\#define\ mwSession\_SERVER\_VER\_MINOR\ \ "{}server.version.minor"{}}}
\DoxyCodeLine{00103\ }
\DoxyCodeLine{00105\ }
\DoxyCodeLine{00106\ }
\DoxyCodeLine{00107\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__session_8h_af27bba1d2fcb53358371c0eca6c57a8f}{mwSessionState}}\ \{}
\DoxyCodeLine{00108\ \ \ \mbox{\hyperlink{mw__session_8h_af27bba1d2fcb53358371c0eca6c57a8fa9830cfccaba808c30bf7bc124878c121}{mwSession\_STARTING}},\ \ \ \ \ \ }
\DoxyCodeLine{00109\ \ \ \mbox{\hyperlink{mw__session_8h_af27bba1d2fcb53358371c0eca6c57a8fa2ac4bf847cbc46277a3c73839934243a}{mwSession\_HANDSHAKE}},\ \ \ \ \ }
\DoxyCodeLine{00110\ \ \ \mbox{\hyperlink{mw__session_8h_af27bba1d2fcb53358371c0eca6c57a8fa994478c24dcd42f57063fab313fdd8f0}{mwSession\_HANDSHAKE\_ACK}},\ }
\DoxyCodeLine{00111\ \ \ \mbox{\hyperlink{mw__session_8h_af27bba1d2fcb53358371c0eca6c57a8fad13ae235c70756d58e86a5d3fa0a9fd7}{mwSession\_LOGIN}},\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00112\ \ \ \mbox{\hyperlink{mw__session_8h_af27bba1d2fcb53358371c0eca6c57a8fa6fba5e714829218cff2bcf8990429c84}{mwSession\_LOGIN\_REDIR}},\ \ \ }
\DoxyCodeLine{00113\ \ \ \mbox{\hyperlink{mw__session_8h_af27bba1d2fcb53358371c0eca6c57a8fa13304078f2f7c7899a3e6ff8b0d43e10}{mwSession\_LOGIN\_ACK}},\ \ \ \ \ }
\DoxyCodeLine{00114\ \ \ \mbox{\hyperlink{mw__session_8h_af27bba1d2fcb53358371c0eca6c57a8fa6204d52622b541dd60cd40e004d2118d}{mwSession\_STARTED}},\ \ \ \ \ \ \ }
\DoxyCodeLine{00115\ \ \ \mbox{\hyperlink{mw__session_8h_af27bba1d2fcb53358371c0eca6c57a8fab710bf16db3e1f29f773c6bf70ee9ee9}{mwSession\_STOPPING}},\ \ \ \ \ \ }
\DoxyCodeLine{00116\ \ \ \mbox{\hyperlink{mw__session_8h_af27bba1d2fcb53358371c0eca6c57a8fa69035e27489f79b82d9ef3c7b9514706}{mwSession\_STOPPED}},\ \ \ \ \ \ \ }
\DoxyCodeLine{00117\ \ \ \mbox{\hyperlink{mw__session_8h_af27bba1d2fcb53358371c0eca6c57a8fabd45e4568ae4b047f7c90b1aeb57c580}{mwSession\_UNKNOWN}},\ \ \ \ \ \ \ }
\DoxyCodeLine{00118\ \ \ \mbox{\hyperlink{mw__session_8h_af27bba1d2fcb53358371c0eca6c57a8fa44286972a65354abfc208e0a5c922ccb}{mwSession\_LOGIN\_CONT}},\ \ \ \ }
\DoxyCodeLine{00119\ \};}
\DoxyCodeLine{00120\ }
\DoxyCodeLine{00121\ }
\DoxyCodeLine{00122\ \textcolor{preprocessor}{\#define\ mwSession\_isState(session,\ state)\ \(\backslash\)}}
\DoxyCodeLine{00123\ \textcolor{preprocessor}{\ \ (mwSession\_getState((session))\ ==\ (state))}}
\DoxyCodeLine{00124\ }
\DoxyCodeLine{00125\ \textcolor{preprocessor}{\#define\ mwSession\_isStarting(s)\ \(\backslash\)}}
\DoxyCodeLine{00126\ \textcolor{preprocessor}{\ \ (mwSession\_isState((s),\ mwSession\_STARTING)\ \ ||\ \(\backslash\)}}
\DoxyCodeLine{00127\ \textcolor{preprocessor}{\ \ \ mwSession\_isState((s),\ mwSession\_HANDSHAKE)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00128\ \textcolor{preprocessor}{\ \ \ mwSession\_isState((s),\ mwSession\_HANDSHAKE\_ACK)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00129\ \textcolor{preprocessor}{\ \ \ mwSession\_isState((s),\ mwSession\_LOGIN)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00130\ \textcolor{preprocessor}{\ \ \ mwSession\_isState((s),\ mwSession\_LOGIN\_ACK)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00131\ \textcolor{preprocessor}{\ \ \ mwSession\_isState((s),\ mwSession\_LOGIN\_REDIR)\ ||\ \(\backslash\)}}
\DoxyCodeLine{00132\ \textcolor{preprocessor}{\ \ \ mwSession\_isState((s),\ mwSession\_LOGIN\_CONT))}}
\DoxyCodeLine{00133\ }
\DoxyCodeLine{00134\ \textcolor{preprocessor}{\#define\ mwSession\_isStarted(s)\ \(\backslash\)}}
\DoxyCodeLine{00135\ \textcolor{preprocessor}{\ \ (mwSession\_isState((s),\ mwSession\_STARTED))}}
\DoxyCodeLine{00136\ }
\DoxyCodeLine{00137\ \textcolor{preprocessor}{\#define\ mwSession\_isStopping(s)\ \(\backslash\)}}
\DoxyCodeLine{00138\ \textcolor{preprocessor}{\ \ (mwSession\_isState((s),\ mwSession\_STOPPING))}}
\DoxyCodeLine{00139\ }
\DoxyCodeLine{00140\ \textcolor{preprocessor}{\#define\ mwSession\_isStopped(s)\ \(\backslash\)}}
\DoxyCodeLine{00141\ \textcolor{preprocessor}{\ \ (mwSession\_isState((s),\ mwSession\_STOPPED))}}
\DoxyCodeLine{00142\ }
\DoxyCodeLine{00143\ }
\DoxyCodeLine{00147\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwSession}{mwSession}};}
\DoxyCodeLine{00148\ }
\DoxyCodeLine{00149\ }
\DoxyCodeLine{00154\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwSessionHandler}{mwSessionHandler}}\ \{}
\DoxyCodeLine{00155\ \ \ }
\DoxyCodeLine{00158\ \ \ int\ (*\mbox{\hyperlink{structmwSessionHandler_a9e36153e642ec8e5c47502172288abd0}{io\_write}})(\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwSession}{mwSession}}\ *,\ \textcolor{keyword}{const}\ guchar\ *buf,\ gsize\ len);}
\DoxyCodeLine{00159\ \ \ }
\DoxyCodeLine{00161\ \ \ void\ (*\mbox{\hyperlink{structmwSessionHandler_a846ffbcb6de5e47ccd1b013e8a55aec6}{io\_close}})(\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwSession}{mwSession}}\ *);}
\DoxyCodeLine{00162\ }
\DoxyCodeLine{00164\ \ \ void\ (*\mbox{\hyperlink{structmwSessionHandler_aa88b275b623ac2b0b72e1b77a5205c07}{clear}})(\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwSession}{mwSession}}\ *);}
\DoxyCodeLine{00165\ }
\DoxyCodeLine{00173\ \ \ void\ (*\mbox{\hyperlink{structmwSessionHandler_a769f4b8077aac6e154547b194147e037}{on\_stateChange}})(\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwSession}{mwSession}}\ *s,}
\DoxyCodeLine{00174\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__session_8h_af27bba1d2fcb53358371c0eca6c57a8f}{mwSessionState}}\ state,\ gpointer\ info);}
\DoxyCodeLine{00175\ }
\DoxyCodeLine{00180\ \ \ void\ (*\mbox{\hyperlink{structmwSessionHandler_ace0c94acef85320785a75f8a8d582c52}{on\_setPrivacyInfo}})(\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwSession}{mwSession}}\ *);}
\DoxyCodeLine{00181\ }
\DoxyCodeLine{00185\ \ \ void\ (*\mbox{\hyperlink{structmwSessionHandler_abdaf83db7841763e254b392f01eb26e7}{on\_setUserStatus}})(\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwSession}{mwSession}}\ *);}
\DoxyCodeLine{00186\ }
\DoxyCodeLine{00188\ \ \ void\ (*\mbox{\hyperlink{structmwSessionHandler_ae8c5f832e22ac4a451290afa7b9e0bc9}{on\_admin}})(\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwSession}{mwSession}}\ *,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *text);}
\DoxyCodeLine{00189\ }
\DoxyCodeLine{00191\ \ \ void\ (*\mbox{\hyperlink{structmwSessionHandler_ada29bbfca164eafb635f4f5321faaa98}{on\_announce}})(\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwSession}{mwSession}}\ *,\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwLoginInfo}{mwLoginInfo}}\ *from,}
\DoxyCodeLine{00192\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ gboolean\ may\_reply,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *text);}
\DoxyCodeLine{00193\ }
\DoxyCodeLine{00194\ \};}
\DoxyCodeLine{00195\ }
\DoxyCodeLine{00196\ }
\DoxyCodeLine{00198\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwSession}{mwSession}}\ *\mbox{\hyperlink{mw__session_8h_a453d7e10da829df202476ee1181f398b}{mwSession\_new}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSessionHandler}{mwSessionHandler}}\ *);}
\DoxyCodeLine{00199\ }
\DoxyCodeLine{00200\ }
\DoxyCodeLine{00203\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__session_8h_a15f227dac0e09d26e5d51647741d02c1}{mwSession\_free}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *);}
\DoxyCodeLine{00204\ }
\DoxyCodeLine{00205\ }
\DoxyCodeLine{00207\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwSessionHandler}{mwSessionHandler}}\ *\mbox{\hyperlink{mw__session_8h_a0adeca0c3211c4a5c2d29e5243d0bd2b}{mwSession\_getHandler}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *);}
\DoxyCodeLine{00208\ }
\DoxyCodeLine{00209\ }
\DoxyCodeLine{00212\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__session_8h_a1c3e5aac455c0594e21b02a379395513}{mwSession\_start}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *);}
\DoxyCodeLine{00213\ }
\DoxyCodeLine{00214\ }
\DoxyCodeLine{00217\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__session_8h_aca902e9266e244ff9ae2a325a7a655ba}{mwSession\_stop}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *,\ guint32\ reason);}
\DoxyCodeLine{00218\ }
\DoxyCodeLine{00219\ }
\DoxyCodeLine{00222\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__session_8h_a69261eefd22f97f6fd453ca0507cff9e}{mwSession\_recv}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *,\ \textcolor{keyword}{const}\ guchar\ *,\ gsize);}
\DoxyCodeLine{00223\ }
\DoxyCodeLine{00224\ }
\DoxyCodeLine{00229\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{mw__session_8h_a547ba5e8411854dfdcc4fd1b992c7da8}{mwSession\_send}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *s,\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwMessage}{mwMessage}}\ *msg);}
\DoxyCodeLine{00230\ }
\DoxyCodeLine{00231\ }
\DoxyCodeLine{00233\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{mw__session_8h_a76937609f785aa1830fddd58c5995477}{mwSession\_sendKeepalive}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *s);}
\DoxyCodeLine{00234\ }
\DoxyCodeLine{00235\ }
\DoxyCodeLine{00238\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{mw__session_8h_a0d942b183a0657122fd511816cde0aae}{mwSession\_forceLogin}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *s);}
\DoxyCodeLine{00239\ }
\DoxyCodeLine{00240\ }
\DoxyCodeLine{00251\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{mw__session_8h_ab4bb651abfc49566be231bfa082f9d01}{mwSession\_sendAnnounce}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *s,\ gboolean\ may\_reply,}
\DoxyCodeLine{00252\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *text,\ \textcolor{keyword}{const}\ GList\ *recipients);}
\DoxyCodeLine{00253\ }
\DoxyCodeLine{00254\ }
\DoxyCodeLine{00257\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{mw__session_8h_af0073cb84869b5e61a2eae4eccf265d4}{mwSession\_setPrivacyInfo}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *,\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwPrivacyInfo}{mwPrivacyInfo}}\ *);}
\DoxyCodeLine{00258\ }
\DoxyCodeLine{00259\ }
\DoxyCodeLine{00261\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwPrivacyInfo}{mwPrivacyInfo}}\ *\mbox{\hyperlink{mw__session_8h_ad2a75bcd8561bf074b5249436e2491e2}{mwSession\_getPrivacyInfo}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *);}
\DoxyCodeLine{00262\ }
\DoxyCodeLine{00263\ }
\DoxyCodeLine{00265\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwLoginInfo}{mwLoginInfo}}\ *\mbox{\hyperlink{mw__session_8h_abddf15496f22d42383a7ea54a5504b99}{mwSession\_getLoginInfo}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *);}
\DoxyCodeLine{00266\ }
\DoxyCodeLine{00267\ }
\DoxyCodeLine{00270\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{mw__session_8h_a6fad26d4cfa3dd7bdc1b402ff2ec10d7}{mwSession\_setUserStatus}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *,\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwUserStatus}{mwUserStatus}}\ *);}
\DoxyCodeLine{00271\ }
\DoxyCodeLine{00272\ }
\DoxyCodeLine{00273\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwUserStatus}{mwUserStatus}}\ *\mbox{\hyperlink{mw__session_8h_ac28587924853a59ca5b4ab35721086dd}{mwSession\_getUserStatus}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *);}
\DoxyCodeLine{00274\ }
\DoxyCodeLine{00275\ }
\DoxyCodeLine{00277\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__session_8h_af27bba1d2fcb53358371c0eca6c57a8f}{mwSessionState}}\ \mbox{\hyperlink{mw__session_8h_ac98375b3bdde1fcb6f7576376495ad09}{mwSession\_getState}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *);}
\DoxyCodeLine{00278\ }
\DoxyCodeLine{00279\ }
\DoxyCodeLine{00292\ gpointer\ \mbox{\hyperlink{mw__session_8h_a4ccd4606756bf065c52ed31d59fb4482}{mwSession\_getStateInfo}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *);}
\DoxyCodeLine{00293\ }
\DoxyCodeLine{00294\ }
\DoxyCodeLine{00295\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwChannelSet}{mwChannelSet}}\ *\mbox{\hyperlink{mw__session_8h_ad583ba2fc3d811db589c6ed13e9c8f3a}{mwSession\_getChannels}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *);}
\DoxyCodeLine{00296\ }
\DoxyCodeLine{00297\ }
\DoxyCodeLine{00305\ gboolean\ \mbox{\hyperlink{mw__session_8h_ac6f9b04c3b494dde60ee7dd064370582}{mwSession\_addService}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *,\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *);}
\DoxyCodeLine{00306\ }
\DoxyCodeLine{00307\ }
\DoxyCodeLine{00309\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwService}{mwService}}\ *\mbox{\hyperlink{mw__session_8h_a81c3a48eca25f003f2b0734937263a00}{mwSession\_getService}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *,\ guint32\ \mbox{\hyperlink{structmwService_ad2d3325c80ad007b9cf0e7ac8c7ec63f}{type}});}
\DoxyCodeLine{00310\ }
\DoxyCodeLine{00311\ }
\DoxyCodeLine{00315\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwService}{mwService}}\ *\mbox{\hyperlink{mw__session_8h_af62de883c2a6dccfcb217d4ea1935a35}{mwSession\_removeService}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *,\ guint32\ \mbox{\hyperlink{structmwService_ad2d3325c80ad007b9cf0e7ac8c7ec63f}{type}});}
\DoxyCodeLine{00316\ }
\DoxyCodeLine{00317\ }
\DoxyCodeLine{00320\ GList\ *\mbox{\hyperlink{mw__session_8h_ae87e57b8cdeabbc3ccdb8fd0b90ce4db}{mwSession\_getServices}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *);}
\DoxyCodeLine{00321\ }
\DoxyCodeLine{00322\ }
\DoxyCodeLine{00335\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__session_8h_a7c2770250f36c6c2cc3b8a857a5e42db}{mwSession\_senseService}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *s,\ guint32\ \mbox{\hyperlink{structmwService_ad2d3325c80ad007b9cf0e7ac8c7ec63f}{type}});}
\DoxyCodeLine{00336\ }
\DoxyCodeLine{00337\ }
\DoxyCodeLine{00339\ gboolean\ \mbox{\hyperlink{mw__session_8h_a8f032bd5928aefde5e78976717d2e6fb}{mwSession\_addCipher}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *,\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwCipher}{mwCipher}}\ *);}
\DoxyCodeLine{00340\ }
\DoxyCodeLine{00341\ }
\DoxyCodeLine{00343\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwCipher}{mwCipher}}\ *\mbox{\hyperlink{mw__session_8h_ada42a1efb8aeb6ea1bd05297ed946d5e}{mwSession\_getCipher}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *,\ guint16\ \mbox{\hyperlink{structmwCipher_aa65d8c035878ffd68aa21099a18eb959}{type}});}
\DoxyCodeLine{00344\ }
\DoxyCodeLine{00345\ }
\DoxyCodeLine{00347\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwCipher}{mwCipher}}\ *\mbox{\hyperlink{mw__session_8h_a259917796bb8f1ad384a3b775437db5f}{mwSession\_removeCipher}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *,\ guint16\ \mbox{\hyperlink{structmwCipher_aa65d8c035878ffd68aa21099a18eb959}{type}});}
\DoxyCodeLine{00348\ }
\DoxyCodeLine{00349\ }
\DoxyCodeLine{00352\ GList\ *\mbox{\hyperlink{mw__session_8h_a298e61a2b104c12de907461d1c87d68c}{mwSession\_getCiphers}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *);}
\DoxyCodeLine{00353\ }
\DoxyCodeLine{00354\ }
\DoxyCodeLine{00358\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__session_8h_ad2b99bcf049f9906c7151b7626273b0d}{mwSession\_setProperty}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *key,}
\DoxyCodeLine{00359\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ gpointer\ val,\ GDestroyNotify\ \mbox{\hyperlink{structmwCipher_ac596168beda1893e8da51ada6948d70d}{clear}});}
\DoxyCodeLine{00360\ }
\DoxyCodeLine{00361\ }
\DoxyCodeLine{00363\ gpointer\ \mbox{\hyperlink{mw__session_8h_acc536511205affec12c734efd9735e91}{mwSession\_getProperty}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *key);}
\DoxyCodeLine{00364\ }
\DoxyCodeLine{00365\ }
\DoxyCodeLine{00368\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__session_8h_acd2f1aab5eb04b29e73040069c04a976}{mwSession\_removeProperty}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *,\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *key);}
\DoxyCodeLine{00369\ }
\DoxyCodeLine{00370\ }
\DoxyCodeLine{00379\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__session_8h_ad24576610f20159cf13c6104a1f5c615}{mwSession\_setClientData}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *\mbox{\hyperlink{structmwCipher_aec395dce47a0b5f4779522bd0c1888e2}{session}},}
\DoxyCodeLine{00380\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ gpointer\ data,\ GDestroyNotify\ \mbox{\hyperlink{structmwCipher_ac596168beda1893e8da51ada6948d70d}{clear}});}
\DoxyCodeLine{00381\ }
\DoxyCodeLine{00382\ }
\DoxyCodeLine{00383\ gpointer\ \mbox{\hyperlink{mw__session_8h_a2061173e5b0b7199b7951920a475de22}{mwSession\_getClientData}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *\mbox{\hyperlink{structmwCipher_aec395dce47a0b5f4779522bd0c1888e2}{session}});}
\DoxyCodeLine{00384\ }
\DoxyCodeLine{00385\ }
\DoxyCodeLine{00388\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__session_8h_af5fe774ac33affc9c141c0b30c8c4a7a}{mwSession\_removeClientData}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *\mbox{\hyperlink{structmwCipher_aec395dce47a0b5f4779522bd0c1888e2}{session}});}
\DoxyCodeLine{00389\ }
\DoxyCodeLine{00390\ }
\DoxyCodeLine{00391\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00392\ \}}
\DoxyCodeLine{00393\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00394\ }
\DoxyCodeLine{00395\ }
\DoxyCodeLine{00396\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ \_MW\_SESSION\_H\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00397\ }

\end{DoxyCode}
