source: vendor/current/lib/addns/dnsquery.h

Last change on this file was 988, checked in by Silvan Scherrer, 9 years ago

Samba Server: update vendor to version 4.4.3

File size: 1.9 KB
Line 
1/*
2 * Unix SMB/CIFS implementation.
3 * Internal DNS query structures
4 * Copyright (C) Gerald Carter 2006.
5 *
6 * This program is free software; you can redistribute it and/or modify
7 * it under the terms of the GNU General Public License as published by
8 * the Free Software Foundation; either version 3 of the License, or
9 * (at your option) any later version.
10 *
11 * This program is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
14 * GNU General Public License for more details.
15 *
16 * You should have received a copy of the GNU General Public License
17 * along with this program; if not, see <http://www.gnu.org/licenses/>.
18 */
19
20#ifndef _ADS_DNS_H
21#define _ADS_DNS_H
22
23#include "libcli/dns/dns.h"
24
25/* The following definitions come from libads/dns.c */
26
27NTSTATUS ads_dns_lookup_srv(TALLOC_CTX *ctx,
28 const char *name,
29 struct dns_rr_srv **dclist,
30 int *numdcs);
31NTSTATUS ads_dns_lookup_ns(TALLOC_CTX *ctx,
32 const char *dnsdomain,
33 struct dns_rr_ns **nslist,
34 int *numns);
35NTSTATUS ads_dns_query_dcs(TALLOC_CTX *ctx,
36 const char *realm,
37 const char *sitename,
38 struct dns_rr_srv **dclist,
39 int *numdcs );
40NTSTATUS ads_dns_query_gcs(TALLOC_CTX *ctx,
41 const char *realm,
42 const char *sitename,
43 struct dns_rr_srv **dclist,
44 int *numdcs );
45NTSTATUS ads_dns_query_kdcs(TALLOC_CTX *ctx,
46 const char *dns_forest_name,
47 const char *sitename,
48 struct dns_rr_srv **dclist,
49 int *numdcs );
50NTSTATUS ads_dns_query_pdc(TALLOC_CTX *ctx,
51 const char *dns_domain_name,
52 struct dns_rr_srv **dclist,
53 int *numdcs );
54NTSTATUS ads_dns_query_dcs_guid(TALLOC_CTX *ctx,
55 const char *dns_forest_name,
56 const char *domain_guid,
57 struct dns_rr_srv **dclist,
58 int *numdcs );
59#endif /* _ADS_DNS_H */
Note: See TracBrowser for help on using the repository browser.