Mercurial > dovecot > core-2.2
view src/auth/otp-skey-common.h @ 4798:c04189d77a59 HEAD
Added OTP and S/KEY authentication mechanisms. Patch by Andrey Panin.
author | Timo Sirainen <tss@iki.fi> |
---|---|
date | Sun, 12 Nov 2006 21:36:39 +0200 |
parents | |
children | e33a87152c41 |
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(enum passdb_result result, struct auth_request *auth_request); void mech_otp_skey_auth_free(struct auth_request *auth_request); #endif /* __OTP_SKEY_COMMON_H__ */