summaryrefslogtreecommitdiffstats
path: root/gatchat/gatppp.c
diff options
context:
space:
mode:
Diffstat (limited to 'gatchat/gatppp.c')
-rw-r--r--gatchat/gatppp.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c
index bd230bf4..1e6862a0 100644
--- a/gatchat/gatppp.c
+++ b/gatchat/gatppp.c
@@ -297,6 +297,14 @@ const char *g_at_ppp_get_password(GAtPPP *ppp)
return ppp->password;
}
+GAtHDLC *g_at_ppp_get_hdlc(GAtPPP *ppp)
+{
+ if (ppp == NULL)
+ return NULL;
+
+ return ppp->hdlc;
+}
+
void g_at_ppp_set_connect_function(GAtPPP *ppp, GAtPPPConnectFunc func,
gpointer user_data)
{