1 | /*
|
---|
2 | Unix SMB/CIFS implementation.
|
---|
3 |
|
---|
4 | Copyright (C) Stefan Metzmacher 2004
|
---|
5 | Copyright (C) Andrew Bartlett <abartlet@samba.org> 2005
|
---|
6 | Copyright (C) Brad Henry 2005
|
---|
7 |
|
---|
8 | This program is free software; you can redistribute it and/or modify
|
---|
9 | it under the terms of the GNU General Public License as published by
|
---|
10 | the Free Software Foundation; either version 3 of the License, or
|
---|
11 | (at your option) any later version.
|
---|
12 |
|
---|
13 | This program is distributed in the hope that it will be useful,
|
---|
14 | but WITHOUT ANY WARRANTY; without even the implied warranty of
|
---|
15 | MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
---|
16 | GNU General Public License for more details.
|
---|
17 |
|
---|
18 | You should have received a copy of the GNU General Public License
|
---|
19 | along with this program. If not, see <http://www.gnu.org/licenses/>.
|
---|
20 | */
|
---|
21 |
|
---|
22 | #ifndef __LIBNET_VAMPIRE_H__
|
---|
23 | #define __LIBNET_VAMPIRE_H__
|
---|
24 |
|
---|
25 | struct libnet_Vampire {
|
---|
26 | struct {
|
---|
27 | const char *domain_name;
|
---|
28 | const char *netbios_name;
|
---|
29 | const char *targetdir;
|
---|
30 | } in;
|
---|
31 |
|
---|
32 | struct {
|
---|
33 | struct dom_sid *domain_sid;
|
---|
34 | const char *domain_name;
|
---|
35 | const char *error_string;
|
---|
36 | } out;
|
---|
37 | };
|
---|
38 |
|
---|
39 | struct libnet_Replicate {
|
---|
40 | struct {
|
---|
41 | const char *domain_name;
|
---|
42 | const char *netbios_name;
|
---|
43 | const char *targetdir; /* optional, may be NULL */
|
---|
44 | struct dom_sid *domain_sid;
|
---|
45 | const char *realm;
|
---|
46 | const char *server;
|
---|
47 | const char *join_password;
|
---|
48 | uint32_t kvno;
|
---|
49 | } in;
|
---|
50 | struct {
|
---|
51 | const char *error_string;
|
---|
52 | } out;
|
---|
53 | };
|
---|
54 |
|
---|
55 | /* Private context for the default callbacks */
|
---|
56 | struct libnet_vampire_cb_state;
|
---|
57 |
|
---|
58 | #endif /* __LIBNET_VAMPIRE_H__ */
|
---|