2005-05-02 18:17:19 +04:00
/*
Unix SMB / CIFS implementation .
2008-04-09 06:02:11 +04:00
Copyright ( C ) Stefan Metzmacher 2004
2005-05-02 18:17:19 +04:00
Copyright ( C ) Andrew Bartlett < abartlet @ samba . org > 2005
2008-04-09 06:02:11 +04:00
Copyright ( C ) Brad Henry 2005
2005-05-02 18:17:19 +04:00
This program is free software ; you can redistribute it and / or modify
it under the terms of the GNU General Public License as published by
2007-07-10 06:07:03 +04:00
the Free Software Foundation ; either version 3 of the License , or
2005-05-02 18:17:19 +04:00
( at your option ) any later version .
This program is distributed in the hope that it will be useful ,
but WITHOUT ANY WARRANTY ; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE . See the
GNU General Public License for more details .
You should have received a copy of the GNU General Public License
2007-07-10 06:07:03 +04:00
along with this program . If not , see < http : //www.gnu.org/licenses/>.
2005-05-02 18:17:19 +04:00
*/
2008-04-09 06:02:11 +04:00
# ifndef __LIBNET_VAMPIRE_H__
# define __LIBNET_VAMPIRE_H__
2005-05-02 18:17:19 +04:00
2008-04-09 08:59:32 +04:00
struct libnet_Vampire {
2006-01-12 12:33:49 +03:00
struct {
2008-04-09 06:02:11 +04:00
const char * domain_name ;
const char * netbios_name ;
2008-04-09 08:59:32 +04:00
const char * targetdir ;
2006-01-12 12:33:49 +03:00
} in ;
2008-04-09 06:02:11 +04:00
2006-01-12 12:33:49 +03:00
struct {
2008-04-09 08:59:32 +04:00
struct dom_sid * domain_sid ;
const char * domain_name ;
2006-01-12 12:33:49 +03:00
const char * error_string ;
} out ;
2005-07-25 10:33:51 +04:00
} ;
2010-08-23 05:13:22 +04:00
struct libnet_Replicate {
struct {
const char * domain_name ;
const char * netbios_name ;
const char * targetdir ; /* optional, may be NULL */
struct dom_sid * domain_sid ;
const char * realm ;
const char * server ;
const char * join_password ;
uint32_t kvno ;
} in ;
struct {
const char * error_string ;
} out ;
} ;
2010-06-12 11:22:20 +04:00
/* Private context for the default callbacks */
struct libnet_vampire_cb_state ;
2005-07-25 10:33:51 +04:00
2008-04-09 06:02:11 +04:00
# endif /* __LIBNET_VAMPIRE_H__ */