mirror of
https://github.com/isc-projects/bind9.git
synced 2026-03-13 14:18:48 -04:00
clarified comments: dns_name_init does not require a valid name, it produces one
This commit is contained in:
parent
87c5f9ae6e
commit
3de3053dc1
1 changed files with 2 additions and 1 deletions
|
|
@ -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
|
||||
*/
|
||||
|
||||
|
|
|
|||
Loading…
Reference in a new issue