From 41bb01ae792af78edd28bf1b735cacc0b3ac428a Mon Sep 17 00:00:00 2001 From: Werner Koch Date: Thu, 22 Oct 2015 09:22:41 +0200 Subject: Move SRV RR code from common/ to dirmngr/. * common/srv.c: Merge into dirmngr/dns-stuff.c. Delete file. * common/srv.h: Merge into dirmngr/dns-stuff.h. Delete file. * common/Makefile.am (common_sources): Remove srv.c and srv.h. * g10/keyserver.c: Do not include srv.h. The code using it is anyway disabled. * dirmngr/http.c: Remove header srv.h and stubs. * dirmngr/t-dns-stuff.c: Add option --srv. Signed-off-by: Werner Koch --- dirmngr/http.c | 17 ----------------- 1 file changed, 17 deletions(-) (limited to 'dirmngr/http.c') diff --git a/dirmngr/http.c b/dirmngr/http.c index 19d5f8f21..4387b96b5 100644 --- a/dirmngr/http.c +++ b/dirmngr/http.c @@ -100,23 +100,6 @@ #include "i18n.h" #include "dns-stuff.h" #include "http.h" -#ifdef USE_DNS_SRV -# include "srv.h" -#else /*!USE_DNS_SRV*/ - /* If we are not compiling with SRV record support we provide stub - data structures. */ -# ifndef MAXDNAME -# define MAXDNAME 1025 -# endif -struct srventry -{ - unsigned short priority; - unsigned short weight; - unsigned short port; - int run_count; - char target[MAXDNAME]; -}; -#endif/*!USE_DNS_SRV*/ #ifdef USE_NPTH -- cgit v1.2.3