commonly used definitions; globals in this file are exempt from the rule that the module name ("commo...
#define GNUNET_NETWORK_STRUCT_BEGIN
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32.
#define GNUNET_NETWORK_STRUCT_END
Define as empty, GNUNET_PACKED should suffice, but this won't work on W32;.
#define GNUNET_PACKED
gcc-ism to get packed structs.
Request for the resolver.
int32_t direction
GNUNET_YES to get hostname from IP, GNUNET_NO to get IP from hostname.
int32_t af
Address family to use (AF_INET, AF_INET6 or AF_UNSPEC).
uint32_t client_id
identifies the request and is contained in the response message.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_RESOLVER_REQUEST.
uint32_t client_id
identifies the request this message responds to.
struct GNUNET_MessageHeader header
Type: GNUNET_MESSAGE_TYPE_RESOLVER_RESPONSE.