diff options
Diffstat (limited to 'auth.h')
| -rw-r--r-- | auth.h | 13 | 
1 files changed, 13 insertions, 0 deletions
| @@ -0,0 +1,13 @@ +#ifndef __BITLBEE_AUTH_H__ +#define __BITLBEE_AUTH_H__ + +#include "storage.h" + +typedef struct { +	const char *name; +	storage_status_t (*check_pass)(const char *nick, const char *password); +} auth_backend_t; + +GList *auth_init(const char *backend); +storage_status_t auth_check_pass(irc_t *irc, const char *nick, const char *password); +#endif | 
