[patch 1/6] Add PPP protocol support with HDLC framing
Denis Kenzior
denkenz at gmail.com
Thu Mar 11 18:24:35 PST 2010
Hi Kristen,
> +struct ppp_link * g_at_ppp_new(GIOChannel *modem);
> +void g_at_ppp_open(struct ppp_link *link);
> +void g_at_ppp_set_connect_function(struct ppp_link *link,
> + GAtPPPConnectFunc callback, gpointer user_data);
> +void g_at_ppp_set_disconnect_function(struct ppp_link *link,
> + GAtPPPDisconnectFunc callback,
> + gpointer user_data);
> +void g_at_ppp_shutdown(struct ppp_link *link);
> +void g_at_ppp_ref(struct ppp_link *link);
> +void g_at_ppp_unref(struct ppp_link *link);
Almost forgot, let us not use struct ppp_link here, but instead use GAtPpp
*ppp as the parameter. Again, mostly for consistency with how glib / gatchat
does this.
Regards,
-Denis
More information about the ofono
mailing list