mirror of
https://sourceware.org/git/glibc.git
synced 2025-08-07 06:43:00 +03:00
resolv: Move res_mkquery, res_nmkquery into libc
This switches to public symbols without __ prefixes, due to improved namespace management in glibc. The symbols res_mkquery, __res_mkquery, __res_nmkquery were moved with the script (using --no-new-version). res_mkquery@@GLIBC_2.34, res_nmkquery@@GLIBC_2.34 were added using make update-all-abi. Reviewed-by: Carlos O'Donell <carlos@redhat.com> Tested-by: Carlos O'Donell <carlos@redhat.com>
This commit is contained in:
@@ -55,7 +55,8 @@ struct resolv_context;
|
||||
Also used by __res_context_query. */
|
||||
int __res_context_mkquery (struct resolv_context *, int op, const char *dname,
|
||||
int class, int type, const unsigned char *data,
|
||||
unsigned char *buf, int buflen) attribute_hidden;
|
||||
unsigned char *buf, int buflen);
|
||||
libc_hidden_proto (__res_context_mkquery)
|
||||
|
||||
/* Main resolver query function for use within glibc. */
|
||||
int __res_context_search (struct resolv_context *, const char *, int, int,
|
||||
@@ -84,7 +85,8 @@ libc_hidden_proto (__res_context_hostalias);
|
||||
|
||||
/* Add an OPT record to a DNS query. */
|
||||
int __res_nopt (struct resolv_context *, int n0,
|
||||
unsigned char *buf, int buflen, int anslen) attribute_hidden;
|
||||
unsigned char *buf, int buflen, int anslen);
|
||||
libc_hidden_proto (__res_nopt)
|
||||
|
||||
/* Convert from presentation format (which usually means ASCII
|
||||
printable) to network format (which is usually some kind of binary
|
||||
|
Reference in New Issue
Block a user