summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2004-12-21 00:01:02 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 13:07:32 -0500
commit616cf701281331bf0bcad56cbfd22ca22576e3d1 (patch)
tree9fd66e14af034f4008c9d24885fbc3aa9cba4943 /source4/include
parentbb072199b14c0e877360475eefb89021e7ec0bcf (diff)
downloadsamba-616cf701281331bf0bcad56cbfd22ca22576e3d1.tar.gz
samba-616cf701281331bf0bcad56cbfd22ca22576e3d1.tar.bz2
samba-616cf701281331bf0bcad56cbfd22ca22576e3d1.zip
r4298: Update to credentials.h after feedback from Andrew Bartlett
Move pack/unpack of values in ldb registry backend to seperate functions (This used to be commit ceb4e92735f6dae96bb0b9d98211c9808159e56a)
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/credentials.h10
1 files changed, 6 insertions, 4 deletions
diff --git a/source4/include/credentials.h b/source4/include/credentials.h
index 99173ab421..0e81615878 100644
--- a/source4/include/credentials.h
+++ b/source4/include/credentials.h
@@ -29,8 +29,10 @@ struct cli_credentials {
const char *domain;
const char *realm;
- const char *(*username_cb) (void);
- const char *(*password_cb) (void);
- const char *(*domain_cb) (void);
- const char *(*realm_cb) (void);
+ const char *(*username_cb) (struct cli_credentials *);
+ const char *(*password_cb) (struct cli_credentials *);
+ const char *(*domain_cb) (struct cli_credentials *);
+ const char *(*realm_cb) (struct cli_credentials *);
+
+ void *priv_data;
};