diff options
Diffstat (limited to 'accel-pptpd/ppp/ppp_auth.h')
-rw-r--r-- | accel-pptpd/ppp/ppp_auth.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/accel-pptpd/ppp/ppp_auth.h b/accel-pptpd/ppp/ppp_auth.h index fbd2017..ea12d9c 100644 --- a/accel-pptpd/ppp/ppp_auth.h +++ b/accel-pptpd/ppp/ppp_auth.h @@ -24,12 +24,14 @@ struct ppp_auth_handler_t int (*finish)(struct ppp_t*, struct auth_data_t*); void (*free)(struct ppp_t*,struct auth_data_t*); int (*check)(uint8_t *); + int (*restart)(struct ppp_t*,struct auth_data_t*); }; int ppp_auth_register_handler(struct ppp_auth_handler_t*); -void auth_successed(struct ppp_t *ppp, char *username); -void auth_failed(struct ppp_t *ppp); +void ppp_auth_successed(struct ppp_t *ppp, char *username); +void ppp_auth_failed(struct ppp_t *ppp); +int ppp_auth_restart(struct ppp_t *ppp); #endif |