addns: Make ads_dns_lookup_srv pulic
authorSimo Sorce <idra@samba.org>
Sat, 5 May 2012 03:07:14 +0000 (23:07 -0400)
committerAlexander Bokovoy <ab@samba.org>
Wed, 23 May 2012 14:51:49 +0000 (17:51 +0300)
lib/addns/dnsquery.c
lib/addns/dnsquery.h

index f680d6325817737cddb84904775dc8c941edf288..4b45722471838d719f84840a4fc1eea1822070d8 100644 (file)
@@ -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,
index a3ea47a04e3a6fca8094e984e346b89ea97ebd05..1491b699c252ce9754e3513c15b914d001edf9f6 100644 (file)
 
 /* 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,