2
0
mirror of https://gitlab.isc.org/isc-projects/bind9 synced 2025-08-30 22:15:20 +00:00

Add comment about requiring pointers to memory block to be NULL if the

corresponding length is 0, non-NULL otherwise.
This commit is contained in:
Mark Andrews
2000-05-22 12:34:16 +00:00
parent 9f20f5913b
commit 0103f42343

View File

@@ -386,6 +386,9 @@ isc_result_t dns_rdata_fromstruct(dns_rdata_t *rdata,
* *
* 'target' is a valid binary buffer. * 'target' is a valid binary buffer.
* *
* All structure pointers to memory blocks should be NULL if their
* corresponding length values are zero.
*
* Ensures: * Ensures:
* If result is success: * If result is success:
* If 'rdata' is not NULL, it is attached to the target. * If 'rdata' is not NULL, it is attached to the target.