From b3cd44d50cff99fa77611679d68d2d57434fefa4 Mon Sep 17 00:00:00 2001 From: Stefan Metzmacher Date: Wed, 31 Jul 2013 13:21:14 +0200 Subject: auth/credentials: add cli_credentials_shallow_copy() This is useful for testing. Signed-off-by: Stefan Metzmacher Reviewed-by: Andrew Bartlett --- auth/credentials/credentials.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'auth/credentials/credentials.h') 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 */ -- cgit