Mercurial > dovecot > core-2.2
view src/auth/otp-skey-common.h @ 6213:e33a87152c41 HEAD
Changed set_credentials() callback to take a bool success instead of
enum passdb_result.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Tue, 07 Aug 2007 13:15:28 +0300 |
parents | c04189d77a59 |
children | e4eb71ae8e96 |
line wrap: on
line source
#ifndef __OTP_SKEY_COMMON_H__ #define __OTP_SKEY_COMMON_H__ struct otp_auth_request { struct auth_request auth_request; pool_t pool; int lock; struct otp_state state; }; void otp_lock_init(void); int otp_try_lock(struct auth_request *auth_request); void otp_unlock(struct auth_request *auth_request); void otp_set_credentials_callback(bool success, struct auth_request *auth_request); void mech_otp_skey_auth_free(struct auth_request *auth_request); #endif /* __OTP_SKEY_COMMON_H__ */