diff options
author | Kristen Carlson Accardi <kristen@linux.intel.com> | 2010-05-10 11:39:42 -0700 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-05-10 15:41:39 -0500 |
commit | 72c38f7adbc866babc3a5ecfe1e2da75af9763ab (patch) | |
tree | a3409e56a108ab6eca9c8245b3760b3399b20760 /gatchat/gatchat.c | |
parent | cb36130b13d1991d01226ecf2acf6d9c2339d9e5 (diff) | |
download | ofono-72c38f7adbc866babc3a5ecfe1e2da75af9763ab.tar.bz2 |
gatchat: implement g_at_chat_get_io()
Diffstat (limited to 'gatchat/gatchat.c')
-rw-r--r-- | gatchat/gatchat.c | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/gatchat/gatchat.c b/gatchat/gatchat.c index f94605fc..3f238a27 100644 --- a/gatchat/gatchat.c +++ b/gatchat/gatchat.c @@ -876,6 +876,14 @@ GIOChannel *g_at_chat_get_channel(GAtChat *chat) return g_at_io_get_channel(chat->io); } +GAtIO *g_at_chat_get_io(GAtChat *chat) +{ + if (chat == NULL) + return NULL; + + return chat->io; +} + GAtChat *g_at_chat_ref(GAtChat *chat) { if (chat == NULL) |