summaryrefslogtreecommitdiff
path: root/accel-pptpd/ppp/ppp.h
diff options
context:
space:
mode:
authorKozlov Dmitry <dima@server>2010-09-10 12:49:35 +0400
committerKozlov Dmitry <dima@server>2010-09-10 12:49:35 +0400
commitd0c060a39d3bf6f675666a1400b533511e24a26c (patch)
tree32d9bcd1c5cc094b868c037dcca55ce97373b1b7 /accel-pptpd/ppp/ppp.h
parentc471cd62571f654b92bad0bd9f431927758f4d45 (diff)
downloadaccel-ppp-d0c060a39d3bf6f675666a1400b533511e24a26c.tar.gz
accel-ppp-d0c060a39d3bf6f675666a1400b533511e24a26c.zip
switching to use triton events instead of ppp_notify
Diffstat (limited to 'accel-pptpd/ppp/ppp.h')
-rw-r--r--accel-pptpd/ppp/ppp.h17
1 files changed, 0 insertions, 17 deletions
diff --git a/accel-pptpd/ppp/ppp.h b/accel-pptpd/ppp/ppp.h
index a82e975..ce6854a 100644
--- a/accel-pptpd/ppp/ppp.h
+++ b/accel-pptpd/ppp/ppp.h
@@ -53,16 +53,6 @@ struct ppp_ctrl_t
void (*finished)(struct ppp_t*);
};
-struct ppp_notified_t
-{
- struct list_head entry;
- void (*starting)(struct ppp_notified_t *, struct ppp_t *);
- void (*started)(struct ppp_notified_t *, struct ppp_t *);
- void (*finishing)(struct ppp_notified_t *, struct ppp_t *);
- void (*finished)(struct ppp_notified_t *, struct ppp_t *);
- void (*authenticated)(struct ppp_notified_t *, struct ppp_t *);
-};
-
struct ppp_pd_t
{
struct list_head entry;
@@ -149,13 +139,6 @@ int ppp_register_layer(const char *name, struct ppp_layer_t *);
void ppp_unregister_layer(struct ppp_layer_t *);
struct ppp_layer_data_t *ppp_find_layer_data(struct ppp_t *, struct ppp_layer_t *);
-void ppp_register_notified(struct ppp_notified_t *);
-void ppp_unregister_notified(struct ppp_notified_t *);
-void ppp_notify_starting(struct ppp_t *ppp);
-void ppp_notify_started(struct ppp_t *ppp);
-void ppp_notify_finishing(struct ppp_t *ppp);
-void ppp_notify_finished(struct ppp_t *ppp);
-
extern int conf_ppp_verbose;
extern int sock_fd; // internet socket for ioctls