diff options
author | Denis Kenzior <denkenz@gmail.com> | 2010-04-13 14:55:10 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-04-13 14:55:10 -0500 |
commit | d1d73a75fc46e9ea88d4daf5c9223e8d9268c305 (patch) | |
tree | 9c74b8bd1e9d10b444c549c2c0d1d05e242e23f6 /gatchat/ppp.h | |
parent | 6525826455939c96105826bfcec2d334827748eb (diff) | |
download | ofono-d1d73a75fc46e9ea88d4daf5c9223e8d9268c305.tar.bz2 |
ppp: Introduce ppp_net_up_notify and use it
This is slightly cleaner way than defining a weird callback function.
Diffstat (limited to 'gatchat/ppp.h')
-rw-r--r-- | gatchat/ppp.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gatchat/ppp.h b/gatchat/ppp.h index 9373242b..f3b325e2 100644 --- a/gatchat/ppp.h +++ b/gatchat/ppp.h @@ -79,6 +79,8 @@ void ppp_enter_phase(GAtPPP *ppp, enum ppp_phase phase); void ppp_transmit(GAtPPP *ppp, guint8 *packet, guint infolen); void ppp_set_auth(GAtPPP *ppp, const guint8 *auth_data); void ppp_auth_notify(GAtPPP *ppp, gboolean success); +void ppp_net_up_notify(GAtPPP *ppp, const char *ip, + const char *dns1, const char *dns2); void ppp_set_recv_accm(GAtPPP *ppp, guint32 accm); void ppp_set_xmit_accm(GAtPPP *ppp, guint32 accm); void ppp_set_pfc(GAtPPP *ppp, gboolean pfc); @@ -90,8 +92,6 @@ void lcp_free(struct pppcp_data *lcp); void lcp_protocol_reject(struct pppcp_data *lcp, guint8 *packet, gsize len); struct pppcp_data *ipcp_new(GAtPPP *ppp); void ipcp_free(struct pppcp_data *data); -void ppp_connect_cb(GAtPPP *ppp, GAtPPPConnectStatus success, - const char *ip, const char *dns1, const char *dns2); /* CHAP related functions */ struct ppp_chap *ppp_chap_new(GAtPPP *ppp, guint8 method); |