<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1"> <title>liblogging: beepmessage.h Source File</title> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.3.2 --> <div class="qindex"><a class="qindex" href="index.html">Main Page</a> | <a class="qindex" href="annotated.html">Compound List</a> | <a class="qindex" href="files.html">File List</a> | <a class="qindex" href="functions.html">Compound Members</a> | <a class="qindex" href="globals.html">File Members</a> | <a class="qindex" href="pages.html">Related Pages</a></div> <h1>beepmessage.h</h1><a href="beepmessage_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 00043 <span class="preprocessor">#ifndef __LIB3195_BEEPMESSAGE_H_INCLUDED__</span> 00044 <span class="preprocessor"></span><span class="preprocessor">#define __LIB3195_BEEPMESSAGE_H_INCLUDED__ 1</span> 00045 <span class="preprocessor"></span> 00046 <span class="preprocessor">#include "<a class="code" href="beepchannel_8h.html">beepchannel.h</a>"</span> 00047 <span class="preprocessor">#include "<a class="code" href="beepsession_8h.html">beepsession.h</a>"</span> 00048 <span class="preprocessor">#define sbMesgCHECKVALIDOBJECT(x) {assert(x != NULL); assert(x->OID == OIDsbMesg);}</span> 00049 <span class="preprocessor"></span> 00050 <span class="keyword">struct </span><a class="code" href="structsbFramObject.html">sbFramObject</a>; <a name="l00051"></a><a class="code" href="structsbMesgObject.html">00051</a> <span class="keyword">struct </span><a class="code" href="structsbMesgObject.html">sbMesgObject</a> 00055 { <a name="l00056"></a><a class="code" href="structsbMesgObject.html#o0">00056</a> srObjID <a class="code" href="structsbMesgObject.html#o0">OID</a>; <a name="l00057"></a><a class="code" href="structsbMesgObject.html#o1">00057</a> BEEPHdrID <a class="code" href="structsbMesgObject.html#o1">idHdr</a>; <a name="l00058"></a><a class="code" href="structsbMesgObject.html#o2">00058</a> <a class="code" href="liblogging_8h.html#a11">SBmsgno</a> <a class="code" href="structsbMesgObject.html#o2">uMsgno</a>; <a name="l00059"></a><a class="code" href="structsbMesgObject.html#o3">00059</a> <a class="code" href="liblogging_8h.html#a8">SBseqno</a> <a class="code" href="structsbMesgObject.html#o3">uSeqno</a>; <a name="l00060"></a><a class="code" href="structsbMesgObject.html#o4">00060</a> <a class="code" href="liblogging_8h.html#a8">SBseqno</a> <a class="code" href="structsbMesgObject.html#o4">uNxtSeqno</a>; <a name="l00061"></a><a class="code" href="structsbMesgObject.html#o5">00061</a> <span class="keywordtype">char</span>* <a class="code" href="structsbMesgObject.html#o5">szRawBuf</a>; <a name="l00062"></a><a class="code" href="structsbMesgObject.html#o6">00062</a> <span class="keywordtype">char</span>* <a class="code" href="structsbMesgObject.html#o6">szMIMEHdr</a>; <a name="l00063"></a><a class="code" href="structsbMesgObject.html#o7">00063</a> <span class="keywordtype">char</span>* <a class="code" href="structsbMesgObject.html#o7">szActualPayload</a>; <a name="l00069"></a><a class="code" href="structsbMesgObject.html#o8">00069</a> <span class="keywordtype">int</span> <a class="code" href="structsbMesgObject.html#o8">bRawDirty</a>; <a name="l00077"></a><a class="code" href="structsbMesgObject.html#o9">00077</a> <span class="keywordtype">int</span> <a class="code" href="structsbMesgObject.html#o9">iPayloadSize</a>; <a name="l00078"></a><a class="code" href="structsbMesgObject.html#o10">00078</a> <span class="keywordtype">int</span> <a class="code" href="structsbMesgObject.html#o10">iMIMEHdrSize</a>; <a name="l00079"></a><a class="code" href="structsbMesgObject.html#o11">00079</a> <span class="keywordtype">int</span> <a class="code" href="structsbMesgObject.html#o11">iOverallSize</a>; 00080 }; 00081 <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsbMesgObject.html">sbMesgObject</a> sbMesgObj; 00082 00083 <span class="keywordtype">char</span>* <a class="code" href="beepmessage_8c.html#a0">sbMesgGetRawBuf</a>(sbMesgObj* pThis); 00084 <span class="keywordtype">int</span> <a class="code" href="beepmessage_8c.html#a1">sbMesgGetMIMEHdrSize</a>(sbMesgObj* pThis); 00085 <span class="keywordtype">int</span> <a class="code" href="beepmessage_8c.html#a2">sbMesgGetPayloadSize</a>(sbMesgObj* pThis); 00086 <span class="keywordtype">int</span> <a class="code" href="beepmessage_8c.html#a3">sbMesgGetOverallSize</a>(sbMesgObj* pThis); 00095 sbMesgObj* <a class="code" href="beepmessage_8h.html#a7">sbMesgConstrFromFrame</a>(<span class="keyword">struct</span> <a class="code" href="structsbFramObject.html">sbFramObject</a>* psbFram); 00096 00109 sbMesgObj* <a class="code" href="beepmessage_8c.html#a4">sbMesgConstruct</a>(<span class="keywordtype">char</span>* pszMIMEHdr, <span class="keywordtype">char</span> *pszPayload); 00110 00120 sbMesgObj* <a class="code" href="beepmessage_8c.html#a6">sbMesgRecvMesg</a>(<a class="code" href="structsbChanObject.html">sbChanObj</a>*); 00121 00122 00145 <a class="code" href="liblogging_8h.html#a6">srRetVal</a> <a class="code" href="beepmessage_8c.html#a5">sbMIMEExtract</a>(<span class="keywordtype">char</span> *pszInBuf, <span class="keywordtype">int</span> iInBufLen, <span class="keywordtype">char</span> **pszMIMEHdr, <span class="keywordtype">char</span>** pszPayload); 00146 00147 00160 <a class="code" href="liblogging_8h.html#a6">srRetVal</a> <a class="code" href="beepmessage_8h.html#a11">sbMesgSendMesgWithCallback</a>(sbMesgObj* pThis, <a class="code" href="structsbChanObject.html">sbChanObj</a>* pChan, <span class="keywordtype">char</span> *pszCmd, SBansno uAnsno, <span class="keywordtype">void</span> (*OnFramDestroy)(<span class="keyword">struct</span> <a class="code" href="structsbFramObject.html">sbFramObject</a>*), <span class="keywordtype">void</span>* pUsr); 00161 00166 <a class="code" href="liblogging_8h.html#a6">srRetVal</a> <a class="code" href="beepmessage_8c.html#a9">sbMesgSendMesg</a>(sbMesgObj* pThis, <a class="code" href="structsbChanObject.html">sbChanObj</a>* pChan, <span class="keywordtype">char</span> *pszCmd, SBansno); 00167 00172 <span class="keywordtype">void</span> <a class="code" href="beepmessage_8c.html#a10">sbMesgDestroy</a>(sbMesgObj *pThis); 00173 00174 <span class="preprocessor">#endif</span> </pre></div><hr size="1"><address style="align: right;"><small>Generated on Mon Oct 3 12:29:55 2005 for liblogging by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border=0 > </a>1.3.2 </small></address> </body> </html>