From: Volker Lendecke Date: Fri, 21 Nov 2025 14:28:01 +0000 (+0100) Subject: credentials: Remove duplicate prototypes X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6fbaf8e4cc7a761229af58bf79a01ebfca6fa01e;p=thirdparty%2Fsamba.git credentials: Remove duplicate prototypes Signed-off-by: Volker Lendecke Reviewed-by: Anoop C S --- diff --git a/auth/credentials/credentials.h b/auth/credentials/credentials.h index 9f945726440..b0d744e3115 100644 --- a/auth/credentials/credentials.h +++ b/auth/credentials/credentials.h @@ -289,9 +289,6 @@ NTSTATUS cli_credentials_set_secrets(struct cli_credentials *cred, char **error_string); int cli_credentials_get_kvno(struct cli_credentials *cred); -bool cli_credentials_set_username_callback(struct cli_credentials *cred, - const char *(*username_cb) (struct cli_credentials *)); - enum credentials_obtained cli_credentials_get_principal_obtained(struct cli_credentials *cred); /** @@ -301,11 +298,6 @@ enum credentials_obtained cli_credentials_get_principal_obtained(struct cli_cred * @note Return value will never be NULL except by programmer error. */ char *cli_credentials_get_principal_and_obtained(struct cli_credentials *cred, TALLOC_CTX *mem_ctx, enum credentials_obtained *obtained); -bool cli_credentials_set_principal(struct cli_credentials *cred, - const char *val, - enum credentials_obtained obtained); -bool cli_credentials_set_principal_callback(struct cli_credentials *cred, - const char *(*principal_cb) (struct cli_credentials *)); /** * Obtain the 'old' password for this credentials context (used for join accounts).