2
0
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:
Andreas Gustafsson
1999-06-30 17:25:36 +00:00
parent 87c5f9ae6e
commit 3de3053dc1

View File

@@ -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
*/