blob: 1f98dbc546c35a8636ee7d7f4c0b0c20133cb9be (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* ISC license. */
#include <s6-dns/s6dns-domain.h>
unsigned int s6dns_domain_encodelist (s6dns_domain_t *list, unsigned int n)
{
unsigned int i = 0 ;
for (; i < n ; i++)
if (!s6dns_domain_encode(list + i)) break ;
return i ;
}
|