expect = LDNS_RESOLV_KEYWORD;
break;
}
- /* XXX */
(void)ldns_resolver_push_nameserver(r, tmp);
ldns_rdf_deep_free(tmp);
expect = LDNS_RESOLV_KEYWORD;
ldns_rr_descriptor_maximum(const ldns_rr_descriptor *descriptor)
{
if (descriptor->_variable != LDNS_RDF_TYPE_NONE) {
- /* XXX: Should really be SIZE_MAX... bad FreeBSD. */
+ /* Should really be SIZE_MAX... bad FreeBSD. */
return UINT_MAX;
} else {
return descriptor->_maximum;
*/
/*
- * these come strait from perldoc Net::DNS::RR::xxxx
- * first the read variant, then the write
+ * These come strait from perldoc Net::DNS::RR::xxx
+ * first the read variant, then the write. This is
+ * not complete.
*/
#include <ldns/config.h>
}
}
-/* all function below call the above defined ones */
-
/* A/AAAA records */
ldns_rdf *
ldns_rr_a_address(ldns_rr *r)
}
return ldns_rr_rdf(r, 0);
}
-/* / A-AAAA records */
-/* write -
- * if there is a value in the rr - is is _freed_!
- */
bool
ldns_rr_a_set_address(ldns_rr *r, ldns_rdf *f)
{
return false;
}
}
+/* / A-AAAA records */
/* NS record */
ldns_rdf *