diff options
author | Simo Sorce <idra@samba.org> | 2012-05-04 23:07:14 -0400 |
---|---|---|
committer | Alexander Bokovoy <ab@samba.org> | 2012-05-23 17:51:49 +0300 |
commit | a8ee6f2ca588aae1220f8b6a257e6dd43eacd46b (patch) | |
tree | b1e40d926996736a811ce161c7ad283bc81ed651 /lib/addns | |
parent | 34a65739d32d7e895e71b2b81298fab82dfd11fe (diff) | |
download | samba-a8ee6f2ca588aae1220f8b6a257e6dd43eacd46b.tar.gz samba-a8ee6f2ca588aae1220f8b6a257e6dd43eacd46b.tar.bz2 samba-a8ee6f2ca588aae1220f8b6a257e6dd43eacd46b.zip |
addns: Make ads_dns_lookup_srv pulic
Diffstat (limited to 'lib/addns')
-rw-r--r-- | lib/addns/dnsquery.c | 2 | ||||
-rw-r--r-- | lib/addns/dnsquery.h | 5 |
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, |