Searched refs:buffer_max (Results 1 - 2 of 2) sorted by relevance

/systemd/src/resolve/
H A Dresolved-dns-dnssec.h79 int dnssec_canonicalize(const char *n, char *buffer, size_t buffer_max);
H A Dresolved-dns-dnssec.c78 int dnssec_canonicalize(const char *n, char *buffer, size_t buffer_max) { argument
85 if (buffer_max < 2)
89 r = dns_label_unescape(&n, buffer, buffer_max);
95 if (buffer_max < (size_t) r + 2)
111 buffer_max -= r + 1;
117 assert(buffer_max > 2);

Completed in 1645 milliseconds