dtn_endpoint_id_t Struct Reference

#include <dtn_types.h>

List of all members.


Detailed Description

Specification of a dtn endpoint id, i.e.

a URI, implemented as a fixed-length char buffer. Note that for efficiency reasons, this fixed length is relatively small (256 bytes).

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.

Definition at line 65 of file dtn_types.h.


Public Attributes

char uri [DTN_MAX_ENDPOINT_ID]

Member Data Documentation

char dtn_endpoint_id_t::uri[DTN_MAX_ENDPOINT_ID]


The documentation for this struct was generated from the following file:

Generated on Mon Jul 21 14:12:19 2008 for DTN Reference Implementation by  doxygen 1.5.6