<!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: beeplisten.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>beeplisten.h</h1><a href="beeplisten_8h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 00045 <span class="preprocessor">#ifndef __LIB3195_BEEPLISTEN_H_INCLUDED__</span> 00046 <span class="preprocessor"></span><span class="preprocessor">#define __LIB3195_BEEPLISTEN_H_INCLUDED__ 1</span> 00047 <span class="preprocessor"></span><span class="preprocessor">#define sbLstnCHECKVALIDOBJECT(x) {assert(x != NULL); assert(x->OID == OIDsbLstn);}</span> 00048 <span class="preprocessor"></span> <a name="l00052"></a><a class="code" href="structsbLstnObject.html">00052</a> <span class="keyword">struct </span><a class="code" href="structsbLstnObject.html">sbLstnObject</a> 00053 { <a name="l00054"></a><a class="code" href="structsbLstnObject.html#o0">00054</a> srObjID <a class="code" href="structsbLstnObject.html#o0">OID</a>; <a name="l00055"></a><a class="code" href="structsbLstnObject.html#o1">00055</a> <span class="keyword">struct </span><a class="code" href="structsbSockObject.html">sbSockObject</a>* pSockListening; <a name="l00056"></a><a class="code" href="structsbLstnObject.html#o2">00056</a> <span class="keyword">struct </span>sbNVTRObject* pRootSessions; <a name="l00057"></a><a class="code" href="structsbLstnObject.html#o3">00057</a> <span class="keyword">struct </span>sbNVTRObject* pProfsSupported; <a name="l00058"></a><a class="code" href="structsbLstnObject.html#o4">00058</a> <span class="keywordtype">char</span>* <a class="code" href="structsbLstnObject.html#o4">szListenAddr</a>; <a name="l00059"></a><a class="code" href="structsbLstnObject.html#o5">00059</a> <span class="keywordtype">unsigned</span> <a class="code" href="structsbLstnObject.html#o5">uListenPort</a>; <a name="l00060"></a><a class="code" href="structsbLstnObject.html#o6">00060</a> <span class="keywordtype">int</span> <a class="code" href="structsbLstnObject.html#o6">bRun</a>; <a name="l00061"></a><a class="code" href="structsbLstnObject.html#o7">00061</a> <span class="keywordtype">int</span> <a class="code" href="structsbLstnObject.html#o7">bLstnBEEP</a>; <a name="l00062"></a><a class="code" href="structsbLstnObject.html#o8">00062</a> <span class="keyword">struct </span><a class="code" href="structsrAPIObject.html">srAPIObject</a> *pAPI; 00063 <span class="preprocessor"># if FEATURE_UDP == 1</span> 00064 <span class="preprocessor"></span> <span class="comment">/* now come the selectors for different listeners. Remember, we are no</span> 00065 <span class="comment"> * longer BEEP only (2003-09-29 RGerhards)</span> 00066 <span class="comment"> */</span> 00067 <span class="keywordtype">int</span> bLstnUDP; 00068 <span class="keywordtype">unsigned</span> uUDPLstnPort; 00069 <span class="keyword">struct </span><a class="code" href="structsbSockObject.html">sbSockObject</a>* pSockUDPListening; 00070 <span class="preprocessor"># endif </span><span class="comment">/* FEATURE_UDP */</span> 00071 <span class="preprocessor"># if FEATURE_UNIX_DOMAIN_SOCKETS == 1</span> 00072 <span class="preprocessor"></span> <span class="comment">/* now come the selectors for different listeners. Remember, we are no</span> 00073 <span class="comment"> * longer BEEP only (2003-09-29 RGerhards)</span> 00074 <span class="comment"> */</span> 00075 <span class="keywordtype">int</span> bLstnUXDOMSOCK; 00076 <span class="keywordtype">char</span> *pSockName; 00077 <span class="keyword">struct </span><a class="code" href="structsbSockObject.html">sbSockObject</a>* pSockUXDOMSOCKListening; 00078 <span class="preprocessor"># endif </span><span class="comment">/* FEATURE_UNIX_DOMAIN_SOCKETS */</span> 00079 }; 00080 <span class="keyword">typedef</span> <span class="keyword">struct </span><a class="code" href="structsbLstnObject.html">sbLstnObject</a> sbLstnObj; 00081 00082 00093 <a class="code" href="liblogging_8h.html#a6">srRetVal</a> <a class="code" href="beeplisten_8c.html#a12">sbLstnInit</a>(sbLstnObj* pThis); 00094 00101 <a class="code" href="liblogging_8h.html#a6">srRetVal</a> <a class="code" href="beeplisten_8c.html#a13">sbLstnRun</a>(sbLstnObj* pThis); 00102 00106 <a class="code" href="liblogging_8h.html#a6">srRetVal</a> <a class="code" href="beeplisten_8c.html#a14">sbLstnExit</a>(sbLstnObj *pThis); 00107 00108 00114 <a class="code" href="liblogging_8h.html#a6">srRetVal</a> <a class="code" href="beeplisten_8h.html#a6">sbLstnAddProfile</a>(<span class="keyword">struct</span> <a class="code" href="structsbLstnObject.html">sbLstnObject</a> *pThis, <span class="keyword">struct</span> <a class="code" href="structsbProfObject.html">sbProfObject</a> *pProf); 00115 00119 <a class="code" href="liblogging_8h.html#a6">srRetVal</a> <a class="code" href="beeplisten_8c.html#a14">sbLstnExit</a>(sbLstnObj *pThis); 00120 00124 <span class="keywordtype">void</span> <a class="code" href="beeplisten_8c.html#a11">sbLstnDestroy</a>(sbLstnObj* pThis); 00125 00136 sbLstnObj* <a class="code" href="beeplisten_8c.html#a10">sbLstnConstruct</a>(<span class="keywordtype">void</span>); 00137 00138 <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>