r15435: Turn libnet_RpcConnectDCInfo into another level of libnet_RpcConnect
[Samba/aatanasov.git] / source4 / libnet / libnet_lookup.h
blobc786eb0a438b7e675b308bd6ce5919c47c8b4647
1 /*
2 Unix SMB/CIFS implementation.
4 Copyright (C) Rafal Szczesniak 2005
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 2 of the License, or
9 (at your option) any later version.
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.
16 You should have received a copy of the GNU General Public License
17 along with this program; if not, write to the Free Software
18 Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
22 struct libnet_Lookup {
23 struct {
24 const char *hostname;
25 int type;
26 const char **methods;
27 } in;
28 struct {
29 const char **address;
30 } out;
33 struct libnet_LookupDCs {
34 struct {
35 const char *domain_name;
36 int name_type;
37 } in;
38 struct {
39 int num_dcs;
40 struct nbt_dc_name *dcs;
41 } out;