summaryrefslogtreecommitdiff
path: root/auth/auth_util.h
diff options
context:
space:
mode:
authorBjörn Baumbach <bb@sernet.de>2018-08-30 16:33:25 +0200
committerBjörn Baumbach <bb@sernet.de>2018-10-11 10:28:17 +0200
commit96b5bf1370fc7975e766dccb1ad70aa57f1d9c6a (patch)
treec5e3bf99b646d479f96295a7744cf4646eac49c0 /auth/auth_util.h
parent31daab88e6a415e72ead69844e3eccf5dc02e53c (diff)
downloadsamba-96b5bf1370fc7975e766dccb1ad70aa57f1d9c6a.tar.gz
auth: move copy_session_info() from source3 into the global auth context
Signed-off-by: Björn Baumbach <bb@sernet.de> Reviewed-by: Volker Lendecke <vl@samba.org>
Diffstat (limited to 'auth/auth_util.h')
-rw-r--r--auth/auth_util.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/auth/auth_util.h b/auth/auth_util.h
new file mode 100644
index 00000000000..1037cb8361f
--- /dev/null
+++ b/auth/auth_util.h
@@ -0,0 +1,23 @@
+/*
+ Unix SMB/CIFS implementation.
+ Authentication utility functions
+
+ Copyright (C) Andrew Bartlett <abartlet@samba.org> 2017
+
+ 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/>.
+*/
+
+struct auth_session_info *copy_session_info(
+ TALLOC_CTX *mem_ctx,
+ const struct auth_session_info *src);