\doxysection{mw\+\_\+message.\+h}
\hypertarget{mw__message_8h_source}{}\label{mw__message_8h_source}\index{mw\_message.h@{mw\_message.h}}
\mbox{\hyperlink{mw__message_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\_MESSAGE\_H}}
\DoxyCodeLine{00022\ \textcolor{preprocessor}{\#define\ \_MW\_MESSAGE\_H}}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00024\ }
\DoxyCodeLine{00025\ \textcolor{preprocessor}{\#include\ <glib.h>}}
\DoxyCodeLine{00026\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{mw__common_8h}{mw\_common.h}}"{}}}
\DoxyCodeLine{00027\ }
\DoxyCodeLine{00028\ }
\DoxyCodeLine{00029\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00030\ \textcolor{keyword}{extern}\ \textcolor{stringliteral}{"{}C"{}}\ \{}
\DoxyCodeLine{00031\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00032\ }
\DoxyCodeLine{00033\ }
\DoxyCodeLine{00036\ \textcolor{preprocessor}{\#define\ MW\_MESSAGE(msg)\ (\&msg-\/>head)}}
\DoxyCodeLine{00037\ }
\DoxyCodeLine{00038\ }
\DoxyCodeLine{00040\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__message_8h_a7bce7f736bca2783bbe462c953ac2949}{mwMessageType}}\ \{}
\DoxyCodeLine{00041\ \ \ \mbox{\hyperlink{mw__message_8h_a7bce7f736bca2783bbe462c953ac2949a153688607c3fc134cbfd967d1e20ff74}{mwMessage\_HANDSHAKE}}\ \ \ \ \ \ \ \ \ =\ 0x0000,\ \ }
\DoxyCodeLine{00042\ \ \ \mbox{\hyperlink{mw__message_8h_a7bce7f736bca2783bbe462c953ac2949aaa0a054a32aab5eef398faba6928089d}{mwMessage\_HANDSHAKE\_ACK}}\ \ \ \ \ =\ 0x8000,\ \ }
\DoxyCodeLine{00043\ \ \ \mbox{\hyperlink{mw__message_8h_a7bce7f736bca2783bbe462c953ac2949ab53ea38b2776875a824b822c7c71e8f8}{mwMessage\_LOGIN}}\ \ \ \ \ \ \ \ \ \ \ \ \ =\ 0x0001,\ \ }
\DoxyCodeLine{00044\ \ \ \mbox{\hyperlink{mw__message_8h_a7bce7f736bca2783bbe462c953ac2949a7b55aa921d492c225b0598966bcd5d45}{mwMessage\_LOGIN\_ACK}}\ \ \ \ \ \ \ \ \ =\ 0x8001,\ \ }
\DoxyCodeLine{00045\ \ \ \mbox{\hyperlink{mw__message_8h_a7bce7f736bca2783bbe462c953ac2949a87bc7b61d8ba8f3237770104c1497501}{mwMessage\_LOGIN\_REDIRECT}}\ \ \ \ =\ 0x0018,\ \ }
\DoxyCodeLine{00046\ \ \ \mbox{\hyperlink{mw__message_8h_a7bce7f736bca2783bbe462c953ac2949ac508ff54fd6cb0e85c646bd81ea2a316}{mwMessage\_LOGIN\_CONTINUE}}\ \ \ \ =\ 0x0016,\ \ }
\DoxyCodeLine{00047\ }
\DoxyCodeLine{00048\ \ \ \mbox{\hyperlink{mw__message_8h_a7bce7f736bca2783bbe462c953ac2949a592b2ec2e5ddc1f8a4f0eb3c859a12a6}{mwMessage\_CHANNEL\_CREATE}}\ \ \ \ =\ 0x0002,\ \ }
\DoxyCodeLine{00049\ \ \ \mbox{\hyperlink{mw__message_8h_a7bce7f736bca2783bbe462c953ac2949a79138d2b50cdb848db5f9a9a560a9b79}{mwMessage\_CHANNEL\_DESTROY}}\ \ \ =\ 0x0003,\ \ }
\DoxyCodeLine{00050\ \ \ \mbox{\hyperlink{mw__message_8h_a7bce7f736bca2783bbe462c953ac2949affc27704cfd3d60671c99523c5da9972}{mwMessage\_CHANNEL\_SEND}}\ \ \ \ \ \ =\ 0x0004,\ \ }
\DoxyCodeLine{00051\ \ \ \mbox{\hyperlink{mw__message_8h_a7bce7f736bca2783bbe462c953ac2949a0d828997c0e561ea71793d0586227b23}{mwMessage\_CHANNEL\_ACCEPT}}\ \ \ \ =\ 0x0006,\ \ }
\DoxyCodeLine{00052\ }
\DoxyCodeLine{00053\ \ \ \mbox{\hyperlink{mw__message_8h_a7bce7f736bca2783bbe462c953ac2949aa44c5ad6a60abbd82e38efe8d2d7caa5}{mwMessage\_SET\_USER\_STATUS}}\ \ \ =\ 0x0009,\ \ }
\DoxyCodeLine{00054\ \ \ \mbox{\hyperlink{mw__message_8h_a7bce7f736bca2783bbe462c953ac2949ac738082bf05a63638dcf24c99b1c60c0}{mwMessage\_SET\_PRIVACY\_LIST}}\ \ =\ 0x000b,\ \ }
\DoxyCodeLine{00055\ \ \ \mbox{\hyperlink{mw__message_8h_a7bce7f736bca2783bbe462c953ac2949a7790d9d6205172c7cfe9ba6d365e5434}{mwMessage\_SENSE\_SERVICE}}\ \ \ \ \ =\ 0x0011,\ \ }
\DoxyCodeLine{00056\ \ \ \mbox{\hyperlink{mw__message_8h_a7bce7f736bca2783bbe462c953ac2949a6ad30a764ca2b14045ab22e940ce2fe3}{mwMessage\_ADMIN}}\ \ \ \ \ \ \ \ \ \ \ \ \ =\ 0x0019,\ \ }
\DoxyCodeLine{00057\ \ \ \mbox{\hyperlink{mw__message_8h_a7bce7f736bca2783bbe462c953ac2949aaac3b404adb68bb0d7ed2e0c4d691540}{mwMessage\_ANNOUNCE}}\ \ \ \ \ \ \ \ \ \ =\ 0x0022,\ \ }
\DoxyCodeLine{00058\ \};}
\DoxyCodeLine{00059\ }
\DoxyCodeLine{00060\ }
\DoxyCodeLine{00061\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__message_8h_a600afdfadebb9d20827cef17756f0fae}{mwMessageOption}}\ \{}
\DoxyCodeLine{00062\ \ \ \mbox{\hyperlink{mw__message_8h_a600afdfadebb9d20827cef17756f0faeabd68ef5475779bfef1249150fe300591}{mwMessageOption\_ENCRYPT}}\ \ \ \ \ \ =\ 0x4000,\ \ }
\DoxyCodeLine{00063\ \ \ \mbox{\hyperlink{mw__message_8h_a600afdfadebb9d20827cef17756f0faea875724a2b0308b46cb90d15bc28fa499}{mwMessageOption\_HAS\_ATTRIBS}}\ \ =\ 0x8000,\ \ }
\DoxyCodeLine{00064\ \};}
\DoxyCodeLine{00065\ }
\DoxyCodeLine{00066\ }
\DoxyCodeLine{00068\ \textcolor{preprocessor}{\#define\ MW\_MESSAGE\_HAS\_OPTION(msg,\ opt)\ \(\backslash\)}}
\DoxyCodeLine{00069\ \textcolor{preprocessor}{\ \ ((msg)-\/>options\ \&\ (opt))}}
\DoxyCodeLine{00070\ }
\DoxyCodeLine{00071\ }
\DoxyCodeLine{00072\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ \{}
\DoxyCodeLine{00073\ \ \ guint16\ \mbox{\hyperlink{structmwMessage_a40a5de4c44fd059eb6b35f183d6f3d7c}{type}};\ \ \ \ \ }
\DoxyCodeLine{00074\ \ \ guint16\ \mbox{\hyperlink{structmwMessage_a66d093ca00a96e5cc27c7cb74a359000}{options}};\ \ }
\DoxyCodeLine{00075\ \ \ guint32\ \mbox{\hyperlink{structmwMessage_abfafbeda0c7021282bbfa78f42a7916d}{channel}};\ \ }
\DoxyCodeLine{00076\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ \mbox{\hyperlink{structmwMessage_a3154d0fc3825fbb9897fcb843ad6f055}{attribs}};\ \ }
\DoxyCodeLine{00077\ \};}
\DoxyCodeLine{00078\ }
\DoxyCodeLine{00079\ }
\DoxyCodeLine{00080\ }
\DoxyCodeLine{00082\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ *\mbox{\hyperlink{mw__message_8h_acb3ffa4eb0f43c443b31152a06d5efce}{mwMessage\_new}}(\textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__message_8h_a7bce7f736bca2783bbe462c953ac2949}{mwMessageType}}\ \mbox{\hyperlink{structmwMessage_a40a5de4c44fd059eb6b35f183d6f3d7c}{type}});}
\DoxyCodeLine{00083\ }
\DoxyCodeLine{00084\ }
\DoxyCodeLine{00086\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ *\mbox{\hyperlink{mw__message_8h_a55e9f5b84fe1726c81781fedf2955725}{mwMessage\_get}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwGetBuffer}{mwGetBuffer}}\ *b);}
\DoxyCodeLine{00087\ }
\DoxyCodeLine{00088\ }
\DoxyCodeLine{00089\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__message_8h_a254cbc94eb016531692f3fb5d88e2213}{mwMessage\_put}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwPutBuffer}{mwPutBuffer}}\ *b,\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwMessage}{mwMessage}}\ *msg);}
\DoxyCodeLine{00090\ }
\DoxyCodeLine{00091\ }
\DoxyCodeLine{00092\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__message_8h_a8eeaf5eb424fbcc82ee3982b8ac7171c}{mwMessage\_free}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwMessage}{mwMessage}}\ *msg);}
\DoxyCodeLine{00093\ }
\DoxyCodeLine{00094\ }
\DoxyCodeLine{00095\ \textcolor{comment}{/*\ 8.4\ Messages\ */}}
\DoxyCodeLine{00096\ \textcolor{comment}{/*\ 8.4.1\ Basic\ Community\ Messages\ */}}
\DoxyCodeLine{00097\ \textcolor{comment}{/*\ 8.4.1.1\ Handshake\ */}}
\DoxyCodeLine{00098\ }
\DoxyCodeLine{00099\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgHandshake}{mwMsgHandshake}}\ \{}
\DoxyCodeLine{00100\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ \mbox{\hyperlink{structmwMsgHandshake_acb468c1bc70369f12b8d4cd8054e3a9f}{head}};}
\DoxyCodeLine{00101\ \ \ guint16\ \mbox{\hyperlink{structmwMsgHandshake_a9963403a1331ecfb976e4e25d4a3c983}{major}};\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00102\ \ \ guint16\ \mbox{\hyperlink{structmwMsgHandshake_a347a538ce49000c610b3c35fba31bb5d}{minor}};\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00103\ \ \ guint32\ \mbox{\hyperlink{structmwMsgHandshake_a698f8cc58fd8302b8a06188e8a41cdad}{srvrcalc\_addr}};\ \ }
\DoxyCodeLine{00104\ \ \ guint16\ \mbox{\hyperlink{structmwMsgHandshake_ac1376a4b90d119e7848b41fdbb20d483}{login\_type}};\ \ \ \ \ }
\DoxyCodeLine{00105\ \ \ guint32\ \mbox{\hyperlink{structmwMsgHandshake_a62d878887aa0b2d4381bda053db20613}{loclcalc\_addr}};\ \ }
\DoxyCodeLine{00106\ \ \ guint16\ \mbox{\hyperlink{structmwMsgHandshake_acea826bd71c7c87eb7cb46af529255f0}{unknown\_a}};\ \ \ \ \ \ }
\DoxyCodeLine{00107\ \ \ guint32\ \mbox{\hyperlink{structmwMsgHandshake_ac137688c2e09a022c8f6cf2aabdfbd72}{unknown\_b}};\ \ \ \ \ \ }
\DoxyCodeLine{00108\ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structmwMsgHandshake_ac22d44203317a228f1441028bd4bdf0d}{local\_host}};\ \ \ \ \ \ \ }
\DoxyCodeLine{00109\ \};}
\DoxyCodeLine{00110\ }
\DoxyCodeLine{00111\ }
\DoxyCodeLine{00112\ \textcolor{comment}{/*\ 8.4.1.2\ HandshakeAck\ */}}
\DoxyCodeLine{00113\ }
\DoxyCodeLine{00114\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgHandshakeAck}{mwMsgHandshakeAck}}\ \{}
\DoxyCodeLine{00115\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ \mbox{\hyperlink{structmwMsgHandshakeAck_a5a7b164fb6c527c334bf5958145e6d6e}{head}};}
\DoxyCodeLine{00116\ \ \ guint16\ \mbox{\hyperlink{structmwMsgHandshakeAck_a39b7540582ebe42da7b56c96c63a861f}{major}};\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00117\ \ \ guint16\ \mbox{\hyperlink{structmwMsgHandshakeAck_ad6e9922860c17c806a3d187c2b4155b8}{minor}};\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00118\ \ \ guint32\ \mbox{\hyperlink{structmwMsgHandshakeAck_a49fde11a481d44af76910942759b0e36}{srvrcalc\_addr}};\ \ }
\DoxyCodeLine{00119\ \ \ guint32\ \mbox{\hyperlink{structmwMsgHandshakeAck_afe58191f86a983daa995de86fd1a67b1}{magic}};\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00120\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ \mbox{\hyperlink{structmwMsgHandshakeAck_a1b3ee9dd62ed735ef7021c3d76b792f7}{data}};\ \ \ }
\DoxyCodeLine{00121\ \};}
\DoxyCodeLine{00122\ }
\DoxyCodeLine{00123\ }
\DoxyCodeLine{00124\ \textcolor{comment}{/*\ 8.3.7\ Authentication\ Types\ */}}
\DoxyCodeLine{00125\ }
\DoxyCodeLine{00126\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__message_8h_a910bfd3618535759d5e7e5f89274f718}{mwAuthType}}\ \{}
\DoxyCodeLine{00127\ \ \ \mbox{\hyperlink{mw__message_8h_a910bfd3618535759d5e7e5f89274f718ab83b19bd43dbff156212b20895a71a1b}{mwAuthType\_PLAIN}}\ \ \ \ =\ 0x0000,}
\DoxyCodeLine{00128\ \ \ \mbox{\hyperlink{mw__message_8h_a910bfd3618535759d5e7e5f89274f718acf66e986460a8b3b506183f926a86a98}{mwAuthType\_TOKEN}}\ \ \ \ =\ 0x0001,}
\DoxyCodeLine{00129\ \ \ \mbox{\hyperlink{mw__message_8h_a910bfd3618535759d5e7e5f89274f718a45301107f68dbda1ed9d984334a0373b}{mwAuthType\_ENCRYPT}}\ \ =\ 0x0002,\ }
\DoxyCodeLine{00130\ \ \ \mbox{\hyperlink{mw__message_8h_a910bfd3618535759d5e7e5f89274f718a507b31a154f6deebd54721cdf493c900}{mwAuthType\_RC2\_40}}\ \ \ =\ 0x0002,}
\DoxyCodeLine{00131\ \ \ \mbox{\hyperlink{mw__message_8h_a910bfd3618535759d5e7e5f89274f718a62f209ad72b476e0d4d3cc8675370704}{mwAuthType\_RC2\_128}}\ \ =\ 0x0004,}
\DoxyCodeLine{00132\ \};}
\DoxyCodeLine{00133\ }
\DoxyCodeLine{00134\ }
\DoxyCodeLine{00135\ \textcolor{comment}{/*\ 8.4.1.3\ Login\ */}}
\DoxyCodeLine{00136\ }
\DoxyCodeLine{00137\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgLogin}{mwMsgLogin}}\ \{}
\DoxyCodeLine{00138\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ \mbox{\hyperlink{structmwMsgLogin_a2c7ad2dd0ba51e2fe0a705ff39918c67}{head}};}
\DoxyCodeLine{00139\ \ \ guint16\ \mbox{\hyperlink{structmwMsgLogin_ab3dfde3a630b0c860bc73b42d4f8f5ff}{login\_type}};\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00140\ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structmwMsgLogin_abc7a7e64b318522a2e6ed16f20da78f3}{name}};\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00141\ \ \ guint16\ \mbox{\hyperlink{structmwMsgLogin_a1d6e1e62fdd694286a25122dfe19049e}{auth\_type}};\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00142\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ \mbox{\hyperlink{structmwMsgLogin_ac21542de8430a04c92ee7a5f5f1d86a1}{auth\_data}};\ \ }
\DoxyCodeLine{00143\ \};}
\DoxyCodeLine{00144\ }
\DoxyCodeLine{00145\ }
\DoxyCodeLine{00146\ \textcolor{comment}{/*\ 8.4.1.4\ LoginAck\ */}}
\DoxyCodeLine{00147\ }
\DoxyCodeLine{00148\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgLoginAck}{mwMsgLoginAck}}\ \{}
\DoxyCodeLine{00149\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ \mbox{\hyperlink{structmwMsgLoginAck_a63bf7a0d216bda12d7533a4fbe0de339}{head}};}
\DoxyCodeLine{00150\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwLoginInfo}{mwLoginInfo}}\ \mbox{\hyperlink{structmwMsgLoginAck_a28bfb2480d1c20e57b263ca1fc5e0afd}{login}};}
\DoxyCodeLine{00151\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwPrivacyInfo}{mwPrivacyInfo}}\ \mbox{\hyperlink{structmwMsgLoginAck_aa3a5b7aa6be4f8371b11a0572cd6219b}{privacy}};}
\DoxyCodeLine{00152\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwUserStatus}{mwUserStatus}}\ \mbox{\hyperlink{structmwMsgLoginAck_a2427814c3b4668612a8e780c149bc51d}{status}};}
\DoxyCodeLine{00153\ \};}
\DoxyCodeLine{00154\ }
\DoxyCodeLine{00155\ }
\DoxyCodeLine{00156\ \textcolor{comment}{/*\ 8.4.1.5\ LoginCont\ */}}
\DoxyCodeLine{00157\ }
\DoxyCodeLine{00158\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgLoginContinue}{mwMsgLoginContinue}}\ \{}
\DoxyCodeLine{00159\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ \mbox{\hyperlink{structmwMsgLoginContinue_aa652b0ddbc539b667c6991f947f82df1}{head}};}
\DoxyCodeLine{00160\ \};}
\DoxyCodeLine{00161\ }
\DoxyCodeLine{00162\ }
\DoxyCodeLine{00163\ \textcolor{comment}{/*\ 8.4.1.6\ AuthPassed\ */}}
\DoxyCodeLine{00164\ }
\DoxyCodeLine{00165\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgLoginRedirect}{mwMsgLoginRedirect}}\ \{}
\DoxyCodeLine{00166\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ \mbox{\hyperlink{structmwMsgLoginRedirect_a9830a6199f21da31f77ab9398d14a750}{head}};}
\DoxyCodeLine{00167\ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structmwMsgLoginRedirect_a1d17e37702d97e3e591a0a4dce10a0ee}{host}};}
\DoxyCodeLine{00168\ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structmwMsgLoginRedirect_aba54652ac8aec97eed20134c5465fbfa}{server\_id}};}
\DoxyCodeLine{00169\ \};}
\DoxyCodeLine{00170\ }
\DoxyCodeLine{00171\ }
\DoxyCodeLine{00172\ \textcolor{comment}{/*\ 8.4.1.7\ CreateCnl\ */}}
\DoxyCodeLine{00173\ }
\DoxyCodeLine{00175\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwEncryptOffer}{mwEncryptOffer}}\ \{}
\DoxyCodeLine{00176\ \ \ guint16\ \mbox{\hyperlink{structmwEncryptOffer_a53a28ae1cd7003cd4451667c759f2b9d}{mode}};\ \ \ }
\DoxyCodeLine{00177\ \ \ GList\ *\mbox{\hyperlink{structmwEncryptOffer_afaced219de4ac93d324e209809df3d7b}{items}};\ \ \ }
\DoxyCodeLine{00178\ \ \ guint16\ \mbox{\hyperlink{structmwEncryptOffer_a5f32c23720775436847f29a6158a3412}{extra}};\ \ }
\DoxyCodeLine{00179\ \ \ gboolean\ \mbox{\hyperlink{structmwEncryptOffer_af591c0379e5cd65c7ec6866eeba04556}{flag}};\ \ }
\DoxyCodeLine{00180\ \};}
\DoxyCodeLine{00181\ }
\DoxyCodeLine{00182\ }
\DoxyCodeLine{00183\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgChannelCreate}{mwMsgChannelCreate}}\ \{}
\DoxyCodeLine{00184\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ \mbox{\hyperlink{structmwMsgChannelCreate_aa850d18183053d7a2c1de677aa04cdaa}{head}};}
\DoxyCodeLine{00185\ \ \ guint32\ \mbox{\hyperlink{structmwMsgChannelCreate_a13c9eba5fa52b1f1ba3dd644e8f7b32d}{reserved}};\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00186\ \ \ guint32\ \mbox{\hyperlink{structmwMsgChannelCreate_a2a2cc939845396a3d421577295f5f6c4}{channel}};\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00187\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwIdBlock}{mwIdBlock}}\ \mbox{\hyperlink{structmwMsgChannelCreate_a0e23a5ebaaa552add9d107eb66961780}{target}};\ \ }
\DoxyCodeLine{00188\ \ \ guint32\ \mbox{\hyperlink{structmwMsgChannelCreate_a144642fb02132bea58a5860b5577fb9e}{service}};\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00189\ \ \ guint32\ \mbox{\hyperlink{structmwMsgChannelCreate_a4780977e2555850fa8aa2a1050745bb7}{proto\_type}};\ \ \ \ \ \ \ }
\DoxyCodeLine{00190\ \ \ guint32\ \mbox{\hyperlink{structmwMsgChannelCreate_a9b6aa63dba69864ac40a27fbdee70b6d}{proto\_ver}};\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00191\ \ \ guint32\ \mbox{\hyperlink{structmwMsgChannelCreate_a6dfaddd26d304c256942850171273940}{options}};\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00192\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ \mbox{\hyperlink{structmwMsgChannelCreate_aeeeb281f7aa035d67c26c78c9dc51795}{addtl}};\ \ \ \ }
\DoxyCodeLine{00193\ \ \ gboolean\ \mbox{\hyperlink{structmwMsgChannelCreate_ae60462c3578b4c49cf7cc632e8c05f3c}{creator\_flag}};\ \ \ \ }
\DoxyCodeLine{00194\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwLoginInfo}{mwLoginInfo}}\ \mbox{\hyperlink{structmwMsgChannelCreate_ae0ee55408f9d223006ab188ec31806d5}{creator}};}
\DoxyCodeLine{00195\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwEncryptOffer}{mwEncryptOffer}}\ \mbox{\hyperlink{structmwMsgChannelCreate_a8ebf0f54aa06b269ed05087792ec67e2}{encrypt}};}
\DoxyCodeLine{00196\ \};}
\DoxyCodeLine{00197\ }
\DoxyCodeLine{00198\ }
\DoxyCodeLine{00199\ \textcolor{comment}{/*\ 8.4.1.8\ AcceptCnl\ */}}
\DoxyCodeLine{00200\ }
\DoxyCodeLine{00202\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwEncryptAccept}{mwEncryptAccept}}\ \{}
\DoxyCodeLine{00203\ \ \ guint16\ \mbox{\hyperlink{structmwEncryptAccept_ab796127d6442300c8de0eb0411bfaa38}{mode}};\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00204\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwEncryptItem}{mwEncryptItem}}\ *\mbox{\hyperlink{structmwEncryptAccept_ac5cbabac651e03bbec33212d92af6ada}{item}};\ \ }
\DoxyCodeLine{00205\ \ \ guint16\ \mbox{\hyperlink{structmwEncryptAccept_a70932b02a42306ce11e8b8d55d40d73b}{extra}};\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00206\ \ \ gboolean\ \mbox{\hyperlink{structmwEncryptAccept_ab36c11017cf687e4003dd5d689153d9b}{flag}};\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00207\ \};}
\DoxyCodeLine{00208\ }
\DoxyCodeLine{00209\ }
\DoxyCodeLine{00210\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgChannelAccept}{mwMsgChannelAccept}}\ \{}
\DoxyCodeLine{00211\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ \mbox{\hyperlink{structmwMsgChannelAccept_a6493647d82b9b2f3b9fc8484db5dbd72}{head}};}
\DoxyCodeLine{00212\ \ \ guint32\ \mbox{\hyperlink{structmwMsgChannelAccept_a76929676c83686fe0a4ad902a0473139}{service}};\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00213\ \ \ guint32\ \mbox{\hyperlink{structmwMsgChannelAccept_afaaf025770c0d69293462a8a9d1c7db4}{proto\_type}};\ \ \ \ \ \ }
\DoxyCodeLine{00214\ \ \ guint32\ \mbox{\hyperlink{structmwMsgChannelAccept_a0af705542c8f61dbd099dbdcb6d36391}{proto\_ver}};\ \ \ \ \ \ \ }
\DoxyCodeLine{00215\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ \mbox{\hyperlink{structmwMsgChannelAccept_a5f70cd94605b78e32f7f5d67cc2a9bec}{addtl}};\ \ \ }
\DoxyCodeLine{00216\ \ \ gboolean\ \mbox{\hyperlink{structmwMsgChannelAccept_a372534bbc713af2b8dd978cbddad2417}{acceptor\_flag}};\ \ }
\DoxyCodeLine{00217\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwLoginInfo}{mwLoginInfo}}\ \mbox{\hyperlink{structmwMsgChannelAccept_aa487e07c705f3851a7c3f5411f0c49c6}{acceptor}};}
\DoxyCodeLine{00218\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwEncryptAccept}{mwEncryptAccept}}\ \mbox{\hyperlink{structmwMsgChannelAccept_a27c18dc0910d9382d5dac4c508505b65}{encrypt}};}
\DoxyCodeLine{00219\ \};}
\DoxyCodeLine{00220\ }
\DoxyCodeLine{00221\ }
\DoxyCodeLine{00222\ \textcolor{comment}{/*\ 8.4.1.9\ SendOnCnl\ */}}
\DoxyCodeLine{00223\ }
\DoxyCodeLine{00224\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgChannelSend}{mwMsgChannelSend}}\ \{}
\DoxyCodeLine{00225\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ \mbox{\hyperlink{structmwMsgChannelSend_a3f49c0dea656f73c1f7ef42a16f0e777}{head}};}
\DoxyCodeLine{00226\ }
\DoxyCodeLine{00229\ \ \ guint16\ \mbox{\hyperlink{structmwMsgChannelSend_a360515fd461196b447357fc50d800a0c}{type}};}
\DoxyCodeLine{00230\ }
\DoxyCodeLine{00232\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ \mbox{\hyperlink{structmwMsgChannelSend_a4ed57c82407367ebf0910d6ff77a7e2d}{data}};}
\DoxyCodeLine{00233\ \};}
\DoxyCodeLine{00234\ }
\DoxyCodeLine{00235\ }
\DoxyCodeLine{00236\ \textcolor{comment}{/*\ 8.4.1.10\ DestroyCnl\ */}}
\DoxyCodeLine{00237\ }
\DoxyCodeLine{00238\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgChannelDestroy}{mwMsgChannelDestroy}}\ \{}
\DoxyCodeLine{00239\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ \mbox{\hyperlink{structmwMsgChannelDestroy_a501301cb3488915000669298b19344fe}{head}};}
\DoxyCodeLine{00240\ \ \ guint32\ \mbox{\hyperlink{structmwMsgChannelDestroy_acdf5b2cfd2c48726ec0689d56cb7898f}{reason}};\ \ \ \ \ \ \ \ }
\DoxyCodeLine{00241\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ \mbox{\hyperlink{structmwMsgChannelDestroy_ab97d4e8988d67e03b0a2f9131e5742bf}{data}};\ \ }
\DoxyCodeLine{00242\ \};}
\DoxyCodeLine{00243\ }
\DoxyCodeLine{00244\ }
\DoxyCodeLine{00245\ \textcolor{comment}{/*\ 8.4.1.11\ SetUserStatus\ */}}
\DoxyCodeLine{00246\ }
\DoxyCodeLine{00247\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgSetUserStatus}{mwMsgSetUserStatus}}\ \{}
\DoxyCodeLine{00248\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ \mbox{\hyperlink{structmwMsgSetUserStatus_af062428c8e7533c41acda986ba714aef}{head}};}
\DoxyCodeLine{00249\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwUserStatus}{mwUserStatus}}\ \mbox{\hyperlink{structmwMsgSetUserStatus_af4f25662d90ff16c1babdfff60a3aca9}{status}};}
\DoxyCodeLine{00250\ \};}
\DoxyCodeLine{00251\ }
\DoxyCodeLine{00252\ }
\DoxyCodeLine{00253\ \textcolor{comment}{/*\ 8.4.1.12\ SetPrivacyList\ */}}
\DoxyCodeLine{00254\ }
\DoxyCodeLine{00255\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgSetPrivacyList}{mwMsgSetPrivacyList}}\ \{}
\DoxyCodeLine{00256\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ \mbox{\hyperlink{structmwMsgSetPrivacyList_abb212c62b86f5003c990a5243c74d887}{head}};}
\DoxyCodeLine{00257\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwPrivacyInfo}{mwPrivacyInfo}}\ \mbox{\hyperlink{structmwMsgSetPrivacyList_aa4a549b404569b0900cfc1565a125c1e}{privacy}};}
\DoxyCodeLine{00258\ \};}
\DoxyCodeLine{00259\ }
\DoxyCodeLine{00260\ }
\DoxyCodeLine{00261\ \textcolor{comment}{/*\ Sense\ Service\ */}}
\DoxyCodeLine{00262\ }
\DoxyCodeLine{00266\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgSenseService}{mwMsgSenseService}}\ \{}
\DoxyCodeLine{00267\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ \mbox{\hyperlink{structmwMsgSenseService_a83e8efde9fc8b9bd278f69d4122ea6d4}{head}};}
\DoxyCodeLine{00268\ \ \ guint32\ \mbox{\hyperlink{structmwMsgSenseService_a0e662d80a534243aab55c552e8c3e059}{service}};}
\DoxyCodeLine{00269\ \};}
\DoxyCodeLine{00270\ }
\DoxyCodeLine{00271\ }
\DoxyCodeLine{00272\ \textcolor{comment}{/*\ Admin\ */}}
\DoxyCodeLine{00273\ }
\DoxyCodeLine{00275\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgAdmin}{mwMsgAdmin}}\ \{}
\DoxyCodeLine{00276\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ \mbox{\hyperlink{structmwMsgAdmin_af3d7c3d1d1000d688d8546c36fe40407}{head}};}
\DoxyCodeLine{00277\ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structmwMsgAdmin_a2469c9806c00ba754c32dca38d5e8f4d}{text}};}
\DoxyCodeLine{00278\ \};}
\DoxyCodeLine{00279\ }
\DoxyCodeLine{00280\ }
\DoxyCodeLine{00281\ \textcolor{comment}{/*\ Announce\ */}}
\DoxyCodeLine{00282\ }
\DoxyCodeLine{00284\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgAnnounce}{mwMsgAnnounce}}\ \{}
\DoxyCodeLine{00285\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMessage}{mwMessage}}\ \mbox{\hyperlink{structmwMsgAnnounce_a035bee03b326d45ad45803be963a5a8c}{head}};}
\DoxyCodeLine{00286\ \ \ gboolean\ \mbox{\hyperlink{structmwMsgAnnounce_a485d98ac63cd8eb8222d014522142dc5}{sender\_present}};\ \ \ \ }
\DoxyCodeLine{00287\ \ \ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwLoginInfo}{mwLoginInfo}}\ \mbox{\hyperlink{structmwMsgAnnounce_a9a38c43e4c81bf1c1a3e98a4760536e0}{sender}};\ \ }
\DoxyCodeLine{00288\ \ \ guint16\ \mbox{\hyperlink{structmwMsgAnnounce_a8d30a08e8fac726ea69e422211b5c12c}{unknown\_a}};\ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00289\ \ \ gboolean\ \mbox{\hyperlink{structmwMsgAnnounce_ac8456e91852d0951f9c8ef6fe492dedc}{may\_reply}};\ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00290\ \ \ \textcolor{keywordtype}{char}\ *\mbox{\hyperlink{structmwMsgAnnounce_afc21a2cbbffa3ec1a0b8e5bef01290c7}{text}};\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ }
\DoxyCodeLine{00291\ }
\DoxyCodeLine{00295\ \ \ GList\ *\mbox{\hyperlink{structmwMsgAnnounce_ad31c1a380e2441d83723977500195a75}{recipients}};}
\DoxyCodeLine{00296\ \};}
\DoxyCodeLine{00297\ }
\DoxyCodeLine{00298\ }
\DoxyCodeLine{00299\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00300\ \}}
\DoxyCodeLine{00301\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00302\ }
\DoxyCodeLine{00303\ }
\DoxyCodeLine{00304\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ \_MW\_MESSAGE\_H\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00305\ }

\end{DoxyCode}
