--- /dev/null
+/*
+ * buf.h
+ *
+ * a buffer with dns data and a length
+ *
+ * a Net::DNS like library for C
+ *
+ * (c) NLnet Labs, 2004
+ *
+ * See the file LICENSE for the license
+ */
+
+struct ldns_struct_buf
+{
+ size_t size;
+ uint8_t *data;
+};
+typedef ldns_struct_buf ldns_buf;
+
* internal representation
*/
ssize_t
-rdata_wireformat_to_rdata_atoms(region_type *region,
- domain_table_type *owners,
- uint16_t rrtype,
- uint16_t data_size,
- buffer_type *packet,
- rdata_atom_type **rdatas)
+rdata_buf_to_rdf(ldns_rdf *rd, ldns_buf *buffer)
{
size_t end = buffer_position(packet) + data_size;
ssize_t i;