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:
@@ -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.
|
||||||
|
Reference in New Issue
Block a user