From 7633a54ffd0e017cd73914d65ebc690ec70e97c2 Mon Sep 17 00:00:00 2001 From: Zhenhua Zhang Date: Fri, 19 Mar 2010 17:44:44 +0800 Subject: Add g_at_server_register and unregister callback --- gatchat/gatserver.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'gatchat/gatserver.h') 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 -- cgit v1.2.3