Sophie

Sophie

distrib > Mandriva > 8.2 > i586 > media > contrib > by-pkgid > 56ebf73a8cc21535297a85df4640d63b > files > 166

libccrtp0.7-0.7.2-1mdk.i586.rpm

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html><head><meta name="robots" content="noindex">
<meta http-equiv="Content-Type" content="text/html;charset=iso-8859-1">
<title>private.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.2.5 on Fri Oct 5 10:28:25 2001 -->
<center>
<a class="qindex" href="index.html">Main Page</a> &nbsp; <a class="qindex" href="hierarchy.html">Class Hierarchy</a> &nbsp; <a class="qindex" href="classes.html">Alphabetical List</a> &nbsp; <a class="qindex" href="annotated.html">Compound List</a> &nbsp; <a class="qindex" href="files.html">File List</a> &nbsp; <a class="qindex" href="functions.html">Compound Members</a> &nbsp; <a class="qindex" href="globals.html">File Members</a> &nbsp; <a class="qindex" href="pages.html">Related Pages</a> &nbsp; <a class="qindex" href="examples.html">Examples</a> &nbsp; </center>
<hr><h1>private.h</h1><a href="private_h.html">Go to the documentation of this file.</a><div class="fragment"><pre>00001 <font class="comment">// Copyright (C) 1999-2001 Open Source Telecom Corporation.</font>
00002 <font class="comment">//  </font>
00003 <font class="comment">// This program is free software; you can redistribute it and/or modify</font>
00004 <font class="comment">// it under the terms of the GNU General Public License as published by</font>
00005 <font class="comment">// the Free Software Foundation; either version 2 of the License, or</font>
00006 <font class="comment">// (at your option) any later version.</font>
00007 <font class="comment">// </font>
00008 <font class="comment">// This program is distributed in the hope that it will be useful,</font>
00009 <font class="comment">// but WITHOUT ANY WARRANTY; without even the implied warranty of</font>
00010 <font class="comment">// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the</font>
00011 <font class="comment">// GNU General Public License for more details.</font>
00012 <font class="comment">// </font>
00013 <font class="comment">// You should have received a copy of the GNU General Public License</font>
00014 <font class="comment">// along with this program; if not, write to the Free Software </font>
00015 <font class="comment">// Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.</font>
00016 <font class="comment">// </font>
00017 <font class="comment">// As a special exception to the GNU General Public License, permission is </font>
00018 <font class="comment">// granted for additional uses of the text contained in its release </font>
00019 <font class="comment">// of ccRTP.</font>
00020 <font class="comment">// </font>
00021 <font class="comment">// The exception is that, if you link the ccRTP library with other</font>
00022 <font class="comment">// files to produce an executable, this does not by itself cause the</font>
00023 <font class="comment">// resulting executable to be covered by the GNU General Public License.</font>
00024 <font class="comment">// Your use of that executable is in no way restricted on account of</font>
00025 <font class="comment">// linking the ccRTP library code into it.</font>
00026 <font class="comment">// </font>
00027 <font class="comment">// This exception does not however invalidate any other reasons why</font>
00028 <font class="comment">// the executable file might be covered by the GNU General Public License.</font>
00029 <font class="comment">// </font>
00030 <font class="comment">// This exception applies only to the code released under the </font>
00031 <font class="comment">// name ccRTP.  If you copy code from other releases into a copy of</font>
00032 <font class="comment">// ccRTP, as the General Public License permits, the exception does</font>
00033 <font class="comment">// not apply to the code that you add in this way.  To avoid misleading</font>
00034 <font class="comment">// anyone as to the status of such modified files, you must delete</font>
00035 <font class="comment">// this exception notice from them.</font>
00036 <font class="comment">// </font>
00037 <font class="comment">// If you write modifications of your own for ccRTP, it is your choice</font>
00038 <font class="comment">// whether to permit this exception to apply to your modifications.</font>
00039 <font class="comment">// If you do not wish that, delete this exception notice.  </font>
00040 
00049 <font class="preprocessor">#include "<a class="code" href="config_h.html">config.h</a>"</font>
00050 <font class="preprocessor">#undef  PACKAGE</font>
00051 <font class="preprocessor"></font><font class="preprocessor">#undef  VERSION</font>
00052 <font class="preprocessor"></font><font class="preprocessor">#include "<a class="code" href="rtp_h.html">rtp.h</a>"</font>
00053 <font class="preprocessor">#include "<a class="code" href="rtpext_h.html">rtpext.h</a>"</font>
00054 
00055 <font class="comment">// This is only of interest for developers, so it is included only if</font>
00056 <font class="comment">// --with-nana flag is given to configure</font>
00057 <font class="preprocessor">#ifdef HAVE_LIBNANA</font>
00058 <font class="preprocessor"></font><font class="preprocessor">#   include "nana.h"</font>
00059 <font class="preprocessor">#   include "DL.h"</font>
00060 <font class="preprocessor">#else</font>
00061 <font class="preprocessor"></font><font class="preprocessor">#   define I(e)    </font><font class="comment">/* empty */</font>
00062 <font class="preprocessor">#   define DL(e)   </font><font class="comment">/* empty */</font>
00063 <font class="preprocessor">#   define VDL(e)  </font><font class="comment">/* empty */</font>
00064 <font class="preprocessor">#endif</font>
00065 <font class="preprocessor"></font>
00066 <font class="preprocessor">#ifdef   HAVE_CSTDLIB</font>
00067 <font class="preprocessor"></font><font class="preprocessor">#include &lt;cstdlib&gt;</font>
00068 <font class="preprocessor">#else</font>
00069 <font class="preprocessor"></font><font class="preprocessor">#   ifdef   HAVE_STDLIB_H</font>
00070 <font class="preprocessor"></font><font class="preprocessor">#      include &lt;stdlib.h&gt;</font>
00071 <font class="preprocessor">#   else</font>
00072 <font class="preprocessor"></font><font class="preprocessor">#      warning "Your system does not have cstdlib nor stdlib.h"</font>
00073 <font class="preprocessor"></font><font class="preprocessor">#define getenv(w) ("unidentifiable_user")</font>
00074 <font class="preprocessor"></font><font class="preprocessor">#   endif //HAVE_STDLIB_H</font>
00075 <font class="preprocessor"></font><font class="preprocessor">#endif //HAVE_CSTDLIB</font>
00076 <font class="preprocessor"></font>
00077 <font class="preprocessor">#ifdef HAVE_SYS_UTSNAME_H</font>
00078 <font class="preprocessor"></font><font class="preprocessor">#   include &lt;sys/utsname.h&gt;</font>
00079 <font class="preprocessor">#else</font>
00080 <font class="preprocessor"></font><font class="preprocessor">#   error "Portability problem: you do not have sys/utsname.h"</font>
00081 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
00082 <font class="preprocessor"></font>
00083 
00084 
00085 
00086 <font class="comment">// This is for the main page in Doxygen documentation</font>
00095 <font class="comment"></font><font class="comment">// This will make doxygen to generate example descriptions</font>
00112 <font class="comment"></font><font class="preprocessor">#pragma pack(1)</font>
<a name="l00113"></a><a class="code" href="struct_ReceiverInfo.html">00113</a> <font class="preprocessor"></font><font class="keyword">struct </font><a class="code" href="struct_ReceiverInfo.html">ReceiverInfo</a>
00114 {
<a name="l00115"></a><a class="code" href="struct_ReceiverInfo.html#m0">00115</a>         uint8 flost;
<a name="l00116"></a><a class="code" href="struct_ReceiverInfo.html#m1">00116</a>         uint8 lost_msb;
<a name="l00117"></a><a class="code" href="struct_ReceiverInfo.html#m2">00117</a>         uint16 lost_lsb;
<a name="l00118"></a><a class="code" href="struct_ReceiverInfo.html#m3">00118</a>         uint32 highest_seqnum;
<a name="l00119"></a><a class="code" href="struct_ReceiverInfo.html#m4">00119</a>         uint32 jitter;
<a name="l00120"></a><a class="code" href="struct_ReceiverInfo.html#m5">00120</a>         uint32 lsr;
<a name="l00121"></a><a class="code" href="struct_ReceiverInfo.html#m6">00121</a>         uint32 dlsr;
00122 };
00123 
<a name="l00127"></a><a class="code" href="struct_RRBlock.html">00127</a> <font class="keyword">typedef</font> <font class="keyword">struct </font>
00128 <font class="keyword"></font>{
<a name="l00129"></a><a class="code" href="struct_RRBlock.html#m0">00129</a>         uint32 ssrc;
<a name="l00130"></a><a class="code" href="struct_RRBlock.html#m1">00130</a>         <a class="code" href="struct_ReceiverInfo.html">ReceiverInfo</a> rinfo;
00131 }       <a class="code" href="struct_RRBlock.html">RRBlock</a>;
00132 
<a name="l00136"></a><a class="code" href="struct_SenderInfo.html">00136</a> <font class="keyword">struct </font><a class="code" href="struct_SenderInfo.html">SenderInfo</a>
00137 {
<a name="l00138"></a><a class="code" href="struct_SenderInfo.html#m0">00138</a>         uint32 NTP_msb;
<a name="l00139"></a><a class="code" href="struct_SenderInfo.html#m1">00139</a>         uint32 NTP_lsb;
<a name="l00140"></a><a class="code" href="struct_SenderInfo.html#m2">00140</a>         uint32 RTPtimestamp;
<a name="l00141"></a><a class="code" href="struct_SenderInfo.html#m3">00141</a>         uint32 packet_count;
<a name="l00142"></a><a class="code" href="struct_SenderInfo.html#m4">00142</a>         uint32 octet_count;
00143 };
00144 
<a name="l00148"></a><a class="code" href="struct_SendReport.html">00148</a> <font class="keyword">typedef</font> <font class="keyword">struct </font>
00149 <font class="keyword"></font>{
<a name="l00150"></a><a class="code" href="struct_SendReport.html#m0">00150</a>         uint32 ssrc;
<a name="l00151"></a><a class="code" href="struct_SendReport.html#m1">00151</a>         <a class="code" href="struct_SenderInfo.html">SenderInfo</a> sinfo;
<a name="l00152"></a><a class="code" href="struct_SendReport.html#m2">00152</a>         <a class="code" href="struct_RRBlock.html">RRBlock</a> blocks [];
00153 }       <a class="code" href="struct_SendReport.html">SendReport</a>;
00154 
<a name="l00161"></a><a class="code" href="struct_RecvReport.html">00161</a> <font class="keyword">typedef</font> <font class="keyword">struct </font>
00162 <font class="keyword"></font>{
<a name="l00163"></a><a class="code" href="struct_RecvReport.html#m0">00163</a>         uint32 ssrc;
<a name="l00164"></a><a class="code" href="struct_RecvReport.html#m1">00164</a>         <a class="code" href="struct_RRBlock.html">RRBlock</a> blocks [];
00165 }       <a class="code" href="struct_RecvReport.html">RecvReport</a>;
00166 
<a name="l00170"></a><a class="code" href="struct_SDESItem.html">00170</a> <font class="keyword">typedef</font> <font class="keyword">struct </font>
00171 <font class="keyword"></font>{
<a name="l00172"></a><a class="code" href="struct_SDESItem.html#m0">00172</a>         uint8 type;
<a name="l00173"></a><a class="code" href="struct_SDESItem.html#m1">00173</a>         uint8 len;
00174 }       <a class="code" href="struct_SDESItem.html">SDESItem</a>;
00175 
<a name="l00176"></a><a class="code" href="struct_SDESChunk.html">00176</a> <font class="keyword">typedef</font> <font class="keyword">struct </font>
00177 <font class="keyword"></font>{
<a name="l00178"></a><a class="code" href="struct_SDESChunk.html#m0">00178</a>         uint32 ssrc;
<a name="l00179"></a><a class="code" href="struct_SDESChunk.html#m1">00179</a>         <a class="code" href="struct_SDESItem.html">SDESItem</a> item;
00180 }       <a class="code" href="struct_SDESChunk.html">SDESChunk</a>;
00181 
<a name="l00182"></a><a class="code" href="struct_BYEPacket.html">00182</a> <font class="keyword">typedef</font> <font class="keyword">struct </font>
00183 <font class="keyword"></font>{
<a name="l00184"></a><a class="code" href="struct_BYEPacket.html#m0">00184</a>         uint32 ssrc;          
<a name="l00185"></a><a class="code" href="struct_BYEPacket.html#m1">00185</a>         uint8 length;         
00186 }       <a class="code" href="struct_BYEPacket.html">BYEPacket</a>;
00187 
<a name="l00188"></a><a class="code" href="struct_APPPacket.html">00188</a> <font class="keyword">typedef</font> <font class="keyword">struct </font>
00189 <font class="keyword"></font>{
<a name="l00190"></a><a class="code" href="struct_APPPacket.html#m0">00190</a>         <font class="keywordtype">char</font> name [4];
<a name="l00191"></a><a class="code" href="struct_APPPacket.html#m1">00191</a>         <font class="keywordtype">char</font>* data;
00192 }       <a class="code" href="struct_APPPacket.html">APPPacket</a>;
00193 
<a name="l00197"></a><a class="code" href="struct_RTCPPacket.html">00197</a> <font class="keyword">struct </font><a class="code" href="struct_RTCPPacket.html">RTCPPacket</a>
00198 {
<a name="l00199"></a><a class="code" href="struct_RTCPPacket.html#m0">00199</a>         <a class="code" href="struct_RTCPFixedHeader.html">RTCPFixedHeader</a> fh;
00200         <font class="keyword">union </font>
00201 <font class="keyword">        </font>{
<a name="l00202"></a><a class="code" href="struct_RTCPPacket.html#m1">00202</a>                 <a class="code" href="struct_SendReport.html">SendReport</a> SR;
<a name="l00203"></a><a class="code" href="struct_RTCPPacket.html#m2">00203</a>                 <a class="code" href="struct_RecvReport.html">RecvReport</a> RR;
<a name="l00204"></a><a class="code" href="struct_RTCPPacket.html#m3">00204</a>                 <a class="code" href="struct_SDESChunk.html">SDESChunk</a> SDES; 
<a name="l00205"></a><a class="code" href="struct_RTCPPacket.html#m4">00205</a>                 <a class="code" href="struct_BYEPacket.html">BYEPacket</a> BYE;
<a name="l00206"></a><a class="code" href="struct_RTCPPacket.html#m5">00206</a>                 <a class="code" href="struct_APPPacket.html">APPPacket</a> APP;
00207         }       info;
00208 };
00209 
<a name="l00213"></a><a class="code" href="struct_BYEHeader.html">00213</a> <font class="keyword">typedef</font> <font class="keyword">struct </font>{
<a name="l00214"></a><a class="code" href="struct_BYEHeader.html#m0">00214</a>         <a class="code" href="struct_RTCPFixedHeader.html">RTCPFixedHeader</a> fh;
<a name="l00215"></a><a class="code" href="struct_BYEHeader.html#m1">00215</a>         uint32 ssrc;          
<a name="l00216"></a><a class="code" href="struct_BYEHeader.html#m2">00216</a>         uint8 length;         
<a name="l00217"></a><a class="code" href="struct_BYEHeader.html#m3">00217</a>         <font class="keywordtype">char</font> <font class="keyword">const</font> reason[];  
00218 }       <a class="code" href="struct_BYEHeader.html">BYEHeader</a>;
00219 
<a name="l00220"></a><a class="code" href="struct_RTCPAPPHeader.html">00220</a> <font class="keyword">typedef</font> <font class="keyword">struct </font>{
<a name="l00221"></a><a class="code" href="struct_RTCPAPPHeader.html#m0">00221</a>         <a class="code" href="struct_RTCPFixedHeader.html">RTCPFixedHeader</a> fh;
<a name="l00222"></a><a class="code" href="struct_RTCPAPPHeader.html#m1">00222</a>         uint32 ssrc;
<a name="l00223"></a><a class="code" href="struct_RTCPAPPHeader.html#m2">00223</a>         <font class="keywordtype">char</font> name[4];
00224 }       <a class="code" href="struct_RTCPAPPHeader.html">RTCPAPPHeader</a>;
00225 <font class="preprocessor">#pragma pack()</font>
00226 <font class="preprocessor"></font>
</div></pre><hr><address><small>Generated at Fri Oct 5 10:28:25 2001 for ccRTP by
<a href="http://www.doxygen.org/index.html">
<img src="doxygen.gif" alt="doxygen" align="middle" border=0 
width=110 height=53></a>1.2.5 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
 &copy;&nbsp;1997-2001</small></address>
</body>
</html>