libcli/smb: add basic session->smb2.channel_sequence handling
[Samba/gebeck_regimport.git] / auth / ntlmssp / ntlmssp_ndr.h
blobe61923170ec083819b2abfd5fe6c6d68c77fd1e1
1 /*
2 Unix SMB/Netbios implementation.
3 NTLMSSP ndr functions
5 Copyright (C) Guenther Deschner 2009
7 This program is free software; you can redistribute it and/or modify
8 it under the terms of the GNU General Public License as published by
9 the Free Software Foundation; either version 3 of the License, or
10 (at your option) any later version.
12 This program is distributed in the hope that it will be useful,
13 but WITHOUT ANY WARRANTY; without even the implied warranty of
14 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
15 GNU General Public License for more details.
17 You should have received a copy of the GNU General Public License
18 along with this program. If not, see <http://www.gnu.org/licenses/>.
21 NTSTATUS ntlmssp_pull_NEGOTIATE_MESSAGE(const DATA_BLOB *blob,
22 TALLOC_CTX *mem_ctx,
23 struct NEGOTIATE_MESSAGE *r);
24 NTSTATUS ntlmssp_pull_CHALLENGE_MESSAGE(const DATA_BLOB *blob,
25 TALLOC_CTX *mem_ctx,
26 struct CHALLENGE_MESSAGE *r);
27 NTSTATUS ntlmssp_pull_AUTHENTICATE_MESSAGE(const DATA_BLOB *blob,
28 TALLOC_CTX *mem_ctx,
29 struct AUTHENTICATE_MESSAGE *r);
30 NTSTATUS ntlmssp_push_NEGOTIATE_MESSAGE(DATA_BLOB *blob,
31 TALLOC_CTX *mem_ctx,
32 const struct NEGOTIATE_MESSAGE *r);
33 NTSTATUS ntlmssp_push_CHALLENGE_MESSAGE(DATA_BLOB *blob,
34 TALLOC_CTX *mem_ctx,
35 const struct CHALLENGE_MESSAGE *r);
36 NTSTATUS ntlmssp_push_AUTHENTICATE_MESSAGE(DATA_BLOB *blob,
37 TALLOC_CTX *mem_ctx,
38 const struct AUTHENTICATE_MESSAGE *r);