diff options
author | Zhenhua Zhang <zhenhua.zhang@intel.com> | 2010-01-15 09:15:38 +0800 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2010-01-20 14:13:57 -0600 |
commit | 7145edd3a416b133da1a208292b919256c822baf (patch) | |
tree | b82a7390f207785b950889869782b1cdbcf1a60a /gatchat/gatchat.h | |
parent | e82972722418407737c68631a78bb3c96e6f7d55 (diff) | |
download | ofono-7145edd3a416b133da1a208292b919256c822baf.tar.bz2 |
Add gatutil.c to share common APIs with GAtServer
Add gatutil.c/h gat.h and move shared typedef and APIs into it.
So that they can be shared by GAtServer and GAtChat.
Diffstat (limited to 'gatchat/gatchat.h')
-rw-r--r-- | gatchat/gatchat.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/gatchat/gatchat.h b/gatchat/gatchat.h index 999b92dd..f76fc421 100644 --- a/gatchat/gatchat.h +++ b/gatchat/gatchat.h @@ -28,6 +28,7 @@ extern "C" { #include "gatresult.h" #include "gatsyntax.h" +#include "gatutil.h" struct _GAtChat; @@ -36,8 +37,6 @@ typedef struct _GAtChat GAtChat; typedef void (*GAtResultFunc)(gboolean success, GAtResult *result, gpointer user_data); typedef void (*GAtNotifyFunc)(GAtResult *result, gpointer user_data); -typedef void (*GAtDisconnectFunc)(gpointer user_data); -typedef void (*GAtDebugFunc)(const char *str, gpointer user_data); GAtChat *g_at_chat_new(GIOChannel *channel, GAtSyntax *syntax); |