\doxysection{mw\+\_\+channel.\+h}
\hypertarget{mw__channel_8h_source}{}\label{mw__channel_8h_source}\index{mw\_channel.h@{mw\_channel.h}}
\mbox{\hyperlink{mw__channel_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\_CHANNEL\_H}}
\DoxyCodeLine{00022\ \textcolor{preprocessor}{\#define\ \_MW\_CHANNEL\_H}}
\DoxyCodeLine{00023\ }
\DoxyCodeLine{00024\ }
\DoxyCodeLine{00077\ }
\DoxyCodeLine{00078\ }
\DoxyCodeLine{00079\ \textcolor{preprocessor}{\#include\ <time.h>}}
\DoxyCodeLine{00080\ \textcolor{preprocessor}{\#include\ "{}\mbox{\hyperlink{mw__common_8h}{mw\_common.h}}"{}}}
\DoxyCodeLine{00081\ }
\DoxyCodeLine{00082\ }
\DoxyCodeLine{00083\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00084\ \textcolor{keyword}{extern}\ \textcolor{stringliteral}{"{}C"{}}\ \{}
\DoxyCodeLine{00085\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00086\ }
\DoxyCodeLine{00087\ }
\DoxyCodeLine{00088\ \textcolor{comment}{/*\ place-\/holders\ */}}
\DoxyCodeLine{00089\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwCipherInstance}{mwCipherInstance}};}
\DoxyCodeLine{00090\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgChannelAccept}{mwMsgChannelAccept}};}
\DoxyCodeLine{00091\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgChannelCreate}{mwMsgChannelCreate}};}
\DoxyCodeLine{00092\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgChannelDestroy}{mwMsgChannelDestroy}};}
\DoxyCodeLine{00093\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwMsgChannelSend}{mwMsgChannelSend}};}
\DoxyCodeLine{00094\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwService}{mwService}};}
\DoxyCodeLine{00095\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwSession}{mwSession}};}
\DoxyCodeLine{00096\ }
\DoxyCodeLine{00097\ }
\DoxyCodeLine{00098\ }
\DoxyCodeLine{00101\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwChannel}{mwChannel}};}
\DoxyCodeLine{00102\ }
\DoxyCodeLine{00103\ }
\DoxyCodeLine{00106\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwChannelSet}{mwChannelSet}};}
\DoxyCodeLine{00107\ }
\DoxyCodeLine{00108\ }
\DoxyCodeLine{00110\ \textcolor{preprocessor}{\#define\ MW\_MASTER\_CHANNEL\_ID\ \ 0x00000000}}
\DoxyCodeLine{00111\ }
\DoxyCodeLine{00112\ }
\DoxyCodeLine{00114\ \textcolor{preprocessor}{\#define\ mwChannel\_idIsOutgoing(id)\ \(\backslash\)}}
\DoxyCodeLine{00115\ \textcolor{preprocessor}{\ \ (!\ (0x80000000\ \&\ (id)))}}
\DoxyCodeLine{00116\ }
\DoxyCodeLine{00118\ \textcolor{preprocessor}{\#define\ mwChannel\_idIsIncoming(id)\ \(\backslash\)}}
\DoxyCodeLine{00119\ \textcolor{preprocessor}{\ \ (!\ mwChannel\_idIsOutgoing(id))}}
\DoxyCodeLine{00120\ }
\DoxyCodeLine{00122\ \textcolor{preprocessor}{\#define\ mwChannel\_isOutgoing(chan)\ \(\backslash\)}}
\DoxyCodeLine{00123\ \textcolor{preprocessor}{\ \ mwChannel\_idIsOutgoing(mwChannel\_getId(chan))}}
\DoxyCodeLine{00124\ }
\DoxyCodeLine{00126\ \textcolor{preprocessor}{\#define\ mwChannel\_isIncoming(chan)\ \(\backslash\)}}
\DoxyCodeLine{00127\ \textcolor{preprocessor}{\ \ mwChannel\_idIsIncoming(mwChannel\_getId(chan))}}
\DoxyCodeLine{00128\ }
\DoxyCodeLine{00129\ }
\DoxyCodeLine{00131\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__channel_8h_a2f9ff901fd7b6e0f92c4f651b209fd11}{mwChannelState}}\ \{}
\DoxyCodeLine{00132\ \ \ \mbox{\hyperlink{mw__channel_8h_a2f9ff901fd7b6e0f92c4f651b209fd11a0015e6ab100dcc9072046d4fbccf1c5c}{mwChannel\_NEW}},\ \ \ \ \ \ }
\DoxyCodeLine{00133\ \ \ \mbox{\hyperlink{mw__channel_8h_a2f9ff901fd7b6e0f92c4f651b209fd11a81856c37ab30b5c5dc918230e74b41be}{mwChannel\_INIT}},\ \ \ \ \ }
\DoxyCodeLine{00134\ \ \ \mbox{\hyperlink{mw__channel_8h_a2f9ff901fd7b6e0f92c4f651b209fd11acc17dbc14dcca5f07db0e1086b1787d7}{mwChannel\_WAIT}},\ \ \ \ \ }
\DoxyCodeLine{00135\ \ \ \mbox{\hyperlink{mw__channel_8h_a2f9ff901fd7b6e0f92c4f651b209fd11a9b079efae54c7ce19a75cc72bb4bdf1d}{mwChannel\_OPEN}},\ \ \ \ \ }
\DoxyCodeLine{00136\ \ \ \mbox{\hyperlink{mw__channel_8h_a2f9ff901fd7b6e0f92c4f651b209fd11a4dbdbd31d9ff0fb6b973a665ab28a640}{mwChannel\_DESTROY}},\ \ }
\DoxyCodeLine{00137\ \ \ \mbox{\hyperlink{mw__channel_8h_a2f9ff901fd7b6e0f92c4f651b209fd11a13307644c3c44174b3374e165e4bd609}{mwChannel\_ERROR}},\ \ \ \ }
\DoxyCodeLine{00138\ \ \ \mbox{\hyperlink{mw__channel_8h_a2f9ff901fd7b6e0f92c4f651b209fd11a037260bf612b5b449b9dfc25f14d863c}{mwChannel\_UNKNOWN}},\ \ }
\DoxyCodeLine{00139\ \};}
\DoxyCodeLine{00140\ }
\DoxyCodeLine{00141\ }
\DoxyCodeLine{00142\ \textcolor{preprocessor}{\#define\ mwChannel\_isState(chan,\ state)\ \(\backslash\)}}
\DoxyCodeLine{00143\ \textcolor{preprocessor}{\ \ (mwChannel\_getState(chan)\ ==\ (state))}}
\DoxyCodeLine{00144\ }
\DoxyCodeLine{00145\ }
\DoxyCodeLine{00148\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__channel_8h_ae48ef93585f681efb2f9e4eb702c365e}{mwChannelStatField}}\ \{}
\DoxyCodeLine{00149\ \ \ \mbox{\hyperlink{mw__channel_8h_ae48ef93585f681efb2f9e4eb702c365ea2fb930374933a4ae3bcbb59c38100453}{mwChannelStat\_MSG\_SENT}},\ \ \ \ \ \ }
\DoxyCodeLine{00150\ \ \ \mbox{\hyperlink{mw__channel_8h_ae48ef93585f681efb2f9e4eb702c365ea0b9cd0c35eae32dde00d1757863c0c72}{mwChannelStat\_MSG\_RECV}},\ \ \ \ \ \ }
\DoxyCodeLine{00151\ \ \ \mbox{\hyperlink{mw__channel_8h_ae48ef93585f681efb2f9e4eb702c365ea5cb8465381680632b7f9f12c35e36b36}{mwChannelStat\_U\_BYTES\_SENT}},\ \ }
\DoxyCodeLine{00152\ \ \ \mbox{\hyperlink{mw__channel_8h_ae48ef93585f681efb2f9e4eb702c365ea76fcf9b81600e77219e91476087127ca}{mwChannelStat\_U\_BYTES\_RECV}},\ \ }
\DoxyCodeLine{00153\ \ \ \mbox{\hyperlink{mw__channel_8h_ae48ef93585f681efb2f9e4eb702c365ea89b26adcb1a6ecb4cf7f871856c597ce}{mwChannelStat\_OPENED\_AT}},\ \ \ \ \ }
\DoxyCodeLine{00154\ \ \ \mbox{\hyperlink{mw__channel_8h_ae48ef93585f681efb2f9e4eb702c365ea5eef1f4cfa0960802e63d5c98c1fc987}{mwChannelStat\_CLOSED\_AT}},\ \ \ \ \ }
\DoxyCodeLine{00155\ \};}
\DoxyCodeLine{00156\ }
\DoxyCodeLine{00157\ }
\DoxyCodeLine{00163\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__channel_8h_af1a96846496c5953b72b8002821778dd}{mwEncryptPolicy}}\ \{}
\DoxyCodeLine{00164\ \ \ \mbox{\hyperlink{mw__channel_8h_af1a96846496c5953b72b8002821778dda8fb49fce96dafa93f4574079bcefefcd}{mwEncrypt\_NONE}}\ \ \ \ \ \ =\ 0x0000,\ }
\DoxyCodeLine{00165\ \ \ \mbox{\hyperlink{mw__channel_8h_af1a96846496c5953b72b8002821778dda23970e8fbf808d49e753b76edd2f7dac}{mwEncrypt\_WHATEVER}}\ \ =\ 0x0001,\ }
\DoxyCodeLine{00166\ \ \ \mbox{\hyperlink{mw__channel_8h_af1a96846496c5953b72b8002821778dda751e7884abd7fff5bf60df3be83acb49}{mwEncrypt\_ALL}}\ \ \ \ \ \ \ =\ 0x0002,\ }
\DoxyCodeLine{00167\ \ \ \mbox{\hyperlink{mw__channel_8h_af1a96846496c5953b72b8002821778ddab501a631c7ce9cf2afb4c3ae80a5f228}{mwEncrypt\_RC2\_40}}\ \ \ \ =\ 0x1000,\ }
\DoxyCodeLine{00168\ \ \ \mbox{\hyperlink{mw__channel_8h_af1a96846496c5953b72b8002821778dda24d43c164f072dfdb19b9b3b739b5e2c}{mwEncrypt\_RC2\_128}}\ \ \ =\ 0x2000,\ }
\DoxyCodeLine{00169\ \};}
\DoxyCodeLine{00170\ }
\DoxyCodeLine{00171\ }
\DoxyCodeLine{00173\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwChannelSet}{mwChannelSet}}\ *\mbox{\hyperlink{mw__channel_8h_a42ae0e73f34b0900c89e5c620ada4a71}{mwChannelSet\_new}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwSession}{mwSession}}\ *);}
\DoxyCodeLine{00174\ }
\DoxyCodeLine{00175\ }
\DoxyCodeLine{00178\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__channel_8h_a36ca1279d6e68a1e86a9f0126bc545cc}{mwChannelSet\_free}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannelSet}{mwChannelSet}}\ *);}
\DoxyCodeLine{00179\ }
\DoxyCodeLine{00180\ }
\DoxyCodeLine{00183\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwChannel}{mwChannel}}\ *\mbox{\hyperlink{mw__channel_8h_a20a64cca961fa3e135f7265d6807f5bb}{mwChannel\_newIncoming}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannelSet}{mwChannelSet}}\ *,\ guint32\ \textcolor{keywordtype}{id});}
\DoxyCodeLine{00184\ }
\DoxyCodeLine{00185\ }
\DoxyCodeLine{00188\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwChannel}{mwChannel}}\ *\mbox{\hyperlink{mw__channel_8h_af45e012befc2978424dd8051a07bed95}{mwChannel\_newOutgoing}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannelSet}{mwChannelSet}}\ *);}
\DoxyCodeLine{00189\ }
\DoxyCodeLine{00190\ }
\DoxyCodeLine{00193\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwChannel}{mwChannel}}\ *\mbox{\hyperlink{mw__channel_8h_accd0917f5d49b3b91fee3f272e469706}{mwChannel\_find}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannelSet}{mwChannelSet}}\ *cs,\ guint32\ chan);}
\DoxyCodeLine{00194\ }
\DoxyCodeLine{00195\ }
\DoxyCodeLine{00198\ guint32\ \mbox{\hyperlink{mw__channel_8h_a205fb45f4f128840da446802a5b8858f}{mwChannel\_getId}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *);}
\DoxyCodeLine{00199\ }
\DoxyCodeLine{00200\ }
\DoxyCodeLine{00202\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwSession}{mwSession}}\ *\mbox{\hyperlink{mw__channel_8h_ac31210a6efc8244b2cd645bec3d01256}{mwChannel\_getSession}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *);}
\DoxyCodeLine{00203\ }
\DoxyCodeLine{00204\ }
\DoxyCodeLine{00207\ guint32\ \mbox{\hyperlink{mw__channel_8h_a852573bda2f2153ea7bdc3ce4e44ecba}{mwChannel\_getServiceId}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *);}
\DoxyCodeLine{00208\ }
\DoxyCodeLine{00209\ }
\DoxyCodeLine{00212\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwService}{mwService}}\ *\mbox{\hyperlink{mw__channel_8h_a104afd04a9a9a03d14eebe0f28f49a14}{mwChannel\_getService}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *);}
\DoxyCodeLine{00213\ }
\DoxyCodeLine{00214\ }
\DoxyCodeLine{00216\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__channel_8h_a730aaae4bae3fdfe485cf4e62510bdd7}{mwChannel\_setService}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan,\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwService}{mwService}}\ *srvc);}
\DoxyCodeLine{00217\ }
\DoxyCodeLine{00218\ }
\DoxyCodeLine{00222\ gpointer\ \mbox{\hyperlink{mw__channel_8h_a9edb54daf4ae35b0eb5d622b2b0a2332}{mwChannel\_getServiceData}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan);}
\DoxyCodeLine{00223\ }
\DoxyCodeLine{00224\ }
\DoxyCodeLine{00228\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__channel_8h_ae424543ba6d270f04d4819a7b77b5d47}{mwChannel\_setServiceData}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan,}
\DoxyCodeLine{00229\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ gpointer\ data,\ GDestroyNotify\ clean);}
\DoxyCodeLine{00230\ }
\DoxyCodeLine{00231\ }
\DoxyCodeLine{00232\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__channel_8h_a288a0fc9ee0e2efbe16d6905a2bf158e}{mwChannel\_removeServiceData}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan);}
\DoxyCodeLine{00233\ }
\DoxyCodeLine{00234\ }
\DoxyCodeLine{00235\ guint32\ \mbox{\hyperlink{mw__channel_8h_ac2d6c9be2a7183b7db1548b737725fa0}{mwChannel\_getProtoType}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan);}
\DoxyCodeLine{00236\ }
\DoxyCodeLine{00237\ }
\DoxyCodeLine{00238\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__channel_8h_adc7007d3b03fed371cd1f2a51321f04e}{mwChannel\_setProtoType}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan,\ guint32\ proto\_type);}
\DoxyCodeLine{00239\ }
\DoxyCodeLine{00240\ }
\DoxyCodeLine{00241\ guint32\ \mbox{\hyperlink{mw__channel_8h_aa59d3438ea8d7ddaa4aa66e7f96e0d25}{mwChannel\_getProtoVer}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan);}
\DoxyCodeLine{00242\ }
\DoxyCodeLine{00243\ }
\DoxyCodeLine{00244\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__channel_8h_a7f43ceb7857fadd26d24ad1294ba4d8b}{mwChannel\_setProtoVer}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan,\ guint32\ proto\_ver);}
\DoxyCodeLine{00245\ }
\DoxyCodeLine{00246\ }
\DoxyCodeLine{00255\ guint16\ \mbox{\hyperlink{mw__channel_8h_a9eeee87028d25ba9addea3efa02409a4}{mwChannel\_getEncryptPolicy}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan);}
\DoxyCodeLine{00256\ }
\DoxyCodeLine{00257\ }
\DoxyCodeLine{00258\ guint32\ \mbox{\hyperlink{mw__channel_8h_a6cc4dc53011417c27ad7d34b814ee74d}{mwChannel\_getOptions}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan);}
\DoxyCodeLine{00259\ }
\DoxyCodeLine{00260\ }
\DoxyCodeLine{00261\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__channel_8h_adf361ad42cbffec92a393bc3e059c38e}{mwChannel\_setOptions}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan,\ guint32\ options);}
\DoxyCodeLine{00262\ }
\DoxyCodeLine{00263\ }
\DoxyCodeLine{00266\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwLoginInfo}{mwLoginInfo}}\ *\mbox{\hyperlink{mw__channel_8h_a67959d972c206f8c6cbf93ee1a28b863}{mwChannel\_getUser}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan);}
\DoxyCodeLine{00267\ }
\DoxyCodeLine{00268\ }
\DoxyCodeLine{00270\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ *\mbox{\hyperlink{mw__channel_8h_afb3ceee2e20559e68b1d535778fd42d7}{mwChannel\_getAddtlCreate}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *);}
\DoxyCodeLine{00271\ }
\DoxyCodeLine{00272\ }
\DoxyCodeLine{00274\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ *\mbox{\hyperlink{mw__channel_8h_a51c461a61dc56f0e5d9fba6e68f71432}{mwChannel\_getAddtlAccept}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *);}
\DoxyCodeLine{00275\ }
\DoxyCodeLine{00276\ }
\DoxyCodeLine{00279\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__channel_8h_ad140721caa97992d7e64cd6504965946}{mwChannel\_populateSupportedCipherInstances}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan);}
\DoxyCodeLine{00280\ }
\DoxyCodeLine{00281\ }
\DoxyCodeLine{00284\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__channel_8h_a7c85be3b885f7bb2119707e78c9f1c1d}{mwChannel\_addSupportedCipherInstance}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan,}
\DoxyCodeLine{00285\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwCipherInstance}{mwCipherInstance}}\ *ci);}
\DoxyCodeLine{00286\ }
\DoxyCodeLine{00287\ }
\DoxyCodeLine{00290\ GList\ *\mbox{\hyperlink{mw__channel_8h_abd68d7186e200c3835f27bc81ce159a6}{mwChannel\_getSupportedCipherInstances}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan);}
\DoxyCodeLine{00291\ }
\DoxyCodeLine{00292\ }
\DoxyCodeLine{00295\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__channel_8h_aae6d4fb911cd040fb277d8caccf21d13}{mwChannel\_selectCipherInstance}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan,}
\DoxyCodeLine{00296\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwCipherInstance}{mwCipherInstance}}\ *ci);}
\DoxyCodeLine{00297\ }
\DoxyCodeLine{00298\ }
\DoxyCodeLine{00299\ \textcolor{keyword}{struct\ }\mbox{\hyperlink{structmwCipherInstance}{mwCipherInstance}}\ *}
\DoxyCodeLine{00300\ \mbox{\hyperlink{mw__channel_8h_a3b01207d264a361b890945aa737dadc9}{mwChannel\_getCipherInstance}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan);}
\DoxyCodeLine{00301\ }
\DoxyCodeLine{00302\ }
\DoxyCodeLine{00304\ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__channel_8h_a2f9ff901fd7b6e0f92c4f651b209fd11}{mwChannelState}}\ \mbox{\hyperlink{mw__channel_8h_a7bcf55392672ce5cc803019884f0cf82}{mwChannel\_getState}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *);}
\DoxyCodeLine{00305\ }
\DoxyCodeLine{00306\ }
\DoxyCodeLine{00308\ gpointer\ \mbox{\hyperlink{mw__channel_8h_a5d3eb44fd65ec67e7e04c01ea49bdf2c}{mwChannel\_getStatistic}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan,}
\DoxyCodeLine{00309\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{enum}\ \mbox{\hyperlink{mw__channel_8h_ae48ef93585f681efb2f9e4eb702c365e}{mwChannelStatField}}\ stat);}
\DoxyCodeLine{00310\ }
\DoxyCodeLine{00311\ }
\DoxyCodeLine{00322\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{mw__channel_8h_ac0b5dba71d6c2ac2780b094bae9bda13}{mwChannel\_create}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan);}
\DoxyCodeLine{00323\ }
\DoxyCodeLine{00324\ }
\DoxyCodeLine{00328\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{mw__channel_8h_a8c72269dfed1ad1a32a2f44501c3961a}{mwChannel\_accept}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan);}
\DoxyCodeLine{00329\ }
\DoxyCodeLine{00330\ }
\DoxyCodeLine{00338\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{mw__channel_8h_acbfd68a6393902b1e396c19086cb8703}{mwChannel\_destroy}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan,\ guint32\ reason,}
\DoxyCodeLine{00339\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ *data);}
\DoxyCodeLine{00340\ }
\DoxyCodeLine{00341\ }
\DoxyCodeLine{00344\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{mw__channel_8h_a3c5c8c8fc12b5931e97e1456fac726cf}{mwChannel\_send}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan,\ guint32\ msg\_type,}
\DoxyCodeLine{00345\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ *msg);}
\DoxyCodeLine{00346\ }
\DoxyCodeLine{00347\ }
\DoxyCodeLine{00350\ \textcolor{keywordtype}{int}\ \mbox{\hyperlink{mw__channel_8h_a9680f1baac754a86449e2f416fa2ac27}{mwChannel\_sendEncrypted}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan,}
\DoxyCodeLine{00351\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ guint32\ msg\_type,\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwOpaque}{mwOpaque}}\ *msg,}
\DoxyCodeLine{00352\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ gboolean\ encrypt);}
\DoxyCodeLine{00353\ }
\DoxyCodeLine{00354\ }
\DoxyCodeLine{00356\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__channel_8h_a1172755c4bb709e9150691848ba4070f}{mwChannel\_recvCreate}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan,}
\DoxyCodeLine{00357\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwMsgChannelCreate}{mwMsgChannelCreate}}\ *msg);}
\DoxyCodeLine{00358\ }
\DoxyCodeLine{00359\ }
\DoxyCodeLine{00361\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__channel_8h_acdcc28872711d7b7cb17f403472448e5}{mwChannel\_recvAccept}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan,}
\DoxyCodeLine{00362\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwMsgChannelAccept}{mwMsgChannelAccept}}\ *msg);}
\DoxyCodeLine{00363\ }
\DoxyCodeLine{00364\ }
\DoxyCodeLine{00366\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__channel_8h_a0e66613f64ea68bebfae4c3e2fe1a50b}{mwChannel\_recvDestroy}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan,}
\DoxyCodeLine{00367\ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwMsgChannelDestroy}{mwMsgChannelDestroy}}\ *msg);}
\DoxyCodeLine{00368\ }
\DoxyCodeLine{00369\ }
\DoxyCodeLine{00371\ \textcolor{keywordtype}{void}\ \mbox{\hyperlink{mw__channel_8h_a45bfb6bb37d6db073c593bbfcc48af92}{mwChannel\_recv}}(\textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwChannel}{mwChannel}}\ *chan,\ \textcolor{keyword}{struct}\ \mbox{\hyperlink{structmwMsgChannelSend}{mwMsgChannelSend}}\ *msg);}
\DoxyCodeLine{00372\ }
\DoxyCodeLine{00373\ }
\DoxyCodeLine{00374\ \textcolor{preprocessor}{\#ifdef\ \_\_cplusplus}}
\DoxyCodeLine{00375\ \}}
\DoxyCodeLine{00376\ \textcolor{preprocessor}{\#endif}}
\DoxyCodeLine{00377\ }
\DoxyCodeLine{00378\ }
\DoxyCodeLine{00379\ \textcolor{preprocessor}{\#endif\ }\textcolor{comment}{/*\ \_MW\_CHANNEL\_H\ */}\textcolor{preprocessor}{}}
\DoxyCodeLine{00380\ }

\end{DoxyCode}
