]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
credentials: Remove duplicate prototypes
authorVolker Lendecke <vl@samba.org>
Fri, 21 Nov 2025 14:28:01 +0000 (15:28 +0100)
committerVolker Lendecke <vl@samba.org>
Wed, 7 Jan 2026 09:57:40 +0000 (09:57 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Anoop C S <anoopcs@samba.org>
auth/credentials/credentials.h

index 9f9457264400222cc7a79d37845e88d76b770eba..b0d744e31156f5c2ba195e41f66f9f4338f9a9ae 100644 (file)
@@ -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).