summaryrefslogtreecommitdiff
path: root/source4/auth/session.h
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2007-11-26 02:25:20 +0100
committerStefan Metzmacher <metze@samba.org>2007-12-21 05:46:14 +0100
commit4340fc2d9e9f84368818e774b0817b100eb57232 (patch)
treef0fb4f0433b74a4f55beeb0c24a8ee7c2f0bbbc3 /source4/auth/session.h
parentf5ceca42593642f739157f2cca0e7e2bb34a3de4 (diff)
downloadsamba-4340fc2d9e9f84368818e774b0817b100eb57232.tar.gz
samba-4340fc2d9e9f84368818e774b0817b100eb57232.tar.bz2
samba-4340fc2d9e9f84368818e774b0817b100eb57232.zip
r26127: Move session code out of auth_util.c. No longer making it part of auth but making it usable independently will be the next step.
(This used to be commit b3fcb8e8103304fede865b02ca5169d5793a571d)
Diffstat (limited to 'source4/auth/session.h')
-rw-r--r--source4/auth/session.h33
1 files changed, 33 insertions, 0 deletions
diff --git a/source4/auth/session.h b/source4/auth/session.h
new file mode 100644
index 0000000000..233b84d39a
--- /dev/null
+++ b/source4/auth/session.h
@@ -0,0 +1,33 @@
+/*
+ Unix SMB/CIFS implementation.
+ Auth session handling
+ Copyright (C) Andrew Bartlett 2001
+ Copyright (C) Stefan Metzmacher 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
+ the Free Software Foundation; either version 3 of the License, or
+ (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
+ along with this program. If not, see <http://www.gnu.org/licenses/>.
+*/
+
+#ifndef _SAMBA_AUTH_SESSION_H
+#define _SAMBA_AUTH_SESSION_H
+
+struct auth_session_info {
+ struct security_token *security_token;
+ struct auth_serversupplied_info *server_info;
+ DATA_BLOB session_key;
+ struct cli_credentials *credentials;
+};
+
+#include "auth/session_proto.h"
+
+#endif /* _SAMBA_AUTH_SESSION_H */