diff options
-rw-r--r-- | gatchat/ppp_cp.c | 8 | ||||
-rw-r--r-- | gatchat/ppp_cp.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/gatchat/ppp_cp.c b/gatchat/ppp_cp.c index 848820db..98c6635d 100644 --- a/gatchat/ppp_cp.c +++ b/gatchat/ppp_cp.c @@ -154,6 +154,14 @@ enum pppcp_event_type { RXR = 15, }; +struct pppcp_timer_data { + struct pppcp_data *data; + guint restart_counter; + guint restart_interval; + guint max_counter; + guint restart_timer; +}; + struct pppcp_data { unsigned char state; struct pppcp_timer_data config_timer_data; diff --git a/gatchat/ppp_cp.h b/gatchat/ppp_cp.h index de6cb053..913df0f8 100644 --- a/gatchat/ppp_cp.h +++ b/gatchat/ppp_cp.h @@ -66,14 +66,6 @@ struct pppcp_packet { guint8 data[0]; } __attribute__((packed)); -struct pppcp_timer_data { - struct pppcp_data *data; - guint restart_counter; - guint restart_interval; - guint max_counter; - guint restart_timer; -}; - struct pppcp_data *pppcp_new(GAtPPP *ppp, guint16 proto, const struct pppcp_action *action); void pppcp_free(struct pppcp_data *data); |