summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
Diffstat (limited to 'lib')
-rw-r--r--lib/addns/dnsquery.c2
-rw-r--r--lib/addns/dnsquery.h5
2 files changed, 6 insertions, 1 deletions
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,