diff options
author | Guillaume Zajac <guillaume.zajac@linux.intel.com> | 2011-05-04 17:39:01 +0200 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2011-05-08 23:03:22 -0500 |
commit | f1cbb783fc571f68c079c7d97f88278ea5b11af2 (patch) | |
tree | 5fa367c4cf5185ba1bcd9d92d868c66868ff619e /gatchat/gatppp.h | |
parent | d48c3091512f794a40e175038125bb56b78de1a7 (diff) | |
download | ofono-f1cbb783fc571f68c079c7d97f88278ea5b11af2.tar.bz2 |
gatppp: Add API for setting suspend callback
In situations where the PPP stream can be suspended by the peer, e.g. in
the server role using '+++'
Diffstat (limited to 'gatchat/gatppp.h')
-rw-r--r-- | gatchat/gatppp.h | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/gatchat/gatppp.h b/gatchat/gatppp.h index fb5de4c3..9464ffd3 100644 --- a/gatchat/gatppp.h +++ b/gatchat/gatppp.h @@ -60,6 +60,8 @@ void g_at_ppp_set_connect_function(GAtPPP *ppp, GAtPPPConnectFunc callback, gpointer user_data); void g_at_ppp_set_disconnect_function(GAtPPP *ppp, GAtPPPDisconnectFunc func, gpointer user_data); +void g_at_ppp_set_suspend_function(GAtPPP *ppp, GAtSuspendFunc func, + gpointer user_data); void g_at_ppp_set_debug(GAtPPP *ppp, GAtDebugFunc func, gpointer user_data); void g_at_ppp_shutdown(GAtPPP *ppp); void g_at_ppp_ref(GAtPPP *ppp); |