]> sourceware.org Git - glibc.git/commit
nss_dns: Rewrite _nss_dns_gethostbyname4_r using current interfaces
authorFlorian Weimer <fweimer@redhat.com>
Tue, 30 Aug 2022 08:02:49 +0000 (10:02 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Tue, 30 Aug 2022 08:02:49 +0000 (10:02 +0200)
commit1d495912a746e2a1ffb780c9a81fd234ec2464e8
treeae5d0bd65ece0d3afa630e8b1058eabf11a68161
parent9caf782276ecea4bc86fc94fbb52779736f3106d
nss_dns: Rewrite _nss_dns_gethostbyname4_r using current interfaces

Introduce struct alloc_buffer to this function, and use it and
struct ns_rr_cursor in gaih_getanswer_slice.  Adjust gaih_getanswer
and gaih_getanswer_noaaaa accordingly.

Reviewed-by: Siddhesh Poyarekar <siddhesh@sourceware.org>
resolv/nss_dns/dns-host.c
This page took 0.042119 seconds and 5 git commands to generate.