summaryrefslogtreecommitdiffstats
path: root/gatchat/gatserver.h
diff options
context:
space:
mode:
authorZhenhua Zhang <zhenhua.zhang@intel.com>2010-06-12 13:50:40 +0800
committerDenis Kenzior <denkenz@gmail.com>2010-06-17 14:38:23 -0500
commit047ea0cebbf2196d64ba81ab90efe5f8aeaf87fa (patch)
treeb1a2090bb718e9adb93c871dafce9386d0a27ee0 /gatchat/gatserver.h
parent02a54376c9c8dbe3544b444dd123957105ef2ee8 (diff)
downloadofono-047ea0cebbf2196d64ba81ab90efe5f8aeaf87fa.tar.bz2
gatserver: Suspend/resume GAtServer with GAtIO
Support g_at_server_suspend and g_at_server_resume operation by using GAtIO to handle IO related function.
Diffstat (limited to 'gatchat/gatserver.h')
-rw-r--r--gatchat/gatserver.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/gatchat/gatserver.h b/gatchat/gatserver.h
index b604c374..f0c19da4 100644
--- a/gatchat/gatserver.h
+++ b/gatchat/gatserver.h
@@ -28,6 +28,7 @@ extern "C" {
#include "gatresult.h"
#include "gatutil.h"
+#include "gatio.h"
struct _GAtServer;
@@ -68,8 +69,12 @@ typedef void (*GAtServerNotifyFunc)(GAtServerRequestType type,
GAtResult *result, gpointer user_data);
GAtServer *g_at_server_new(GIOChannel *io);
+GIOChannel *g_at_server_get_channel(GAtServer *server);
+GAtIO *g_at_server_get_io(GAtServer *server);
GAtServer *g_at_server_ref(GAtServer *server);
+void g_at_server_suspend(GAtServer *server);
+void g_at_server_resume(GAtServer *server);
void g_at_server_unref(GAtServer *server);
gboolean g_at_server_shutdown(GAtServer *server);