mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-30 14:07:59 +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:
parent
9f20f5913b
commit
0103f42343
@ -386,6 +386,9 @@ isc_result_t dns_rdata_fromstruct(dns_rdata_t *rdata,
|
||||
*
|
||||
* 'target' is a valid binary buffer.
|
||||
*
|
||||
* All structure pointers to memory blocks should be NULL if their
|
||||
* corresponding length values are zero.
|
||||
*
|
||||
* Ensures:
|
||||
* If result is success:
|
||||
* If 'rdata' is not NULL, it is attached to the target.
|
||||
|
Loading…
x
Reference in New Issue
Block a user