summaryrefslogtreecommitdiffstats
path: root/gatchat/gatserver.h
diff options
context:
space:
mode:
authorZhenhua Zhang <zhenhua.zhang@intel.com>2010-03-19 17:44:44 +0800
committerDenis Kenzior <denkenz@gmail.com>2010-03-22 12:59:04 -0500
commit7633a54ffd0e017cd73914d65ebc690ec70e97c2 (patch)
treeb51ef7ee15ecc8d738639348a2b732c776b104eb /gatchat/gatserver.h
parent60cf097ffdac13fffc1bc9cba2d986b28049daf2 (diff)
downloadofono-7633a54ffd0e017cd73914d65ebc690ec70e97c2.tar.bz2
Add g_at_server_register and unregister callback
Diffstat (limited to 'gatchat/gatserver.h')
-rw-r--r--gatchat/gatserver.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/gatchat/gatserver.h b/gatchat/gatserver.h
index 1c12a0df..5e9eb621 100644
--- a/gatchat/gatserver.h
+++ b/gatchat/gatserver.h
@@ -81,6 +81,12 @@ gboolean g_at_server_set_debug(GAtServer *server,
GAtDebugFunc func,
gpointer user);
+gboolean g_at_server_register(GAtServer *server, char *prefix,
+ GAtServerNotifyFunc notify,
+ gpointer user_data,
+ GDestroyNotify destroy_notify);
+gboolean g_at_server_unregister(GAtServer *server, const char *prefix);
+
#ifdef __cplusplus
}
#endif