From a8ee6f2ca588aae1220f8b6a257e6dd43eacd46b Mon Sep 17 00:00:00 2001 From: Simo Sorce Date: Fri, 4 May 2012 23:07:14 -0400 Subject: addns: Make ads_dns_lookup_srv pulic --- lib/addns/dnsquery.c | 2 +- lib/addns/dnsquery.h | 5 +++++ 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/lib/addns/dnsquery.c b/lib/addns/dnsquery.c index f680d63258..4b45722471 100644 --- a/lib/addns/dnsquery.c +++ b/lib/addns/dnsquery.c @@ -389,7 +389,7 @@ static NTSTATUS dns_send_req( TALLOC_CTX *ctx, const char *name, int q_type, Simple wrapper for a DNS SRV query *********************************************************************/ -static NTSTATUS ads_dns_lookup_srv( TALLOC_CTX *ctx, +NTSTATUS ads_dns_lookup_srv(TALLOC_CTX *ctx, const char *dns_hosts_file, const char *name, struct dns_rr_srv **dclist, diff --git a/lib/addns/dnsquery.h b/lib/addns/dnsquery.h index a3ea47a04e..1491b699c2 100644 --- a/lib/addns/dnsquery.h +++ b/lib/addns/dnsquery.h @@ -24,6 +24,11 @@ /* The following definitions come from libads/dns.c */ +NTSTATUS ads_dns_lookup_srv(TALLOC_CTX *ctx, + const char *dns_hosts_file, + const char *name, + struct dns_rr_srv **dclist, + int *numdcs); NTSTATUS ads_dns_lookup_ns(TALLOC_CTX *ctx, const char *dns_hosts_file, const char *dnsdomain, -- cgit