mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-28 00:21:52 +03:00
resolv: Remove internal and unused definitions from <resolv.h>
The RES_F_* constants are only used with the private _res._flags member. RES_EXHAUSTIVE is unused. The removed function declarations refer to functions not actually exported by glibc, so they are unusable by applications.
This commit is contained in:
@ -22,6 +22,12 @@
|
||||
#include <resolv.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
/* Resolver flags. Used for _flags in struct __res_state. */
|
||||
#define RES_F_VC 0x00000001 /* Socket is TCP. */
|
||||
#define RES_F_CONN 0x00000002 /* Socket is connected. */
|
||||
#define RES_F_EDNS0ERR 0x00000004 /* EDNS0 caused errors. */
|
||||
|
||||
|
||||
/* Internal version of RES_USE_INET6 which does not trigger a
|
||||
deprecation warning. */
|
||||
#define DEPRECATED_RES_USE_INET6 0x00002000
|
||||
|
Reference in New Issue
Block a user