diff options
author | Marcel Holtmann <marcel@holtmann.org> | 2010-10-21 18:28:08 +0200 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2010-10-21 18:41:38 +0200 |
commit | 7492223f49f668c66639c35c2a29ff77fdb47452 (patch) | |
tree | 57b36c888a777963c6eb70faabf84b1f0e8683ef /gatchat/gatchat.h | |
parent | d0cbae0092721bfd3d97f41337db966c446f460a (diff) | |
download | ofono-7492223f49f668c66639c35c2a29ff77fdb47452.tar.bz2 |
gatchat: Add support for slave chat instances
This adds support to assign a slave chat instance to an existing chat
instance. The slave chat is now additionally bound by the lifetime of
its master chat instance.
In case the master is cloned, the slave chat instance will also be
cloned as well.
With this it is possible to suspend the master while still have an
active slave for notifications or extra commands.
Diffstat (limited to 'gatchat/gatchat.h')
-rw-r--r-- | gatchat/gatchat.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gatchat/gatchat.h b/gatchat/gatchat.h index f61fe538..8cbb5598 100644 --- a/gatchat/gatchat.h +++ b/gatchat/gatchat.h @@ -50,6 +50,9 @@ void g_at_chat_unref(GAtChat *chat); GAtChat *g_at_chat_clone(GAtChat *chat); +GAtChat *g_at_chat_set_slave(GAtChat *chat, GAtChat *slave); +GAtChat *g_at_chat_get_slave(GAtChat *chat); + void g_at_chat_suspend(GAtChat *chat); void g_at_chat_resume(GAtChat *chat); |