summaryrefslogtreecommitdiff
path: root/auth/credentials/credentials.h
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2013-07-31 13:21:14 +0200
committerAndrew Bartlett <abartlet@samba.org>2013-08-05 17:48:01 +1200
commitb3cd44d50cff99fa77611679d68d2d57434fefa4 (patch)
tree805969dea5f1719a56b58e796cec7aaed100b636 /auth/credentials/credentials.h
parent6ff6778bdc60f1cd4d52cba83bd47d3398fe5a20 (diff)
downloadsamba-b3cd44d50cff99fa77611679d68d2d57434fefa4.tar.gz
samba-b3cd44d50cff99fa77611679d68d2d57434fefa4.tar.bz2
samba-b3cd44d50cff99fa77611679d68d2d57434fefa4.zip
auth/credentials: add cli_credentials_shallow_copy()
This is useful for testing. Signed-off-by: Stefan Metzmacher <metze@samba.org> Reviewed-by: Andrew Bartlett <abartlet@samba.org>
Diffstat (limited to 'auth/credentials/credentials.h')
-rw-r--r--auth/credentials/credentials.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/auth/credentials/credentials.h b/auth/credentials/credentials.h
index 0f498ad2d0..1377bfa879 100644
--- a/auth/credentials/credentials.h
+++ b/auth/credentials/credentials.h
@@ -340,6 +340,9 @@ void *_cli_credentials_callback_data(struct cli_credentials *cred);
#define cli_credentials_callback_data_void(_cred) \
_cli_credentials_callback_data(_cred)
+struct cli_credentials *cli_credentials_shallow_copy(TALLOC_CTX *mem_ctx,
+ struct cli_credentials *src);
+
/**
* Return attached NETLOGON credentials
*/