2009-09-15 20:29:10 +04:00
/*
2005-03-24 07:45:41 +03:00
Unix SMB / CIFS implementation .
dcerpc schannel operations
Copyright ( C ) Andrew Tridgell 2004
Copyright ( C ) Andrew Bartlett < abartlet @ samba . org > 2004 - 2005
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-03-24 07:45:41 +03:00
( at your option ) any later version .
2009-09-15 20:29:10 +04:00
2005-03-24 07:45:41 +03:00
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 .
2009-09-15 20:29:10 +04:00
2005-03-24 07:45:41 +03:00
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-03-24 07:45:41 +03:00
*/
2009-04-16 04:17:17 +04:00
# include "libcli/auth/libcli_auth.h"
2009-04-06 16:54:44 +04:00
# include "libcli/auth/schannel_state.h"
2006-11-07 03:48:36 +03:00
2005-03-24 07:45:41 +03:00
enum schannel_position {
SCHANNEL_STATE_START = 0 ,
SCHANNEL_STATE_UPDATE_1
} ;
struct schannel_state {
enum schannel_position state ;
uint32_t seq_num ;
2007-08-27 22:10:19 +04:00
bool initiator ;
2009-04-06 16:54:44 +04:00
struct netlogon_creds_CredentialState * creds ;
2005-03-24 07:45:41 +03:00
} ;
2009-09-15 20:29:10 +04:00
# include "libcli/auth/schannel_proto.h"