GNUnet  0.11.x
Data Fields
AddressToStringResultMessage Struct Reference

Message used to notify the transport API about an address to string conversion. More...

#include </home/handbook/gnunet/src/transport/transport.h>

Collaboration diagram for AddressToStringResultMessage:
[legend]

Data Fields

struct GNUNET_MessageHeader header
 Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_TO_STRING_REPLY. More...
 
uint32_t res
 GNUNET_OK if the conversion succeeded, GNUNET_SYSERR if it failed More...
 
uint32_t addr_len
 Length of the following string, zero if is GNUNET_SYSERR. More...
 

Detailed Description

Message used to notify the transport API about an address to string conversion.

Message is followed by the string with the humand-readable address. For each lookup, multiple results may be returned. The last message must have a res of GNUNET_OK and an addr_len of zero.

Definition at line 323 of file transport.h.

Field Documentation

◆ header

struct GNUNET_MessageHeader AddressToStringResultMessage::header

Type will be GNUNET_MESSAGE_TYPE_TRANSPORT_ADDRESS_TO_STRING_REPLY.

Definition at line 328 of file transport.h.

Referenced by check_reply(), and handle_reply().

◆ res

uint32_t AddressToStringResultMessage::res

GNUNET_OK if the conversion succeeded, GNUNET_SYSERR if it failed

Definition at line 334 of file transport.h.

Referenced by check_reply(), handle_client_address_to_string(), handle_reply(), and transmit_address_to_client().

◆ addr_len

uint32_t AddressToStringResultMessage::addr_len

Length of the following string, zero if is GNUNET_SYSERR.

Definition at line 339 of file transport.h.

Referenced by check_reply(), handle_client_address_to_string(), and transmit_address_to_client().


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