mirror of
https://gitlab.isc.org/isc-projects/bind9
synced 2025-08-31 14:35:26 +00:00
clarified comments: dns_name_init does not require a valid name, it produces one
This commit is contained in:
@@ -213,11 +213,12 @@ void dns_name_init(dns_name_t *name, unsigned char *offsets);
|
||||
* name operations if the name is used more than once.
|
||||
*
|
||||
* Requires:
|
||||
* 'name' is a valid name (i.e. not NULL, points to a struct dns_name)
|
||||
* 'name' is not NULL and points to a struct dns_name.
|
||||
*
|
||||
* offsets == NULL or offsets is a dns_offsets_t.
|
||||
*
|
||||
* Ensures:
|
||||
* 'name' is a valid name.
|
||||
* dns_name_countlabels(name) == 0
|
||||
*/
|
||||
|
||||
|
Reference in New Issue
Block a user