From a7ff1da8239a5f0e1927db9d5310f53cfea97fc2 Mon Sep 17 00:00:00 2001 From: Florian Weimer Date: Thu, 13 Apr 2017 10:52:27 +0200 Subject: resolv: Remove internal and unused definitions from 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. --- resolv/resolv-internal.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'resolv/resolv-internal.h') diff --git a/resolv/resolv-internal.h b/resolv/resolv-internal.h index 99fc17c609..d35df1c3d5 100644 --- a/resolv/resolv-internal.h +++ b/resolv/resolv-internal.h @@ -22,6 +22,12 @@ #include #include +/* 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 -- cgit v1.2.3