diff options
author | Kozlov Dmitry <dima@server> | 2010-10-29 11:03:30 +0400 |
---|---|---|
committer | Kozlov Dmitry <dima@server> | 2010-10-29 11:03:30 +0400 |
commit | 4e1a10190d4afba6a960666fa540a8983023b595 (patch) | |
tree | 914e71858ed1b817fcd91f6928845c2428bee618 /accel-pptpd/ppp/ppp_auth.h | |
parent | 2b4c0b2f5ff2eca2c88fbf745365956e51338538 (diff) | |
parent | e1603a51f450ad7ee52fe89ef5d78b82845fdcc2 (diff) | |
download | accel-ppp-4e1a10190d4afba6a960666fa540a8983023b595.tar.gz accel-ppp-4e1a10190d4afba6a960666fa540a8983023b595.zip |
Merge branch 'master' of ssh://accel-pptp.git.sourceforge.net/gitroot/accel-pptp/accel-pptp
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 fbd2017c..ea12d9c6 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 |