mirror of git://git.sysmocom.de/ofono
ppp: Move pppcp_timer_data private
This commit is contained in:
parent
fc26e6e409
commit
892ee0a364
|
@ -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;
|
||||
|
|
|
@ -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);
|
||||
|
|
Loading…
Reference in New Issue