From c9d193eb08b036c5196d63c22790f3cd3583ba82 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Sun, 25 Jan 2009 05:32:30 +0100 Subject: Add prototypes required by samba-gtk. --- source4/auth/credentials/credentials.h | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'source4/auth') diff --git a/source4/auth/credentials/credentials.h b/source4/auth/credentials/credentials.h index a4fe3f2c30..3c2fb8f2e6 100644 --- a/source4/auth/credentials/credentials.h +++ b/source4/auth/credentials/credentials.h @@ -186,8 +186,17 @@ void cli_credentials_set_kerberos_state(struct cli_credentials *creds, bool cli_credentials_set_domain(struct cli_credentials *cred, const char *val, enum credentials_obtained obtained); +bool cli_credentials_set_domain_callback(struct cli_credentials *cred, + const char *(*domain_cb) (struct cli_credentials *)); bool cli_credentials_set_username(struct cli_credentials *cred, const char *val, enum credentials_obtained obtained); +bool cli_credentials_set_username_callback(struct cli_credentials *cred, + const char *(*username_cb) (struct cli_credentials *)); +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 *)); bool cli_credentials_set_password(struct cli_credentials *cred, const char *val, enum credentials_obtained obtained); -- cgit