ldns_struct_rdf Struct Reference

Resource record data. More...


Data Fields

size_t _size
 The size of the data (in bytes).
ldns_rdf_type _type
 The type of the data.
void * _data
 Pointer to the data (byte buffer).


Detailed Description

Resource record data.

The data is a network ordered array of bytes, which size is specified by the (16-bit) size field. To correctly parse it, use the type specified in the (16-bit) type field.

Definition at line 112 of file rdata.h.


Field Documentation

void* ldns_struct_rdf::_data

Pointer to the data (byte buffer).

Definition at line 119 of file rdata.h.

size_t ldns_struct_rdf::_size

The size of the data (in bytes).

Definition at line 115 of file rdata.h.

ldns_rdf_type ldns_struct_rdf::_type

The type of the data.

Definition at line 117 of file rdata.h.


Generated on Mon Sep 11 20:08:52 2006 for ldns by  doxygen 1.4.7