include/auth.h
raw| 1 | /* |
| 2 | * Copyright (c) 2005-2009 Atheme Development Group |
| 3 | * Rights to this code are as documented under doc/LICENSE. |
| 4 | * |
| 5 | * Authentication. |
| 6 | * |
| 7 | */ |
| 8 | |
| 9 | #ifndef AUTH_H |
| 10 | #define AUTH_H |
| 11 | |
| 12 | E void set_password(myuser_t *mu, const char *newpassword); |
| 13 | E bool verify_password(myuser_t *mu, const char *password); |
| 14 | |
| 15 | E bool auth_module_loaded; |
| 16 | E bool (*auth_user_custom)(myuser_t *mu, const char *password); |
| 17 | |
| 18 | #endif |
| 19 | |
| 20 | /* vim:cinoptions=>s,e0,n0,f0,{0,}0,^0,=s,ps,t0,c3,+s,(2s,us,)20,*30,gs,hs |
| 21 | * vim:ts=8 |
| 22 | * vim:sw=8 |
| 23 | * vim:noexpandtab |
| 24 | */ |