source: trunk/server/source4/auth/gensec/gensec_tstream.h

Last change on this file was 745, checked in by Silvan Scherrer, 13 years ago

Samba Server: updated trunk to 3.6.0

File size: 1.4 KB
Line 
1/*
2 Unix SMB/CIFS implementation.
3
4 tstream based generic authentication interface
5
6 Copyright (c) 2010 Stefan Metzmacher
7 Copyright (c) 2010 Andreas Schneider <asn@redhat.com>
8
9 This program is free software; you can redistribute it and/or modify
10 it under the terms of the GNU General Public License as published by
11 the Free Software Foundation; either version 3 of the License, or
12 (at your option) any later version.
13
14 This program is distributed in the hope that it will be useful,
15 but WITHOUT ANY WARRANTY; without even the implied warranty of
16 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
17 GNU General Public License for more details.
18
19 You should have received a copy of the GNU General Public License
20 along with this program. If not, see <http://www.gnu.org/licenses/>.
21*/
22
23#ifndef _GENSEC_TSTREAM_H_
24#define _GENSEC_TSTREAM_H_
25
26struct gensec_context;
27struct tstream_context;
28
29NTSTATUS _gensec_create_tstream(TALLOC_CTX *mem_ctx,
30 struct gensec_security *gensec_security,
31 struct tstream_context *plain_tstream,
32 struct tstream_context **gensec_tstream,
33 const char *location);
34#define gensec_create_tstream(mem_ctx, gensec_security, \
35 plain_tstream, gensec_tstream) \
36 _gensec_create_tstream(mem_ctx, gensec_security, \
37 plain_tstream, gensec_tstream, \
38 __location__)
39
40#endif /* _GENSEC_TSTREAM_H_ */
Note: See TracBrowser for help on using the repository browser.