summaryrefslogtreecommitdiff
path: root/accel-pptpd/ppp_auth.h
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-08-11 17:06:20 +0400
committerKozlov Dmitry <dima@server>2010-08-11 17:06:20 +0400
commitab418b16bf2c9a57dbb7c18141af2eb283c44447 (patch)
tree360039811b0fa2fea82e285a00626c4d649f429c /accel-pptpd/ppp_auth.h
parent5286c9d19031c93a785a4d8729abf9e6a1710f98 (diff)
downloadaccel-ppp-xebd-ab418b16bf2c9a57dbb7c18141af2eb283c44447.tar.gz
accel-ppp-xebd-ab418b16bf2c9a57dbb7c18141af2eb283c44447.zip
nothing interesting, just writing code ...
Diffstat (limited to 'accel-pptpd/ppp_auth.h')
-rw-r--r--accel-pptpd/ppp_auth.h6
1 files changed, 4 insertions, 2 deletions
diff --git a/accel-pptpd/ppp_auth.h b/accel-pptpd/ppp_auth.h
index 79ceb64..064bf24 100644
--- a/accel-pptpd/ppp_auth.h
+++ b/accel-pptpd/ppp_auth.h
@@ -11,8 +11,10 @@ struct auth_driver_t
{
struct list_head entry;
int type;
- int (*get_conf_req)(struct auth_driver_t*, struct ppp_layer_t*, struct lcp_opt32_t*);
- int (*recv_conf_req)(struct auth_driver_t*, struct ppp_layer_t*, struct lcp_opt32_t*);
+ int (*get_conf_req)(struct auth_driver_t*, struct ppp_t*, struct lcp_opt32_t*);
+ int (*recv_conf_req)(struct auth_driver_t*, struct ppp_t*, struct lcp_opt32_t*);
+ int (*begin)(struct auth_driver_t*, struct ppp_t*);
+ int (*terminate)(struct auth_driver_t*, struct ppp_t*);
};
int auth_get_conf_req(struct ppp_layer_t *l, struct lcp_opt32_t *);