2005-05-02 14:17:19 +00:00
/*
Unix SMB / CIFS implementation .
2008-04-09 12:02:11 +10:00
Copyright ( C ) Stefan Metzmacher 2004
2005-05-02 14:17:19 +00:00
Copyright ( C ) Andrew Bartlett < abartlet @ samba . org > 2005
2008-04-09 12:02:11 +10:00
Copyright ( C ) Brad Henry 2005
2005-05-02 14:17:19 +00: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 02:07:03 +00:00
the Free Software Foundation ; either version 3 of the License , or
2005-05-02 14:17:19 +00: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 02:07:03 +00:00
along with this program . If not , see < http : //www.gnu.org/licenses/>.
2005-05-02 14:17:19 +00:00
*/
2008-04-09 12:02:11 +10:00
# ifndef __LIBNET_VAMPIRE_H__
# define __LIBNET_VAMPIRE_H__
2005-05-02 14:17:19 +00:00
2008-04-09 14:59:32 +10:00
struct libnet_Vampire {
2006-01-12 09:33:49 +00:00
struct {
2008-04-09 12:02:11 +10:00
const char * domain_name ;
const char * netbios_name ;
2008-04-09 14:59:32 +10:00
const char * targetdir ;
2006-01-12 09:33:49 +00:00
} in ;
2008-04-09 12:02:11 +10:00
2006-01-12 09:33:49 +00:00
struct {
2008-04-09 14:59:32 +10:00
struct dom_sid * domain_sid ;
const char * domain_name ;
2006-01-12 09:33:49 +00:00
const char * error_string ;
} out ;
2005-07-25 06:33:51 +00:00
} ;
2010-08-23 11:13:22 +10: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 17:22:20 +10:00
/* Private context for the default callbacks */
struct libnet_vampire_cb_state ;
2005-07-25 06:33:51 +00:00
2008-04-09 12:02:11 +10:00
# endif /* __LIBNET_VAMPIRE_H__ */