summaryrefslogtreecommitdiffstats
path: root/gatchat/gatutil.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-04-10 11:56:11 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-04-10 11:56:11 +0200
commita9c204effa724ff31937e526f1050eadca6a9beb (patch)
tree8cae6a4f8823f7d8bcb9a83bb9e6f16b9a435502 /gatchat/gatutil.h
parent4c76be6c0dd6c96d64a2b26f1e959320456e6113 (diff)
downloadofono-a9c204effa724ff31937e526f1050eadca6a9beb.tar.bz2
Add utility helper for debugging binary blobs
Diffstat (limited to 'gatchat/gatutil.h')
-rw-r--r--gatchat/gatutil.h7
1 files changed, 5 insertions, 2 deletions
diff --git a/gatchat/gatutil.h b/gatchat/gatutil.h
index 993db457..1a065af2 100644
--- a/gatchat/gatutil.h
+++ b/gatchat/gatutil.h
@@ -22,15 +22,18 @@
#ifndef __GATUTIL_H
#define __GATUTIL_H
+#include "gat.h"
+
#ifdef __cplusplus
extern "C" {
#endif
-#include "gat.h"
-
void g_at_util_debug_chat(gboolean in, const char *str, gsize len,
GAtDebugFunc debugf, gpointer user_data);
+void g_at_util_debug_dump(gboolean in, const unsigned char *buf, gsize len,
+ GAtDebugFunc debugf, gpointer user_data);
+
gboolean g_at_util_setup_io(GIOChannel *io, GIOFlags flags);
#ifdef __cplusplus