<!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: dtn_endpoint_id_t Struct Reference</title> <link href="tabs.css" rel="stylesheet" type="text/css"> <link href="doxygen.css" rel="stylesheet" type="text/css"> </head><body> <!-- Generated by Doxygen 1.5.8 --> <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 class="current"><a href="annotated.html"><span>Classes</span></a></li> <li><a href="files.html"><span>Files</span></a></li> </ul> </div> <div class="tabs"> <ul> <li><a href="annotated.html"><span>Class List</span></a></li> <li><a href="hierarchy.html"><span>Class Hierarchy</span></a></li> <li><a href="functions.html"><span>Class Members</span></a></li> </ul> </div> </div> <div class="contents"> <h1>dtn_endpoint_id_t Struct Reference</h1><!-- doxytag: class="dtn_endpoint_id_t" -->Specification of a <a class="el" href="namespacedtn.html" title="Namespace for the dtn daemon source code.">dtn</a> endpoint id, i.e. <a href="#_details">More...</a> <p> <code>#include <<a class="el" href="dtn__types_8h-source.html">dtn_types.h</a>></code> <p> <p> <a href="structdtn__endpoint__id__t-members.html">List of all members.</a><table border="0" cellpadding="0" cellspacing="0"> <tr><td></td></tr> <tr><td colspan="2"><br><h2>Public Attributes</h2></td></tr> <tr><td class="memItemLeft" nowrap align="right" valign="top">char </td><td class="memItemRight" valign="bottom"><a class="el" href="structdtn__endpoint__id__t.html#d2e7d5788ae778c77b4041f1f8b1dc80">uri</a> [DTN_MAX_ENDPOINT_ID]</td></tr> </table> <hr><a name="_details"></a><h2>Detailed Description</h2> Specification of a <a class="el" href="namespacedtn.html" title="Namespace for the dtn daemon source code.">dtn</a> endpoint id, i.e. <p> a URI, implemented as a fixed-length char buffer. Note that for efficiency reasons, this fixed length is relatively small (256 bytes).<p> The alternative is to use the string XDR type but then all endpoint ids would require malloc / free which is more prone to leaks / bugs. <p>Definition at line <a class="el" href="dtn__types_8h-source.html#l00065">65</a> of file <a class="el" href="dtn__types_8h-source.html">dtn_types.h</a>.</p> <hr><h2>Member Data Documentation</h2> <a class="anchor" name="d2e7d5788ae778c77b4041f1f8b1dc80"></a><!-- doxytag: member="dtn_endpoint_id_t::uri" ref="d2e7d5788ae778c77b4041f1f8b1dc80" args="[DTN_MAX_ENDPOINT_ID]" --> <div class="memitem"> <div class="memproto"> <table class="memname"> <tr> <td class="memname">char <a class="el" href="structdtn__endpoint__id__t.html#d2e7d5788ae778c77b4041f1f8b1dc80">dtn_endpoint_id_t::uri</a>[DTN_MAX_ENDPOINT_ID] </td> </tr> </table> </div> <div class="memdoc"> <p> <p>Definition at line <a class="el" href="dtn__types_8h-source.html#l00066">66</a> of file <a class="el" href="dtn__types_8h-source.html">dtn_types.h</a>.</p> <p>Referenced by <a class="el" href="dtn__api__wrap__python_8cc-source.html#l03087">_wrap_dtn_endpoint_id_t_uri_set()</a>, <a class="el" href="EndpointID_8cc-source.html#l00171">dtn::EndpointID::assign()</a>, <a class="el" href="dtn__api__wrap_8cc-source.html#l00085">build_reginfo()</a>, <a class="el" href="EndpointID_8cc-source.html#l00179">dtn::EndpointID::copyto()</a>, <a class="el" href="dtn__api__wrap_8cc-source.html#l00072">dtn_build_local_eid()</a>, <a class="el" href="dtn__api__wrap_8cc-source.html#l00282">dtn_cancel()</a>, <a class="el" href="dtn__api_8c-source.html#l00674">dtn_copy_eid()</a>, <a class="el" href="dtn__api__wrap_8cc-source.html#l00140">dtn_find_registration()</a>, <a class="el" href="dtn__api_8c-source.html#l00681">dtn_parse_eid_string()</a>, <a class="el" href="dtn__api__wrap_8cc-source.html#l00339">dtn_recv()</a>, <a class="el" href="TcaController_8cc-source.html#l00128">TcaController::dtn_reg()</a>, <a class="el" href="dtn__api__wrap_8cc-source.html#l00205">dtn_send()</a>, <a class="el" href="dtn__api__wrap_8cc-source.html#l00422">dtn_session_update()</a>, <a class="el" href="dtntest_8cc-source.html#l00724">DTNSessionUpdateCommand::exec()</a>, <a class="el" href="dtntest_8cc-source.html#l00601">DTNRecvCommand::exec()</a>, <a class="el" href="dtntest_8cc-source.html#l00395">DTNSendCommand::exec()</a>, <a class="el" href="dtntest_8cc-source.html#l00186">DTNRegisterCommand::exec()</a>, <a class="el" href="TCPTunnel_8cc-source.html#l00276">dtntunnel::TCPTunnel::TCPTunnel::Connection::format()</a>, <a class="el" href="dtncat_8c-source.html#l00148">from_bundles()</a>, <a class="el" href="TcaController_8cc-source.html#l00563">TcaController::gate_reg()</a>, <a class="el" href="TCPTunnel_8cc-source.html#l00114">dtntunnel::TCPTunnel::handle_bundle()</a>, <a class="el" href="TcaController_8cc-source.html#l00349">TcaController::handle_coa_sent()</a>, <a class="el" href="dtnrecv_8c-source.html#l00291">handle_file_transfer()</a>, <a class="el" href="APIServer_8cc-source.html#l00647">dtn::APIClient::handle_find_registration()</a>, <a class="el" href="DTNTunnel_8cc-source.html#l00224">dtntunnel::DTNTunnel::init_registration()</a>, <a class="el" href="dtncp_8c-source.html#l00053">main()</a>, <a class="el" href="dtncat_8c-source.html#l00566">print_eid()</a>, <a class="el" href="TcaController_8cc-source.html#l00892">TcaController::recv_bundle()</a>, <a class="el" href="TcaController_8cc-source.html#l00863">TcaController::send_bundle()</a>, <a class="el" href="apps_2tca__admin_2TcaEndpointID_8cc-source.html#l00028">TcaEndpointID::TcaEndpointID()</a>, <a class="el" href="dtncat_8c-source.html#l00257">to_bundles()</a>, <a class="el" href="dtn__types__xdr_8c-source.html#l00057">xdr_dtn_endpoint_id_t()</a>, and <a class="el" href="dtn__api__wrap__perl_8cc-source.html#l02031">XS()</a>.</p> </div> </div><p> <hr>The documentation for this struct was generated from the following file:<ul> <li><a class="el" href="dtn__types_8h-source.html">dtn_types.h</a></ul> </div> <hr size="1"><address style="text-align: right;"><small>Generated on Fri Jan 30 09:27:01 2009 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.8 </small></address> </body> </html>