#include <dtn_types.h>
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 68 of file dtn_types.h.
Public Attributes | |
char | uri [DTN_MAX_ENDPOINT_ID] |
char dtn_endpoint_id_t::uri[DTN_MAX_ENDPOINT_ID] |
Definition at line 69 of file dtn_types.h.
Referenced by dtn::EndpointID::assign(), dtn::EndpointID::copyto(), dtn_copy_eid(), dtn_parse_eid_string(), TcaController::dtn_reg(), DTNSendCommand::exec(), DTNRegisterCommand::exec(), from_bundles(), TcaController::gate_reg(), TcaController::handle_coa_sent(), dtn::APIClient::handle_find_registration(), dtntunnel::DTNTunnel::init_registration(), main(), print_eid(), TcaController::recv_bundle(), TcaController::send_bundle(), TcaEndpointID::TcaEndpointID(), to_bundles(), and xdr_dtn_endpoint_id_t().