<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html><head><meta http-equiv="Content-Type" content="text/html;charset=UTF-8"> <title>DTN Reference Implementation: Announce.h File Reference</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.6 --> <div class="navigation" id="top"> <div class="tabs"> <ul> <li><a href="main.html"><span>Main Page</span></a></li> <li><a href="namespaces.html"><span>Namespaces</span></a></li> <li><a href="annotated.html"><span>Classes</span></a></li> <li class="current"><a href="files.html"><span>Files</span></a></li> </ul> </div> </div> <div class="contents"> <h1>Announce.h File Reference</h1> <p> <code>#include <oasys/debug/Log.h></code><br> <code>#include <oasys/thread/Timer.h></code><br> <code>#include <string></code><br> <code>#include "<a class="el" href="EndpointID_8h-source.html">naming/EndpointID.h</a>"</code><br> <code>#include "<a class="el" href="ConvergenceLayer_8h-source.html">conv_layers/ConvergenceLayer.h</a>"</code><br> <p> <a href="Announce_8h-source.html">Go to the source code of this file.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Namespaces</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">namespace </td><td class="memItemRight" valign="bottom"><a class="el" href="namespacedtn.html">dtn</a></td></tr> <tr><td colspan="2"><br><h2>Classes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">class </td><td class="memItemRight" valign="bottom"><a class="el" href="classdtn_1_1Announce.html">dtn::Announce</a></td></tr> <tr><td class="mdescLeft"> </td><td class="mdescRight"><a class="el" href="classdtn_1_1Announce.html" title="Announce represents a ConvergenceLayer (Interface).">Announce</a> represents a <a class="el" href="classdtn_1_1ConvergenceLayer.html" title="The abstract interface for a convergence layer.">ConvergenceLayer</a> (<a class="el" href="classdtn_1_1Interface.html" title="Abstraction of a local dtn interface.">Interface</a>). <a href="classdtn_1_1Announce.html#_details">More...</a><br></td></tr> <tr><td colspan="2"><br><h2>Defines</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">#define </td><td class="memItemRight" valign="bottom"><a class="el" href="Announce_8h.html#10fb10f052238243f08749f41a8374a6">FOUR_BYTE_ALIGN</a>(x) (((x) % 4) != 0) ? ((x) + (4 - ((x) % 4))) : (x)</td></tr> </table> <hr><h2>Define Documentation</h2> <a class="anchor" name="10fb10f052238243f08749f41a8374a6"></a><!-- doxytag: member="Announce.h::FOUR_BYTE_ALIGN" ref="10fb10f052238243f08749f41a8374a6" args="(x)" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">#define FOUR_BYTE_ALIGN </td> <td>(</td> <td class="paramtype">x </td> <td class="paramname"> </td> <td> ) </td> <td> (((x) % 4) != 0) ? ((x) + (4 - ((x) % 4))) : (x)</td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="Announce_8h-source.html#l00027">27</a> of file <a class="el" href="Announce_8h-source.html">Announce.h</a>.</p> <p>Referenced by <a class="el" href="IPAnnounce_8cc-source.html#l00082">dtn::IPAnnounce::format_advertisement()</a>, <a class="el" href="prophet_2Dictionary_8cc-source.html#l00143">prophet::Dictionary::guess_ribd_size()</a>, <a class="el" href="RIBDTLV_8cc-source.html#l00115">prophet::RIBDTLV::read_ras_entry()</a>, <a class="el" href="HelloTLV_8cc-source.html#l00072">prophet::HelloTLV::serialize()</a>, and <a class="el" href="RIBDTLV_8cc-source.html#l00035">prophet::RIBDTLV::write_ras_entry()</a>.</p> </div> </div><p> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Mon Jul 21 14:09:47 2008 for DTN Reference Implementation by <a href="http://www.doxygen.org/index.html"> <img src="doxygen.png" alt="doxygen" align="middle" border="0"></a> 1.5.6 </small></address> </body> </html>