\doxysection{mw\+\_\+service.\+h}
\hypertarget{mw__service_8h_source}{}\label{mw__service_8h_source}\index{mw\_service.h@{mw\_service.h}}
\mbox{\hyperlink{mw__service_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\_SERVICE\_H}}
\DoxyCodeLine{00022\ \textcolor{preprocessor}{\#define\ \_MW\_SERVICE\_H}}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00024\ }
\DoxyCodeLine{00025\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{mw__common_8h}{mw\_common.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{00033\ \textcolor{comment}{/*\ place-\/holders\ */}}
\DoxyCodeLine{00034\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwChannel}{mwChannel}};}
\DoxyCodeLine{00035\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwService}{mwService}};}
\DoxyCodeLine{00036\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwSession}{mwSession}};}
\DoxyCodeLine{00037\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgChannelCreate}{mwMsgChannelCreate}};}
\DoxyCodeLine{00038\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgChannelAccept}{mwMsgChannelAccept}};}
\DoxyCodeLine{00039\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgChannelDestroy}{mwMsgChannelDestroy}};}
\DoxyCodeLine{00040\ }
\DoxyCodeLine{00041\ }
\DoxyCodeLine{00043\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__service_8h_a7ce6ac62b951a443c05f541c8ace90a9}{mwServiceState}}\ \{}
\DoxyCodeLine{00044\ \ \ \mbox{\hyperlink{mw__service_8h_a7ce6ac62b951a443c05f541c8ace90a9a3e645546696ee1e12383795826d8f2c2}{mwServiceState\_STOPPED}},\ \ \ }
\DoxyCodeLine{00045\ \ \ \mbox{\hyperlink{mw__service_8h_a7ce6ac62b951a443c05f541c8ace90a9a1381383b88d69d1b4b147999f7d2e9e4}{mwServiceState\_STOPPING}},\ \ }
\DoxyCodeLine{00046\ \ \ \mbox{\hyperlink{mw__service_8h_a7ce6ac62b951a443c05f541c8ace90a9ac1d80a3975accbe424d43855eae9ba96}{mwServiceState\_STARTED}},\ \ \ }
\DoxyCodeLine{00047\ \ \ \mbox{\hyperlink{mw__service_8h_a7ce6ac62b951a443c05f541c8ace90a9a5d370240ae109e408d7a79dab0006765}{mwServiceState\_STARTING}},\ \ }
\DoxyCodeLine{00048\ \ \ \mbox{\hyperlink{mw__service_8h_a7ce6ac62b951a443c05f541c8ace90a9a6dd6d02356710ebc0ad952e634bf69db}{mwServiceState\_ERROR}},\ \ \ \ \ }
\DoxyCodeLine{00049\ \ \ \mbox{\hyperlink{mw__service_8h_a7ce6ac62b951a443c05f541c8ace90a9acd926c48397703e396b556448c23ce12}{mwServiceState\_UNKNOWN}},\ \ \ }
\DoxyCodeLine{00050\ \};}
\DoxyCodeLine{00051\ }
\DoxyCodeLine{00052\ }
\DoxyCodeLine{00054\ \textcolor{preprocessor}{\#define\ MW\_SERVICE(srv)\ ((struct\ mwService\ *)\ srv)}}
\DoxyCodeLine{00055\ }
\DoxyCodeLine{00056\ }
\DoxyCodeLine{00057\ \textcolor{preprocessor}{\#define\ MW\_SERVICE\_IS\_STATE(srvc,\ state)\ \(\backslash\)}}
\DoxyCodeLine{00058\ \textcolor{preprocessor}{\ \ (mwService\_getState(MW\_SERVICE(srvc))\ ==\ (state))}}
\DoxyCodeLine{00059\ }
\DoxyCodeLine{00060\ \textcolor{preprocessor}{\#define\ MW\_SERVICE\_IS\_STOPPED(srvc)\ \ \(\backslash\)}}
\DoxyCodeLine{00061\ \textcolor{preprocessor}{\ \ MW\_SERVICE\_IS\_STATE(srvc,\ mwServiceState\_STOPPED)}}
\DoxyCodeLine{00062\ }
\DoxyCodeLine{00063\ \textcolor{preprocessor}{\#define\ MW\_SERVICE\_IS\_STOPPING(srvc)\ \(\backslash\)}}
\DoxyCodeLine{00064\ \textcolor{preprocessor}{\ \ MW\_SERVICE\_IS\_STATE(srvc,\ mwServiceState\_STOPPING)}}
\DoxyCodeLine{00065\ }
\DoxyCodeLine{00066\ \textcolor{preprocessor}{\#define\ MW\_SERVICE\_IS\_STARTED(srvc)\ \ \(\backslash\)}}
\DoxyCodeLine{00067\ \textcolor{preprocessor}{\ \ MW\_SERVICE\_IS\_STATE(srvc,\ mwServiceState\_STARTED)}}
\DoxyCodeLine{00068\ }
\DoxyCodeLine{00069\ \textcolor{preprocessor}{\#define\ MW\_SERVICE\_IS\_STARTING(srvc)\ \(\backslash\)}}
\DoxyCodeLine{00070\ \textcolor{preprocessor}{\ \ MW\_SERVICE\_IS\_STATE(srvc,\ mwServiceState\_STARTING)}}
\DoxyCodeLine{00071\ }
\DoxyCodeLine{00072\ }
\DoxyCodeLine{00074\ \textcolor{preprocessor}{\#define\ MW\_SERVICE\_IS\_LIVE(srvc)\ \(\backslash\)}}
\DoxyCodeLine{00075\ \textcolor{preprocessor}{\ \ (MW\_SERVICE\_IS\_STARTING(srvc)\ ||\ MW\_SERVICE\_IS\_STARTED(srvc))}}
\DoxyCodeLine{00076\ }
\DoxyCodeLine{00078\ \textcolor{preprocessor}{\#define\ MW\_SERVICE\_IS\_DEAD(srvc)\ \(\backslash\)}}
\DoxyCodeLine{00079\ \textcolor{preprocessor}{\ \ (MW\_SERVICE\_IS\_STOPPING(srvc)\ ||\ MW\_SERVICE\_IS\_STOPPED(srvc))}}
\DoxyCodeLine{00080\ }
\DoxyCodeLine{00081\ }
\DoxyCodeLine{00082\ \textcolor{keyword}{typedef}\ void\ (*\mbox{\hyperlink{mw__service_8h_a124a98a47f33dddacbf0cd4515758101}{mwService\_funcStart}})(\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwService}{mwService}}\ *service);}
\DoxyCodeLine{00083\ }
\DoxyCodeLine{00084\ \textcolor{keyword}{typedef}\ void\ (*\mbox{\hyperlink{mw__service_8h_a39ab636f567096ea2872a814498910a9}{mwService\_funcStop}})(\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwService}{mwService}}\ *service);}
\DoxyCodeLine{00085\ }
\DoxyCodeLine{00086\ \textcolor{keyword}{typedef}\ void\ (*\mbox{\hyperlink{mw__service_8h_a026b1781d28ceb433d871d52c52e0ec8}{mwService\_funcClear}})(\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwService}{mwService}}\ *service);}
\DoxyCodeLine{00087\ }
\DoxyCodeLine{00088\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *(*mwService\_funcGetName)(\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwService}{mwService}}\ *service);}
\DoxyCodeLine{00089\ }
\DoxyCodeLine{00090\ \textcolor{keyword}{typedef}\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *(*mwService\_funcGetDesc)(\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwService}{mwService}}\ *service);}
\DoxyCodeLine{00091\ }
\DoxyCodeLine{00093\ \textcolor{keyword}{typedef}\ void\ (*\mbox{\hyperlink{mw__service_8h_addd91fef17d6dd1d683123167cf62a4e}{mwService\_funcRecvCreate}})}
\DoxyCodeLine{00094\ \ \ \ \ \ (\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwService}{mwService}}\ *service,}
\DoxyCodeLine{00095\ \ \ \ \ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwChannel}{mwChannel}}\ *channel,}
\DoxyCodeLine{00096\ \ \ \ \ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgChannelCreate}{mwMsgChannelCreate}}\ *msg);}
\DoxyCodeLine{00097\ }
\DoxyCodeLine{00099\ \textcolor{keyword}{typedef}\ void\ (*\mbox{\hyperlink{mw__service_8h_a74ac1ad00e83b368fca4e00d1a2af599}{mwService\_funcRecvAccept}})}
\DoxyCodeLine{00100\ \ \ \ \ \ (\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwService}{mwService}}\ *service,}
\DoxyCodeLine{00101\ \ \ \ \ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwChannel}{mwChannel}}\ *channel,}
\DoxyCodeLine{00102\ \ \ \ \ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgChannelAccept}{mwMsgChannelAccept}}\ *msg);}
\DoxyCodeLine{00103\ }
\DoxyCodeLine{00105\ \textcolor{keyword}{typedef}\ void\ (*\mbox{\hyperlink{mw__service_8h_aaff9b6cb951faacf0ca4bf681905908c}{mwService\_funcRecvDestroy}})}
\DoxyCodeLine{00106\ \ \ \ \ \ (\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwService}{mwService}}\ *service,}
\DoxyCodeLine{00107\ \ \ \ \ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwChannel}{mwChannel}}\ *channel,}
\DoxyCodeLine{00108\ \ \ \ \ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgChannelDestroy}{mwMsgChannelDestroy}}\ *msg);}
\DoxyCodeLine{00109\ }
\DoxyCodeLine{00110\ \textcolor{keyword}{typedef}\ void\ (*\mbox{\hyperlink{mw__service_8h_a744a25867aff3ec461330a02ddaa3478}{mwService\_funcRecv}})}
\DoxyCodeLine{00111\ \ \ \ \ \ (\textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwService}{mwService}}\ *service,}
\DoxyCodeLine{00112\ \ \ \ \ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwChannel}{mwChannel}}\ *channel,}
\DoxyCodeLine{00113\ \ \ \ \ \ \ guint16\ msg\_type,}
\DoxyCodeLine{00114\ \ \ \ \ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ *\mbox{\hyperlink{structmwOpaque_a5b825ce89e8c20605d70ad593f57684e}{data}});}
\DoxyCodeLine{00115\ }
\DoxyCodeLine{00116\ }
\DoxyCodeLine{00123\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwService}{mwService}}\ \{}
\DoxyCodeLine{00124\ }
\DoxyCodeLine{00128\ \ \ guint32\ \mbox{\hyperlink{structmwService_ad2d3325c80ad007b9cf0e7ac8c7ec63f}{type}};}
\DoxyCodeLine{00129\ }
\DoxyCodeLine{00135\ \ \ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__service_8h_a7ce6ac62b951a443c05f541c8ace90a9}{mwServiceState}}\ \mbox{\hyperlink{structmwService_ab5adc0f5a0cbeddaece7a4512ec66099}{state}};}
\DoxyCodeLine{00136\ }
\DoxyCodeLine{00139\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwSession}{mwSession}}\ *\mbox{\hyperlink{structmwService_a0c2badd2256155b2bee149fa4b57b7d6}{session}};}
\DoxyCodeLine{00140\ }
\DoxyCodeLine{00143\ \ \ \mbox{\hyperlink{mw__service_8h_abfd12e44e8eb177a857379eaabc9515c}{mwService\_funcGetName}}\ \mbox{\hyperlink{structmwService_a5e0242406b28deb224c76bf1ff9084bc}{get\_name}};}
\DoxyCodeLine{00144\ }
\DoxyCodeLine{00147\ \ \ \mbox{\hyperlink{mw__service_8h_a23401b51378988e2f7add826a99952d0}{mwService\_funcGetDesc}}\ \mbox{\hyperlink{structmwService_a2bcd80250a76d4deb90761c5253c5b98}{get\_desc}};}
\DoxyCodeLine{00148\ }
\DoxyCodeLine{00154\ \ \ \mbox{\hyperlink{mw__service_8h_addd91fef17d6dd1d683123167cf62a4e}{mwService\_funcRecvCreate}}\ \mbox{\hyperlink{structmwService_ab203804ec5846ff3f14646d43c85f058}{recv\_create}};}
\DoxyCodeLine{00155\ }
\DoxyCodeLine{00161\ \ \ \mbox{\hyperlink{mw__service_8h_a74ac1ad00e83b368fca4e00d1a2af599}{mwService\_funcRecvAccept}}\ \mbox{\hyperlink{structmwService_a9dfbe087438b6061cc7e7f72e0e5e86f}{recv\_accept}};}
\DoxyCodeLine{00162\ }
\DoxyCodeLine{00168\ \ \ \mbox{\hyperlink{mw__service_8h_aaff9b6cb951faacf0ca4bf681905908c}{mwService\_funcRecvDestroy}}\ \mbox{\hyperlink{structmwService_a60154d557db64b36a988befdca631fa4}{recv\_destroy}};}
\DoxyCodeLine{00169\ }
\DoxyCodeLine{00174\ \ \ \mbox{\hyperlink{mw__service_8h_a744a25867aff3ec461330a02ddaa3478}{mwService\_funcRecv}}\ \mbox{\hyperlink{structmwService_aaac0e0bd9612b24dcf64de5cb72fe304}{recv}};}
\DoxyCodeLine{00175\ }
\DoxyCodeLine{00180\ \ \ \mbox{\hyperlink{mw__service_8h_a124a98a47f33dddacbf0cd4515758101}{mwService\_funcStart}}\ \mbox{\hyperlink{structmwService_abc050a99570b3255eb3822dbe8d70a9b}{start}};}
\DoxyCodeLine{00181\ }
\DoxyCodeLine{00186\ \ \ \mbox{\hyperlink{mw__service_8h_a39ab636f567096ea2872a814498910a9}{mwService\_funcStop}}\ \mbox{\hyperlink{structmwService_a4d237f5966d8c4b7ef92c8e0bbd82a20}{stop}};}
\DoxyCodeLine{00187\ \ \ }
\DoxyCodeLine{00195\ \ \ \mbox{\hyperlink{mw__service_8h_a026b1781d28ceb433d871d52c52e0ec8}{mwService\_funcClear}}\ \mbox{\hyperlink{structmwService_a9b86cc0545150a4fde3ab3060e803e58}{clear}};}
\DoxyCodeLine{00196\ }
\DoxyCodeLine{00201\ \ \ gpointer\ \mbox{\hyperlink{structmwService_a0029f74d1a50227dc5d89f1f1caa35e7}{client\_data}};}
\DoxyCodeLine{00202\ }
\DoxyCodeLine{00208\ \ \ GDestroyNotify\ \mbox{\hyperlink{structmwService_ad8baae0714a14f4a89f224296e83c332}{client\_cleanup}};}
\DoxyCodeLine{00209\ \};}
\DoxyCodeLine{00210\ }
\DoxyCodeLine{00211\ }
\DoxyCodeLine{00216\ }
\DoxyCodeLine{00217\ }
\DoxyCodeLine{00228\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__service_8h_a977c751125e97fb60dc212c57f03ed6e}{mwService\_init}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *service,}
\DoxyCodeLine{00229\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *session,}
\DoxyCodeLine{00230\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ guint32\ service\_type);}
\DoxyCodeLine{00231\ }
\DoxyCodeLine{00232\ }
\DoxyCodeLine{00235\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__service_8h_afbb26101bfdd8ab4df279dd907a2510a}{mwService\_started}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *service);}
\DoxyCodeLine{00236\ }
\DoxyCodeLine{00237\ }
\DoxyCodeLine{00240\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__service_8h_ab361f3df95b1611961ab0ec4ac69eddf}{mwService\_stopped}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *service);}
\DoxyCodeLine{00241\ }
\DoxyCodeLine{00242\ }
\DoxyCodeLine{00244\ }
\DoxyCodeLine{00245\ }
\DoxyCodeLine{00251\ }
\DoxyCodeLine{00252\ }
\DoxyCodeLine{00258\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__service_8h_a826ac106b94fc7d4dd8b7efcc70d5355}{mwService\_recvCreate}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *service,}
\DoxyCodeLine{00259\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *channel,}
\DoxyCodeLine{00260\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwMsgChannelCreate}{mwMsgChannelCreate}}\ *msg);}
\DoxyCodeLine{00261\ }
\DoxyCodeLine{00262\ }
\DoxyCodeLine{00268\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__service_8h_ad07b444814007f616441021b02b29e0b}{mwService\_recvAccept}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *service,}
\DoxyCodeLine{00269\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *channel,}
\DoxyCodeLine{00270\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwMsgChannelAccept}{mwMsgChannelAccept}}\ *msg);}
\DoxyCodeLine{00271\ }
\DoxyCodeLine{00272\ }
\DoxyCodeLine{00278\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__service_8h_aaf155b961ad4fbf55cb8b593ec29dc60}{mwService\_recvDestroy}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *service,}
\DoxyCodeLine{00279\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *channel,}
\DoxyCodeLine{00280\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwMsgChannelDestroy}{mwMsgChannelDestroy}}\ *msg);}
\DoxyCodeLine{00281\ }
\DoxyCodeLine{00282\ }
\DoxyCodeLine{00289\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__service_8h_adae02fc3d770260deed3e04387145e44}{mwService\_recv}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *service,}
\DoxyCodeLine{00290\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *channel,}
\DoxyCodeLine{00291\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ guint16\ msg\_type,}
\DoxyCodeLine{00292\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ *data);}
\DoxyCodeLine{00293\ }
\DoxyCodeLine{00294\ }
\DoxyCodeLine{00296\ guint32\ \mbox{\hyperlink{mw__service_8h_a86b61f33fc9a9484c8f7c3177deeb004}{mwService\_getType}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *);}
\DoxyCodeLine{00297\ }
\DoxyCodeLine{00298\ }
\DoxyCodeLine{00300\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{mw__service_8h_ad29a8ff211ad033fd9f4ced75bc1857a}{mwService\_getName}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *);}
\DoxyCodeLine{00301\ }
\DoxyCodeLine{00302\ }
\DoxyCodeLine{00304\ \textcolor{keyword}{const}\ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{mw__service_8h_a9f496dda96b83904851dc7607cd074e2}{mwService\_getDesc}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *);}
\DoxyCodeLine{00305\ }
\DoxyCodeLine{00306\ }
\DoxyCodeLine{00308\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwSession}{mwSession}}\ *\mbox{\hyperlink{mw__service_8h_aaca7537036f96f87e3818e45f170b7bc}{mwService\_getSession}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *service);}
\DoxyCodeLine{00309\ }
\DoxyCodeLine{00310\ }
\DoxyCodeLine{00313\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__service_8h_a7ce6ac62b951a443c05f541c8ace90a9}{mwServiceState}}\ \mbox{\hyperlink{mw__service_8h_a80be3d5c087a5c5bfdf23174e00d1af0}{mwService\_getState}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *service);}
\DoxyCodeLine{00314\ }
\DoxyCodeLine{00315\ }
\DoxyCodeLine{00323\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__service_8h_a177f564b1ed8f8544ab5089d7e4afbb0}{mwService\_start}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *service);}
\DoxyCodeLine{00324\ }
\DoxyCodeLine{00325\ }
\DoxyCodeLine{00332\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__service_8h_af591d13a2ef57d42b63947dcae6faa5f}{mwService\_stop}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *service);}
\DoxyCodeLine{00333\ }
\DoxyCodeLine{00334\ }
\DoxyCodeLine{00341\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__service_8h_ac8adb7938b9884ad32e4700a4d933668}{mwService\_free}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *service);}
\DoxyCodeLine{00342\ }
\DoxyCodeLine{00343\ }
\DoxyCodeLine{00348\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__service_8h_a7c3e0cdcb6631cb0da3b79572fdc5c95}{mwService\_setClientData}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *service,}
\DoxyCodeLine{00349\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ gpointer\ data,\ GDestroyNotify\ cleanup);}
\DoxyCodeLine{00350\ }
\DoxyCodeLine{00351\ }
\DoxyCodeLine{00353\ gpointer\ \mbox{\hyperlink{mw__service_8h_a94ab61559c154ad55b5038830b77d9bd}{mwService\_getClientData}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *service);}
\DoxyCodeLine{00354\ }
\DoxyCodeLine{00355\ }
\DoxyCodeLine{00358\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__service_8h_a115153000304eccc772c0313da5dd5dd}{mwService\_removeClientData}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *service);}
\DoxyCodeLine{00359\ }
\DoxyCodeLine{00360\ }
\DoxyCodeLine{00362\ }
\DoxyCodeLine{00363\ }
\DoxyCodeLine{00364\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00365\ \}}
\DoxyCodeLine{00366\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00367\ }
\DoxyCodeLine{00368\ }
\DoxyCodeLine{00369\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ \_MW\_SERVICE\_H\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00370\ }

\end{DoxyCode}
