summaryrefslogtreecommitdiffstats
path: root/gatchat/gatchat.h
diff options
context:
space:
mode:
authorDenis Kenzior <denkenz@gmail.com>2009-08-06 15:50:10 -0500
committerDenis Kenzior <denkenz@gmail.com>2009-08-06 16:38:46 -0500
commit88b327cff57b24c1a64248fcb8e10c63e5969232 (patch)
tree637c7aa5a79c5c2b31fae41ff40860b6e7f430b5 /gatchat/gatchat.h
parentd66fd48bf962079e13a3e3a7a97174e79c582c4f (diff)
downloadofono-88b327cff57b24c1a64248fcb8e10c63e5969232.tar.bz2
Cleanup the debug support patch
Diffstat (limited to 'gatchat/gatchat.h')
-rw-r--r--gatchat/gatchat.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/gatchat/gatchat.h b/gatchat/gatchat.h
index 9bfcab1d..5822f1b2 100644
--- a/gatchat/gatchat.h
+++ b/gatchat/gatchat.h
@@ -57,8 +57,12 @@ gboolean g_at_chat_shutdown(GAtChat *chat);
gboolean g_at_chat_set_disconnect_function(GAtChat *chat,
GAtDisconnectFunc disconnect, gpointer user_data);
-gboolean g_at_chat_set_debugging(GAtChat *chat, GAtDebugFunc func,
- gpointer user_data);
+/*!
+ * If the function is not NULL, then on every read/write from the GIOChannel
+ * provided to GAtChat the logging function will be called with the
+ * input/output string and user data
+ */
+gboolean g_at_chat_set_debug(GAtChat *chat, GAtDebugFunc func, gpointer user);
/*!
* Queue an AT command for execution. The command contents are given