s3: Fix bug #9085.
[Samba.git] / source3 / libsmb / ntlmssp_ndr.h
blob52990b2a56e8ad607f197324d644b58bcd4744b3
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 smb_iconv_convenience *ic,
24 struct NEGOTIATE_MESSAGE *r);
25 NTSTATUS ntlmssp_pull_CHALLENGE_MESSAGE(const DATA_BLOB *blob,
26 TALLOC_CTX *mem_ctx,
27 struct smb_iconv_convenience *ic,
28 struct CHALLENGE_MESSAGE *r);
29 NTSTATUS ntlmssp_pull_AUTHENTICATE_MESSAGE(const DATA_BLOB *blob,
30 TALLOC_CTX *mem_ctx,
31 struct smb_iconv_convenience *ic,
32 struct AUTHENTICATE_MESSAGE *r);
33 NTSTATUS ntlmssp_push_NEGOTIATE_MESSAGE(DATA_BLOB *blob,
34 TALLOC_CTX *mem_ctx,
35 struct smb_iconv_convenience *ic,
36 const struct NEGOTIATE_MESSAGE *r);
37 NTSTATUS ntlmssp_push_CHALLENGE_MESSAGE(DATA_BLOB *blob,
38 TALLOC_CTX *mem_ctx,
39 struct smb_iconv_convenience *ic,
40 const struct CHALLENGE_MESSAGE *r);
41 NTSTATUS ntlmssp_push_AUTHENTICATE_MESSAGE(DATA_BLOB *blob,
42 TALLOC_CTX *mem_ctx,
43 struct smb_iconv_convenience *ic,
44 const struct AUTHENTICATE_MESSAGE *r);