summaryrefslogtreecommitdiffstats
path: root/gatchat/gatppp.c
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2010-04-28 20:25:10 -0500
committerDenis Kenzior <denkenz@gmail.com>2010-04-28 20:25:10 -0500
commitc9edf56fc69bdf79eeb7cbd11917d6455d098784 (patch)
treed30f5a374a03f77164ccb8f5cd92d8886b59387e /gatchat/gatppp.c
parente42b7282f715dbf233bf2a950ccce7af69a09833 (diff)
downloadofono-c9edf56fc69bdf79eeb7cbd11917d6455d098784.tar.bz2
ppp: Hang set_recording off the GAtPPP object
Marcel: recording right now only works for PPP, so we'd need some sort of multi-protocol support. So for now expose set_recording to be used through the main PPP object. HDLC object recording support needs to be extended.
Diffstat (limited to 'gatchat/gatppp.c')
-rw-r--r--gatchat/gatppp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gatchat/gatppp.c b/gatchat/gatppp.c
index 461b54d9..dfdaf40c 100644
--- a/gatchat/gatppp.c
+++ b/gatchat/gatppp.c
@@ -308,12 +308,12 @@ const char *g_at_ppp_get_password(GAtPPP *ppp)
return ppp->password;
}
-GAtHDLC *g_at_ppp_get_hdlc(GAtPPP *ppp)
+void g_at_ppp_set_recording(GAtPPP *ppp, const char *filename)
{
if (ppp == NULL)
- return NULL;
+ return;
- return ppp->hdlc;
+ g_at_hdlc_set_recording(ppp->hdlc, filename);
}
void g_at_ppp_set_connect_function(GAtPPP *ppp, GAtPPPConnectFunc func,