From e1fcf21474c5b522fdad4ac0191d5dcc3271dba6 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Mon, 19 Jul 2021 07:55:27 +0200 Subject: resolv: Move nss_dns into libc No abilist updates are needed because the symbols were GLIBC_PRIVATE. Reviewed-by: Carlos O'Donell Tested-by: Carlos O'Donell --- include/nss_dns.h | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 include/nss_dns.h (limited to 'include') diff --git a/include/nss_dns.h b/include/nss_dns.h new file mode 100644 index 0000000000..63b5853870 --- /dev/null +++ b/include/nss_dns.h @@ -0,0 +1,36 @@ +/* Internal routines for nss_dns. + Copyright (C) 2021 Free Software Foundation, Inc. + This file is part of the GNU C Library. + + The GNU C Library is free software; you can redistribute it and/or + modify it under the terms of the GNU Lesser General Public + License as published by the Free Software Foundation; either + version 2.1 of the License, or (at your option) any later version. + + The GNU C Library is distributed in the hope that it will be useful, + but WITHOUT ANY WARRANTY; without even the implied warranty of + MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU + Lesser General Public License for more details. + + You should have received a copy of the GNU Lesser General Public + License along with the GNU C Library; if not, see + . */ + +#ifndef _NSS_DNS_H +#define _NSS_DNS_H + +#include + +NSS_DECLARE_MODULE_FUNCTIONS (dns) + +libc_hidden_proto (_nss_dns_getcanonname_r) +libc_hidden_proto (_nss_dns_gethostbyname3_r) +libc_hidden_proto (_nss_dns_gethostbyname2_r) +libc_hidden_proto (_nss_dns_gethostbyname_r) +libc_hidden_proto (_nss_dns_gethostbyname4_r) +libc_hidden_proto (_nss_dns_gethostbyaddr2_r) +libc_hidden_proto (_nss_dns_gethostbyaddr_r) +libc_hidden_proto (_nss_dns_getnetbyname_r) +libc_hidden_proto (_nss_dns_getnetbyaddr_r) + +#endif -- cgit 1.4.1