diff options
author | Denis Kenzior <denkenz@gmail.com> | 2009-08-06 15:50:10 -0500 |
---|---|---|
committer | Denis Kenzior <denkenz@gmail.com> | 2009-08-06 16:38:46 -0500 |
commit | 88b327cff57b24c1a64248fcb8e10c63e5969232 (patch) | |
tree | 637c7aa5a79c5c2b31fae41ff40860b6e7f430b5 /gatchat/gatchat.h | |
parent | d66fd48bf962079e13a3e3a7a97174e79c582c4f (diff) | |
download | ofono-88b327cff57b24c1a64248fcb8e10c63e5969232.tar.bz2 |
Cleanup the debug support patch
Diffstat (limited to 'gatchat/gatchat.h')
-rw-r--r-- | gatchat/gatchat.h | 8 |
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 |