Sophie

Sophie

distrib > Mandriva > 2008.1 > x86_64 > media > main-release > by-pkgid > d4a6745d7fbd92dfb64dce5e91e08f80 > files > 108

lib64meanwhile1-doc-1.0.2-1mdv2008.1.x86_64.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<title>meanwhile: mw_srvc_im.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
<link href="tabs.css" rel="stylesheet" type="text/css">
</head><body>
<!-- Generated by Doxygen 1.5.4 -->
<div class="tabs">
  <ul>
    <li><a href="index.html"><span>Main&nbsp;Page</span></a></li>
    <li><a href="classes.html"><span>Data&nbsp;Structures</span></a></li>
    <li class="current"><a href="files.html"><span>Files</span></a></li>
    <li><a href="pages.html"><span>Related&nbsp;Pages</span></a></li>
  </ul>
</div>
<h1>mw_srvc_im.h</h1><a href="mw__srvc__im_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre class="fragment"><a name="l00001"></a>00001 
<a name="l00002"></a>00002 <span class="comment">/*</span>
<a name="l00003"></a>00003 <span class="comment">  Meanwhile - Unofficial Lotus Sametime Community Client Library</span>
<a name="l00004"></a>00004 <span class="comment">  Copyright (C) 2004  Christopher (siege) O'Brien</span>
<a name="l00005"></a>00005 <span class="comment">  </span>
<a name="l00006"></a>00006 <span class="comment">  This library is free software; you can redistribute it and/or</span>
<a name="l00007"></a>00007 <span class="comment">  modify it under the terms of the GNU Library General Public</span>
<a name="l00008"></a>00008 <span class="comment">  License as published by the Free Software Foundation; either</span>
<a name="l00009"></a>00009 <span class="comment">  version 2 of the License, or (at your option) any later version.</span>
<a name="l00010"></a>00010 <span class="comment">  </span>
<a name="l00011"></a>00011 <span class="comment">  This library is distributed in the hope that it will be useful,</span>
<a name="l00012"></a>00012 <span class="comment">  but WITHOUT ANY WARRANTY; without even the implied warranty of</span>
<a name="l00013"></a>00013 <span class="comment">  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU</span>
<a name="l00014"></a>00014 <span class="comment">  Library General Public License for more details.</span>
<a name="l00015"></a>00015 <span class="comment">  </span>
<a name="l00016"></a>00016 <span class="comment">  You should have received a copy of the GNU Library General Public</span>
<a name="l00017"></a>00017 <span class="comment">  License along with this library; if not, write to the Free</span>
<a name="l00018"></a>00018 <span class="comment">  Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA</span>
<a name="l00019"></a>00019 <span class="comment">*/</span>
<a name="l00020"></a>00020 
<a name="l00021"></a>00021 <span class="preprocessor">#ifndef _MW_SRVC_IM_H</span>
<a name="l00022"></a>00022 <span class="preprocessor"></span><span class="preprocessor">#define _MW_SRVC_IM_H</span>
<a name="l00023"></a>00023 <span class="preprocessor"></span>
<a name="l00024"></a>00024 
<a name="l00036"></a>00036 <span class="preprocessor">#include &lt;glib.h&gt;</span>
<a name="l00037"></a>00037 <span class="preprocessor">#include "<a class="code" href="mw__common_8h.html" title="Common data types and functions for handling those types.">mw_common.h</a>"</span>
<a name="l00038"></a>00038 
<a name="l00039"></a>00039 
<a name="l00040"></a>00040 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00041"></a>00041 <span class="preprocessor"></span><span class="keyword">extern</span> <span class="stringliteral">"C"</span> {
<a name="l00042"></a>00042 <span class="preprocessor">#endif</span>
<a name="l00043"></a>00043 <span class="preprocessor"></span>  
<a name="l00044"></a>00044   
<a name="l00045"></a>00045 <span class="comment">/* identifier for the IM service */</span>
<a name="l00046"></a><a class="code" href="mw__srvc__im_8h.html#fd6e82bbc1046ce9d52b842dba7722d2">00046</a> <span class="preprocessor">#define mwService_IM  0x00001000</span>
<a name="l00047"></a>00047 <span class="preprocessor"></span>  
<a name="l00048"></a>00048   
<a name="l00053"></a><a class="code" href="structmwConversation.html">00053</a> <span class="keyword">struct </span><a class="code" href="structmwServiceIm.html" title="An instance of the IM service.">mwServiceIm</a>;
<a name="l00054"></a>00054 
<a name="l00055"></a>00055 
<a name="l00059"></a>00059 <span class="keyword">struct </span><a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a>;
<a name="l00060"></a>00060 
<a name="l00061"></a>00061 
<a name="l00062"></a><a class="code" href="mw__srvc__im_8h.html#d127e58a93fa52166065266a6041fc17">00062</a> <span class="keyword">enum</span> <a class="code" href="mw__srvc__im_8h.html#d127e58a93fa52166065266a6041fc17">mwImClientType</a> {
<a name="l00063"></a><a class="code" href="mw__srvc__im_8h.html#d127e58a93fa52166065266a6041fc178a32a92f7402725dea621147b63c315b">00063</a>   <a class="code" href="mw__srvc__im_8h.html#d127e58a93fa52166065266a6041fc178a32a92f7402725dea621147b63c315b" title="text, typing">mwImClient_PLAIN</a>       = 0x00000001,  
<a name="l00064"></a><a class="code" href="mw__srvc__im_8h.html#d127e58a93fa52166065266a6041fc170b649d9e379256e9f11064cb4083eae7">00064</a>   <a class="code" href="mw__srvc__im_8h.html#d127e58a93fa52166065266a6041fc170b649d9e379256e9f11064cb4083eae7" title="adds html, subject, mime">mwImClient_NOTESBUDDY</a>  = 0x00033453,  
<a name="l00065"></a><a class="code" href="mw__srvc__im_8h.html#d127e58a93fa52166065266a6041fc17c33797c61e096df2a75bb3c185387756">00065</a>   <a class="code" href="mw__srvc__im_8h.html#d127e58a93fa52166065266a6041fc17c33797c61e096df2a75bb3c185387756" title="pre-conference, legacy">mwImClient_PRECONF</a>     = 0x00000019,  
<a name="l00066"></a><a class="code" href="mw__srvc__im_8h.html#d127e58a93fa52166065266a6041fc173aaa9667089e6a9260d3e3f4dbbee70a">00066</a>   <a class="code" href="mw__srvc__im_8h.html#d127e58a93fa52166065266a6041fc173aaa9667089e6a9260d3e3f4dbbee70a" title="trouble determining type">mwImClient_UNKNOWN</a>     = 0xffffffff,  
<a name="l00067"></a>00067 };
<a name="l00068"></a>00068 
<a name="l00069"></a>00069 
<a name="l00084"></a><a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a63">00084</a> <span class="keyword">enum</span> <a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a63" title="Types of supported messages.">mwImSendType</a> {
<a name="l00085"></a><a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a631dc9ac1e49b18739d6a9877b1b264f99">00085</a>   <a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a631dc9ac1e49b18739d6a9877b1b264f99" title="char *, plain-text message">mwImSend_PLAIN</a>,   
<a name="l00086"></a><a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a63967a6006d197bd292680562b4e86988a">00086</a>   <a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a63967a6006d197bd292680562b4e86988a" title="gboolean, typing status">mwImSend_TYPING</a>,  
<a name="l00087"></a><a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a636cc56c9b2bdce2f1e4035e818d77d29f">00087</a>   <a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a636cc56c9b2bdce2f1e4035e818d77d29f" title="char *, HTML formatted message (NOTESBUDDY)">mwImSend_HTML</a>,    
<a name="l00088"></a><a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a63c1eabb5d6f9c551313634ab13bfc2abc">00088</a>   <a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a63c1eabb5d6f9c551313634ab13bfc2abc" title="char *, conversation subject (NOTESBUDDY)">mwImSend_SUBJECT</a>, 
<a name="l00089"></a><a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a63dfbd9dd7f630ca2202e98401c43c8115">00089</a>   <a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a63dfbd9dd7f630ca2202e98401c43c8115" title="char *, MIME-encoded message (NOTESBUDDY)">mwImSend_MIME</a>,    
<a name="l00090"></a><a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a630be05e58874a146e136e97fc32382d26">00090</a>   <a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a630be05e58874a146e136e97fc32382d26" title="char *, YYYY:MM:DD:HH:mm:SS format (NOTESBUDDY)">mwImSend_TIMESTAMP</a>, 
<a name="l00091"></a>00091 };
<a name="l00092"></a>00092 
<a name="l00093"></a>00093 
<a name="l00094"></a>00094 
<a name="l00096"></a><a class="code" href="mw__srvc__im_8h.html#cfdf4c12398d17d8e936a2a7fe371d06">00096</a> <span class="keyword">enum</span> <a class="code" href="mw__srvc__im_8h.html#cfdf4c12398d17d8e936a2a7fe371d06" title="mwConversation_getState">mwConversationState</a> {
<a name="l00097"></a><a class="code" href="mw__srvc__im_8h.html#cfdf4c12398d17d8e936a2a7fe371d06ba419e21933109ec87f690571cbad41d">00097</a>   <a class="code" href="mw__srvc__im_8h.html#cfdf4c12398d17d8e936a2a7fe371d06ba419e21933109ec87f690571cbad41d" title="conversation is not open">mwConversation_CLOSED</a>,   
<a name="l00098"></a><a class="code" href="mw__srvc__im_8h.html#cfdf4c12398d17d8e936a2a7fe371d06642450bf83850c99d021574f08eb2cca">00098</a>   <a class="code" href="mw__srvc__im_8h.html#cfdf4c12398d17d8e936a2a7fe371d06642450bf83850c99d021574f08eb2cca" title="conversation is opening">mwConversation_PENDING</a>,  
<a name="l00099"></a><a class="code" href="mw__srvc__im_8h.html#cfdf4c12398d17d8e936a2a7fe371d061f4a6c1f815e45963e201e115044e6f8">00099</a>   <a class="code" href="mw__srvc__im_8h.html#cfdf4c12398d17d8e936a2a7fe371d061f4a6c1f815e45963e201e115044e6f8" title="conversation is open">mwConversation_OPEN</a>,     
<a name="l00100"></a><a class="code" href="mw__srvc__im_8h.html#cfdf4c12398d17d8e936a2a7fe371d060a9b2dc324406ff896170f45aac3b886">00100</a>   <a class="code" href="mw__srvc__im_8h.html#cfdf4c12398d17d8e936a2a7fe371d060a9b2dc324406ff896170f45aac3b886" title="unknown state">mwConversation_UNKNOWN</a>,  
<a name="l00101"></a>00101 };
<a name="l00102"></a>00102 
<a name="l00103"></a>00103 
<a name="l00104"></a><a class="code" href="mw__srvc__im_8h.html#c9988b2be0d17a9eeb77451a87196cad">00104</a> <span class="preprocessor">#define mwConversation_isState(conv, state) \</span>
<a name="l00105"></a>00105 <span class="preprocessor">  (mwConversation_getState(conv) == (state))</span>
<a name="l00106"></a>00106 <span class="preprocessor"></span>
<a name="l00107"></a><a class="code" href="mw__srvc__im_8h.html#cd26403ebeb75cde250ddb57b8cfc3fe">00107</a> <span class="preprocessor">#define mwConversation_isClosed(conv) \</span>
<a name="l00108"></a>00108 <span class="preprocessor">  mwConversation_isState((conv), mwConversation_CLOSED)</span>
<a name="l00109"></a>00109 <span class="preprocessor"></span>
<a name="l00110"></a><a class="code" href="mw__srvc__im_8h.html#7ccb3181436b318174121c25b40742d0">00110</a> <span class="preprocessor">#define mwConversation_isPending(conv) \</span>
<a name="l00111"></a>00111 <span class="preprocessor">  mwConversation_isState((conv), mwConversation_PENDING)</span>
<a name="l00112"></a>00112 <span class="preprocessor"></span>
<a name="l00113"></a><a class="code" href="mw__srvc__im_8h.html#18c14bbf9e6f0fd68ddec28310897a25">00113</a> <span class="preprocessor">#define mwConversation_isOpen(conv) \</span>
<a name="l00114"></a>00114 <span class="preprocessor">  mwConversation_isState((conv), mwConversation_OPEN)</span>
<a name="l00115"></a>00115 <span class="preprocessor"></span>
<a name="l00116"></a>00116 
<a name="l00117"></a>00117 
<a name="l00120"></a><a class="code" href="structmwImHandler.html">00120</a> <span class="keyword">struct </span><a class="code" href="structmwImHandler.html" title="IM Service Handler.">mwImHandler</a> {
<a name="l00121"></a>00121 
<a name="l00123"></a>00123   void (*<a class="code" href="structmwImHandler.html#b8594d1cb6e77db3e1e5b791fc43161b" title="A conversation has been successfully opened.">conversation_opened</a>)(<span class="keyword">struct </span><a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv);
<a name="l00124"></a>00124 
<a name="l00126"></a>00126   void (*<a class="code" href="structmwImHandler.html#9adb678c4a916dff1787fe089a6d3410" title="A conversation has been closed.">conversation_closed</a>)(<span class="keyword">struct </span><a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv, guint32 err);
<a name="l00127"></a>00127   
<a name="l00129"></a>00129   void (*<a class="code" href="structmwImHandler.html#2e711aa7db91b287102156999d488ca6" title="A message has been received on a conversation.">conversation_recv</a>)(<span class="keyword">struct </span><a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv,
<a name="l00130"></a>00130                             <span class="keyword">enum</span> <a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a63" title="Types of supported messages.">mwImSendType</a> type, gconstpointer msg);
<a name="l00131"></a>00131 
<a name="l00134"></a>00134   void (*<a class="code" href="structmwImHandler.html#c10638fef527630c673aa24d4c8ba9ca" title="Handle a Place invitation.">place_invite</a>)(<span class="keyword">struct </span><a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv,
<a name="l00135"></a>00135                        <span class="keyword">const</span> <span class="keywordtype">char</span> *message,
<a name="l00136"></a>00136                        <span class="keyword">const</span> <span class="keywordtype">char</span> *title, <span class="keyword">const</span> <span class="keywordtype">char</span> *name);
<a name="l00137"></a>00137 
<a name="l00139"></a>00139   void (*<a class="code" href="structmwImHandler.html#b3ff218f0d3af21429b355943fa57044" title="optional.">clear</a>)(<span class="keyword">struct </span><a class="code" href="structmwServiceIm.html" title="An instance of the IM service.">mwServiceIm</a> *srvc);
<a name="l00140"></a>00140 };
<a name="l00141"></a>00141 
<a name="l00142"></a>00142 
<a name="l00143"></a>00143 <span class="keyword">struct </span><a class="code" href="structmwServiceIm.html" title="An instance of the IM service.">mwServiceIm</a> *<a class="code" href="mw__srvc__im_8h.html#d0b319c6ffc1b62082dc6cd6533a64de">mwServiceIm_new</a>(<span class="keyword">struct</span> <a class="code" href="structmwSession.html" title="Represents a Sametime client session.">mwSession</a> *<a class="code" href="structmwService.html#0c2badd2256155b2bee149fa4b57b7d6" title="session this service is attached to.">session</a>,
<a name="l00144"></a>00144                                     <span class="keyword">struct</span> <a class="code" href="structmwImHandler.html" title="IM Service Handler.">mwImHandler</a> *handler);
<a name="l00145"></a>00145 
<a name="l00146"></a>00146 
<a name="l00147"></a>00147 <span class="keyword">struct </span><a class="code" href="structmwImHandler.html" title="IM Service Handler.">mwImHandler</a> *<a class="code" href="mw__srvc__im_8h.html#afa4673b2fc2b5644a434ac563412ee7">mwServiceIm_getHandler</a>(<span class="keyword">struct</span> <a class="code" href="structmwServiceIm.html" title="An instance of the IM service.">mwServiceIm</a> *srvc);
<a name="l00148"></a>00148 
<a name="l00149"></a>00149 
<a name="l00152"></a>00152 <span class="keyword">struct </span><a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *<a class="code" href="mw__srvc__im_8h.html#4a2deb23c2063d564c43551f4d6fa7d7" title="reference an existing conversation to target, or create a new conversation to target...">mwServiceIm_getConversation</a>(<span class="keyword">struct</span> <a class="code" href="structmwServiceIm.html" title="An instance of the IM service.">mwServiceIm</a> *srvc,
<a name="l00153"></a>00153                                                    <span class="keyword">struct</span> <a class="code" href="structmwIdBlock.html">mwIdBlock</a> *target);
<a name="l00154"></a>00154 
<a name="l00155"></a>00155 
<a name="l00157"></a>00157 <span class="keyword">struct </span><a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *<a class="code" href="mw__srvc__im_8h.html#9113d0a9a0dc47d4fb259d42f400bb98" title="reference an existing conversation to target">mwServiceIm_findConversation</a>(<span class="keyword">struct</span> <a class="code" href="structmwServiceIm.html" title="An instance of the IM service.">mwServiceIm</a> *srvc,
<a name="l00158"></a>00158                                                     <span class="keyword">struct</span> <a class="code" href="structmwIdBlock.html">mwIdBlock</a> *target);
<a name="l00159"></a>00159 
<a name="l00160"></a>00160 
<a name="l00163"></a>00163 gboolean <a class="code" href="mw__srvc__im_8h.html#f74d89d1656f69853b68cd2576783a3a" title="determine if the conversations created from this service will support a given send...">mwServiceIm_supports</a>(<span class="keyword">struct</span> <a class="code" href="structmwServiceIm.html" title="An instance of the IM service.">mwServiceIm</a> *srvc,
<a name="l00164"></a>00164                               <span class="keyword">enum</span> <a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a63" title="Types of supported messages.">mwImSendType</a> type);
<a name="l00165"></a>00165 
<a name="l00166"></a>00166 
<a name="l00174"></a>00174 <span class="keywordtype">void</span> <a class="code" href="mw__srvc__im_8h.html#bd6566ad7e1d2b5b3a64a8fe5b0ea27e" title="Set the default client type for the service.">mwServiceIm_setClientType</a>(<span class="keyword">struct</span> <a class="code" href="structmwServiceIm.html" title="An instance of the IM service.">mwServiceIm</a> *srvc,
<a name="l00175"></a>00175                                <span class="keyword">enum</span> <a class="code" href="mw__srvc__im_8h.html#d127e58a93fa52166065266a6041fc17">mwImClientType</a> type);
<a name="l00176"></a>00176 
<a name="l00177"></a>00177 
<a name="l00178"></a>00178 <span class="keyword">enum</span> <a class="code" href="mw__srvc__im_8h.html#d127e58a93fa52166065266a6041fc17">mwImClientType</a> <a class="code" href="mw__srvc__im_8h.html#a52f0d24ee0183085dd46e38e47261da">mwServiceIm_getClientType</a>(<span class="keyword">struct</span> <a class="code" href="structmwServiceIm.html" title="An instance of the IM service.">mwServiceIm</a> *srvc);
<a name="l00179"></a>00179 
<a name="l00180"></a>00180 
<a name="l00186"></a>00186 <span class="keywordtype">void</span> <a class="code" href="mw__srvc__im_8h.html#2960bacb6c2f6307b60f8f92e1ac51f1" title="attempt to open a conversation.">mwConversation_open</a>(<span class="keyword">struct</span> <a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv);
<a name="l00187"></a>00187 
<a name="l00188"></a>00188 
<a name="l00191"></a>00191 <span class="keywordtype">void</span> <a class="code" href="mw__srvc__im_8h.html#39757a34b81911a80ef817e6e45bc43a" title="close a conversation.">mwConversation_close</a>(<span class="keyword">struct</span> <a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv, guint32 err);
<a name="l00192"></a>00192 
<a name="l00193"></a>00193 
<a name="l00195"></a>00195 gboolean <a class="code" href="mw__srvc__im_8h.html#beaf3935e8d6970920e4536fc97e1503" title="determine whether a conversation supports the given message type">mwConversation_supports</a>(<span class="keyword">struct</span> <a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv,
<a name="l00196"></a>00196                                  <span class="keyword">enum</span> <a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a63" title="Types of supported messages.">mwImSendType</a> type);
<a name="l00197"></a>00197 
<a name="l00198"></a>00198 
<a name="l00199"></a>00199 <span class="keyword">enum</span> <a class="code" href="mw__srvc__im_8h.html#d127e58a93fa52166065266a6041fc17">mwImClientType</a> <a class="code" href="mw__srvc__im_8h.html#0267c3e82ea1c8c49652d6fb827895a0">mwConversation_getClientType</a>(<span class="keyword">struct</span> <a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv);
<a name="l00200"></a>00200 
<a name="l00201"></a>00201 
<a name="l00208"></a>00208 <span class="keyword">enum</span> <a class="code" href="mw__srvc__im_8h.html#cfdf4c12398d17d8e936a2a7fe371d06" title="mwConversation_getState">mwConversationState</a> <a class="code" href="mw__srvc__im_8h.html#8c32b70e52ab20bb2887f37962180b7d" title="get the state of a conversation">mwConversation_getState</a>(<span class="keyword">struct</span> <a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv);
<a name="l00209"></a>00209 
<a name="l00210"></a>00210 
<a name="l00212"></a>00212 <span class="keywordtype">int</span> <a class="code" href="mw__srvc__im_8h.html#deb608f4473b09907bf096a8b4aee881" title="send a message over an open conversation">mwConversation_send</a>(<span class="keyword">struct</span> <a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv,
<a name="l00213"></a>00213                         <span class="keyword">enum</span> <a class="code" href="mw__srvc__im_8h.html#cdce2eef1ff823bf823e533410061a63" title="Types of supported messages.">mwImSendType</a> type, gconstpointer send);
<a name="l00214"></a>00214 
<a name="l00215"></a>00215 
<a name="l00217"></a>00217 <span class="keyword">struct </span><a class="code" href="structmwServiceIm.html" title="An instance of the IM service.">mwServiceIm</a> *<a class="code" href="mw__srvc__im_8h.html#f359f37a1f33d3804efafe1f0865732b" title="owning service for a conversation">mwConversation_getService</a>(<span class="keyword">struct</span> <a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv);
<a name="l00218"></a>00218 
<a name="l00219"></a>00219 
<a name="l00222"></a>00222 <span class="keyword">struct </span><a class="code" href="structmwLoginInfo.html">mwLoginInfo</a> *<a class="code" href="mw__srvc__im_8h.html#9b2a0d0bb164a7de3d09e58fb0d0a0de" title="login information for conversation partner.">mwConversation_getTargetInfo</a>(<span class="keyword">struct</span> <a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv);
<a name="l00223"></a>00223 
<a name="l00224"></a>00224 
<a name="l00226"></a>00226 <span class="keyword">struct </span><a class="code" href="structmwIdBlock.html">mwIdBlock</a> *<a class="code" href="mw__srvc__im_8h.html#b6ffb1c3f5e532eb6a17218fd15f3e2c" title="ID for conversation partner.">mwConversation_getTarget</a>(<span class="keyword">struct</span> <a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv);
<a name="l00227"></a>00227 
<a name="l00228"></a>00228 
<a name="l00231"></a>00231 <span class="keywordtype">void</span> <a class="code" href="mw__srvc__im_8h.html#1118f842f0373657f5ab8ada5a2a66c6" title="set whether outgoing messages should be encrypted using the negotiated cipher, if...">mwConversation_setEncrypted</a>(<span class="keyword">struct</span> <a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv,
<a name="l00232"></a>00232                                  gboolean useCipher);
<a name="l00233"></a>00233 
<a name="l00234"></a>00234 
<a name="l00236"></a>00236 gboolean <a class="code" href="mw__srvc__im_8h.html#139fef3e5530529e593d164648d0d626" title="determine whether outgoing messages are being encrypted">mwConversation_isEncrypted</a>(<span class="keyword">struct</span> <a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv);
<a name="l00237"></a>00237 
<a name="l00238"></a>00238 
<a name="l00245"></a>00245 <span class="keywordtype">void</span> <a class="code" href="mw__srvc__im_8h.html#f81229e742e279eb8f8104d6369e692c" title="Associates client data with a conversation.">mwConversation_setClientData</a>(<span class="keyword">struct</span> <a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv,
<a name="l00246"></a>00246                                   gpointer data, GDestroyNotify clean);
<a name="l00247"></a>00247 
<a name="l00248"></a>00248 
<a name="l00254"></a>00254 gpointer <a class="code" href="mw__srvc__im_8h.html#b38ac095354a0b0514eeeb7a8c55b121" title="Reference associated client data.">mwConversation_getClientData</a>(<span class="keyword">struct</span> <a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv);
<a name="l00255"></a>00255 
<a name="l00256"></a>00256 
<a name="l00263"></a>00263 <span class="keywordtype">void</span> <a class="code" href="mw__srvc__im_8h.html#9e0c7574ae526c04c0c8433138dca068" title="Remove any associated client data, calling the optional cleanup function if one was...">mwConversation_removeClientData</a>(<span class="keyword">struct</span> <a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv);
<a name="l00264"></a>00264 
<a name="l00265"></a>00265 
<a name="l00268"></a>00268 <span class="keywordtype">void</span> <a class="code" href="mw__srvc__im_8h.html#92aa89cc6cb34ebf4b4f232f532af961" title="close and destroy the conversation and its backing channel, and call the optional...">mwConversation_free</a>(<span class="keyword">struct</span> <a class="code" href="structmwConversation.html" title="A conversation between the local service and a single other user.">mwConversation</a> *conv);
<a name="l00269"></a>00269 
<a name="l00270"></a>00270 
<a name="l00271"></a>00271 <span class="preprocessor">#ifdef __cplusplus</span>
<a name="l00272"></a>00272 <span class="preprocessor"></span>}
<a name="l00273"></a>00273 <span class="preprocessor">#endif</span>
<a name="l00274"></a>00274 <span class="preprocessor"></span>
<a name="l00275"></a>00275 
<a name="l00276"></a>00276 <span class="preprocessor">#endif </span><span class="comment">/* _MW_SRVC_IM_H */</span>
</pre></div><hr size="1"><address style="text-align: right;"><small>Generated on Wed Dec 19 09:10:34 2007 for meanwhile by&nbsp;
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.4 </small></address>
</body>
</html>