Sophie

Sophie

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

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

<!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>private.h Source File</title>
<link href="doxygen.css" rel="stylesheet" type="text/css">
</head><body bgcolor="#ffffff">
<!-- Generated by Doxygen 1.2.10 -->
<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_8h.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 "config.h"</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 &lt;cc++/config.h&gt;</font>
00053 <font class="preprocessor">#include &lt;cc++/socket.h&gt;</font>
00054 <font class="preprocessor">#include &lt;cc++/export.h&gt;</font>
00055 <font class="preprocessor">#include "<a class="code" href="rtp_8h.html">rtp.h</a>"</font>
00056 <font class="preprocessor">#include "<a class="code" href="rtpext_8h.html">rtpext.h</a>"</font>
00057 
00058 <font class="comment">// This is only of interest for developers, so it is included only if</font>
00059 <font class="comment">// --with-nana flag is given to configure</font>
00060 <font class="preprocessor">#ifdef HAVE_LIBNANA</font>
00061 <font class="preprocessor"></font><font class="preprocessor">#   include "nana.h"</font>
00062 <font class="preprocessor">#   include "DL.h"</font>
00063 <font class="preprocessor">#else</font>
<a name="l00064"></a><a class="code" href="private_8h.html#a0">00064</a> <font class="preprocessor"></font><font class="preprocessor">#   define I(e)    </font><font class="comment">/* empty */</font>
<a name="l00065"></a><a class="code" href="private_8h.html#a1">00065</a> <font class="preprocessor">#   define DL(e)   </font><font class="comment">/* empty */</font>
<a name="l00066"></a><a class="code" href="private_8h.html#a2">00066</a> <font class="preprocessor">#   define VDL(e)  </font><font class="comment">/* empty */</font>
00067 <font class="preprocessor">#endif</font>
00068 <font class="preprocessor"></font>
00069 <font class="preprocessor">#ifdef   HAVE_CSTDLIB</font>
00070 <font class="preprocessor"></font><font class="preprocessor">#include &lt;cstdlib&gt;</font>
00071 <font class="preprocessor">#else</font>
00072 <font class="preprocessor"></font><font class="preprocessor">#   ifdef   HAVE_STDLIB_H</font>
00073 <font class="preprocessor"></font><font class="preprocessor">#      include &lt;stdlib.h&gt;</font>
00074 <font class="preprocessor">#   else</font>
00075 <font class="preprocessor"></font><font class="preprocessor">#      warning "Your system does not have cstdlib nor stdlib.h"</font>
00076 <font class="preprocessor"></font><font class="preprocessor">#define getenv(w) ("unidentifiable_user")</font>
00077 <font class="preprocessor"></font><font class="preprocessor">#   endif //HAVE_STDLIB_H</font>
00078 <font class="preprocessor"></font><font class="preprocessor">#endif //HAVE_CSTDLIB</font>
00079 <font class="preprocessor"></font>
00080 <font class="preprocessor">#ifdef HAVE_SYS_UTSNAME_H</font>
00081 <font class="preprocessor"></font><font class="preprocessor">#   include &lt;sys/utsname.h&gt;</font>
00082 <font class="preprocessor">#else</font>
00083 <font class="preprocessor"></font><font class="preprocessor">#   error "Portability problem: you do not have sys/utsname.h"</font>
00084 <font class="preprocessor"></font><font class="preprocessor">#endif</font>
00085 <font class="preprocessor"></font>
00086 <font class="preprocessor">#ifdef  CCXX_NAMESPACES</font>
00087 <font class="preprocessor"></font><font class="keyword">namespace </font>ost {
00088 <font class="preprocessor">#endif</font>
00089 <font class="preprocessor"></font>
00090 <font class="comment">// This is for the main page in Doxygen documentation</font>
00099 <font class="comment"></font><font class="comment">// This will make doxygen to generate example descriptions</font>
00120 <font class="comment"></font><font class="preprocessor">#pragma pack(1)</font>
00121 <font class="preprocessor"></font>
<a name="l00129"></a><a class="code" href="struct_receiver_info.html">00129</a>  <font class="keyword">struct </font><a class="code" href="struct_receiver_info.html">ReceiverInfo</a>
00130 {
<a name="l00131"></a><a class="code" href="struct_receiver_info.html#m0">00131</a>         uint8 flost;
<a name="l00132"></a><a class="code" href="struct_receiver_info.html#m1">00132</a>         uint8 lost_msb;
<a name="l00133"></a><a class="code" href="struct_receiver_info.html#m2">00133</a>         uint16 lost_lsb;
<a name="l00134"></a><a class="code" href="struct_receiver_info.html#m3">00134</a>         uint32 highest_seqnum;
<a name="l00135"></a><a class="code" href="struct_receiver_info.html#m4">00135</a>         uint32 jitter;
<a name="l00136"></a><a class="code" href="struct_receiver_info.html#m5">00136</a>         uint32 lsr;
<a name="l00137"></a><a class="code" href="struct_receiver_info.html#m6">00137</a>         uint32 dlsr;
00138 }       ;
00139 
<a name="l00146"></a><a class="code" href="struct_r_r_block.html">00146</a> <font class="keyword">typedef</font> <font class="keyword">struct </font>
00147 <font class="keyword"></font>{
<a name="l00148"></a><a class="code" href="struct_r_r_block.html#m0">00148</a>         uint32 ssrc;                   
<a name="l00149"></a><a class="code" href="struct_r_r_block.html#m1">00149</a>         <a class="code" href="struct_receiver_info.html">ReceiverInfo</a> rinfo;
00150 }       <a class="code" href="struct_r_r_block.html">RRBlock</a>;
00151 
<a name="l00158"></a><a class="code" href="struct_recv_report.html">00158</a> <font class="keyword">typedef</font> <font class="keyword">struct </font>
00159 <font class="keyword"></font>{
<a name="l00160"></a><a class="code" href="struct_recv_report.html#m0">00160</a>         uint32 ssrc;                    
<a name="l00161"></a><a class="code" href="struct_recv_report.html#m1">00161</a>         <a class="code" href="struct_r_r_block.html">RRBlock</a> blocks [0];             
00162 }       <a class="code" href="struct_recv_report.html">RecvReport</a>;
00163 
<a name="l00169"></a><a class="code" href="struct_sender_info.html">00169</a>  <font class="keyword">struct </font><a class="code" href="struct_sender_info.html">SenderInfo</a>
00170 {
<a name="l00171"></a><a class="code" href="struct_sender_info.html#m0">00171</a>         uint32 NTP_msb;
<a name="l00172"></a><a class="code" href="struct_sender_info.html#m1">00172</a>         uint32 NTP_lsb;
<a name="l00173"></a><a class="code" href="struct_sender_info.html#m2">00173</a>         uint32 RTPtimestamp;
<a name="l00174"></a><a class="code" href="struct_sender_info.html#m3">00174</a>         uint32 packet_count;
<a name="l00175"></a><a class="code" href="struct_sender_info.html#m4">00175</a>         uint32 octet_count;
00176 }       ;
00177 
<a name="l00183"></a><a class="code" href="struct_send_report.html">00183</a> <font class="keyword">typedef</font> <font class="keyword">struct </font>
00184 <font class="keyword"></font>{
<a name="l00185"></a><a class="code" href="struct_send_report.html#m0">00185</a>         uint32 ssrc;              
<a name="l00186"></a><a class="code" href="struct_send_report.html#m1">00186</a>         <a class="code" href="struct_sender_info.html">SenderInfo</a> sinfo;         
<a name="l00187"></a><a class="code" href="struct_send_report.html#m2">00187</a>         <a class="code" href="struct_r_r_block.html">RRBlock</a> blocks [0];        
00188 }       <a class="code" href="struct_send_report.html">SendReport</a>;
00189 
<a name="l00195"></a><a class="code" href="struct_s_d_e_s_item.html">00195</a> <font class="keyword">typedef</font> <font class="keyword">struct </font>
00196 <font class="keyword"></font>{
<a name="l00197"></a><a class="code" href="struct_s_d_e_s_item.html#m0">00197</a>         uint8 type;
<a name="l00198"></a><a class="code" href="struct_s_d_e_s_item.html#m1">00198</a>         uint8 len;
00199 }       <a class="code" href="struct_s_d_e_s_item.html">SDESItem</a>;
00200 
<a name="l00206"></a><a class="code" href="struct_s_d_e_s_chunk.html">00206</a> <font class="keyword">typedef</font> <font class="keyword">struct </font>
00207 <font class="keyword"></font>{
<a name="l00208"></a><a class="code" href="struct_s_d_e_s_chunk.html#m0">00208</a>         uint32 ssrc;
<a name="l00209"></a><a class="code" href="struct_s_d_e_s_chunk.html#m1">00209</a>         <a class="code" href="struct_s_d_e_s_item.html">SDESItem</a> item;
00210 }       <a class="code" href="struct_s_d_e_s_chunk.html">SDESChunk</a>;
00211 
<a name="l00217"></a><a class="code" href="struct_b_y_e_packet.html">00217</a> <font class="keyword">typedef</font> <font class="keyword">struct </font>
00218 <font class="keyword"></font>{
<a name="l00219"></a><a class="code" href="struct_b_y_e_packet.html#m0">00219</a>         uint32 ssrc;          
<a name="l00220"></a><a class="code" href="struct_b_y_e_packet.html#m1">00220</a>         uint8 length;         
<a name="l00221"></a><a class="code" href="struct_b_y_e_packet.html#m2">00221</a>         <font class="keywordtype">char</font> reason [0];      
00222 }       <a class="code" href="struct_b_y_e_packet.html">BYEPacket</a>;
00223 
<a name="l00229"></a><a class="code" href="struct_a_p_p_packet.html">00229</a> <font class="keyword">typedef</font> <font class="keyword">struct </font>
00230 <font class="keyword"></font>{
<a name="l00231"></a><a class="code" href="struct_a_p_p_packet.html#m0">00231</a>         uint32 ssrc;          
<a name="l00232"></a><a class="code" href="struct_a_p_p_packet.html#m1">00232</a>         <font class="keywordtype">char</font> name [4];
<a name="l00233"></a><a class="code" href="struct_a_p_p_packet.html#m2">00233</a>         <font class="keywordtype">char</font>* data;
00234 }       <a class="code" href="struct_a_p_p_packet.html">APPPacket</a>;
00235 
<a name="l00246"></a><a class="code" href="struct_r_t_c_p_packet.html">00246</a> <font class="keyword">struct </font><a class="code" href="struct_r_t_c_p_packet.html">RTCPPacket</a>
00247 {
<a name="l00248"></a><a class="code" href="struct_r_t_c_p_packet.html#m0">00248</a>         <a class="code" href="struct_r_t_c_p_fixed_header.html">RTCPFixedHeader</a> fh;           
00249         <font class="keyword">union </font>
00250 <font class="keyword">        </font>{
<a name="l00251"></a><a class="code" href="struct_r_t_c_p_packet.html#m1">00251</a>                 <a class="code" href="struct_send_report.html">SendReport</a> SR;
<a name="l00252"></a><a class="code" href="struct_r_t_c_p_packet.html#m2">00252</a>                 <a class="code" href="struct_recv_report.html">RecvReport</a> RR;
<a name="l00253"></a><a class="code" href="struct_r_t_c_p_packet.html#m3">00253</a>                 <a class="code" href="struct_s_d_e_s_chunk.html">SDESChunk</a> SDES; 
<a name="l00254"></a><a class="code" href="struct_r_t_c_p_packet.html#m4">00254</a>                 <a class="code" href="struct_b_y_e_packet.html">BYEPacket</a> BYE;
<a name="l00255"></a><a class="code" href="struct_r_t_c_p_packet.html#m5">00255</a>                 <a class="code" href="struct_a_p_p_packet.html">APPPacket</a> APP;
00256         }       info;                 
00257 }       ;
00258 
00259 <font class="preprocessor">#pragma pack()</font>
00260 <font class="preprocessor"></font>
00261 <font class="preprocessor">#ifdef  CCXX_NAMESPACES</font>
00262 <font class="preprocessor"></font>};
00263 <font class="preprocessor">#endif</font>
00264 <font class="preprocessor"></font>
</pre></div><hr><address><small>Generated at Sat Jan 5 09:08:53 2002 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.10 written by <a href="mailto:dimitri@stack.nl">Dimitri van Heesch</a>,
 &copy;&nbsp;1997-2001</small></address>
</body>
</html>