resolv: Move res_nameinquery to its own file and into libc
authorFlorian Weimer <fweimer@redhat.com>
Mon, 19 Jul 2021 05:55:27 +0000 (07:55 +0200)
committerFlorian Weimer <fweimer@redhat.com>
Mon, 19 Jul 2021 05:56:21 +0000 (07:56 +0200)
commit72a51ac647b2fc33a44434d3d125a844801609ae
tree7654bc554282d2f2e9c14a03a6639a241fa69b9e
parent762a2b2d341a9d6a4ea088479616907c5b4e9a7b
resolv: Move res_nameinquery to its own file and into libc

And reformat to GNU style.

This deprecated function is used in the implementation of the stub
resolver (for now).  Keep the public symbol in libresolv for now
(so that no new symbol version is needed), and add a forwarder to
libresolv.

Reviewed-by: Carlos O'Donell <carlos@redhat.com>
Tested-by: Carlos O'Donell <carlos@redhat.com>
include/resolv.h
resolv/Makefile
resolv/Versions
resolv/res_nameinquery.c [new file with mode: 0644]
resolv/res_send.c
resolv/resolv-deprecated.c