ppp: Move pppcp_timer_data private

This commit is contained in:
Denis Kenzior 2010-04-07 16:10:15 -05:00
parent fc26e6e409
commit 892ee0a364
2 changed files with 8 additions and 8 deletions

View File

@ -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;

View File

@ -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);