diff options
author | Luke Leighton <lkcl@samba.org> | 1999-03-05 22:03:04 +0000 |
---|---|---|
committer | Luke Leighton <lkcl@samba.org> | 1999-03-05 22:03:04 +0000 |
commit | caa34b37e4cf37523a3094425724dbd2f3f973b9 (patch) | |
tree | 8a1b5e28fd973b3bb3879bad7e450920d6542065 /source3/passdb/mysqlpass.c | |
parent | 00d86ccb1cceda0381383420bdbfd452456c7545 (diff) | |
download | samba-caa34b37e4cf37523a3094425724dbd2f3f973b9.tar.gz samba-caa34b37e4cf37523a3094425724dbd2f3f973b9.tar.bz2 samba-caa34b37e4cf37523a3094425724dbd2f3f973b9.zip |
Benjamin Kuit's mods.
(This used to be commit eb63fbdb68f1189593e68272e05d7ebf76652c4c)
Diffstat (limited to 'source3/passdb/mysqlpass.c')
-rw-r--r-- | source3/passdb/mysqlpass.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/passdb/mysqlpass.c b/source3/passdb/mysqlpass.c index c27cf708a6..35c82651b7 100644 --- a/source3/passdb/mysqlpass.c +++ b/source3/passdb/mysqlpass.c @@ -392,7 +392,7 @@ struct smb_passwd *mysql_getsmbpwent(void *vp) return (struct smb_passwd*)mysql_fill_smb_passwd( mysql_getpwent(vp) ); } -void *mysql_fetch_passwd( mysql_fill_func filler, char *where ) +void *mysql_fetch_passwd( void *(*filler)(MYSQL_ROW*), char *where ) { void *retval; MYSQL handle; @@ -442,7 +442,7 @@ void *mysql_fetch_passwd( mysql_fill_func filler, char *where ) return retval; } -void *mysql_getpwuid(mysql_fill_func filler, uid_t uid) +void *mysql_getpwuid(void *(*filler)(MYSQL_ROW *), uid_t uid) { fstring where; @@ -461,7 +461,7 @@ struct smb_passwd *mysql_getsmbpwuid(uid_t uid) return (struct smb_passwd *)mysql_getpwuid( mysql_fill_smb_passwd, uid ); } -void *mysql_getpwnam(mysql_fill_func filler, char *field, const char *name) +void *mysql_getpwnam(void *(*filler)(MYSQL_ROW *), char *field, const char *name) { fstring where; char format[] = "%s='%s'"; |