summaryrefslogtreecommitdiffstats
path: root/gatchat/gat.h
diff options
context:
space:
mode:
authorMarcel Holtmann <marcel@holtmann.org>2010-04-10 11:54:12 +0200
committerMarcel Holtmann <marcel@holtmann.org>2010-04-10 11:54:12 +0200
commit4c76be6c0dd6c96d64a2b26f1e959320456e6113 (patch)
treef3c3b93a2fb3d81a79d9409fce79e97432045c5a /gatchat/gat.h
parent017b4d3955822fd046649afaa7771896a1b8d0b2 (diff)
downloadofono-4c76be6c0dd6c96d64a2b26f1e959320456e6113.tar.bz2
Add generic receive function definition
Diffstat (limited to 'gatchat/gat.h')
-rw-r--r--gatchat/gat.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gatchat/gat.h b/gatchat/gat.h
index 6696e7d4..ddf86953 100644
--- a/gatchat/gat.h
+++ b/gatchat/gat.h
@@ -22,11 +22,15 @@
#ifndef __GAT_H
#define __GAT_H
+#include <glib.h>
+
#ifdef __cplusplus
extern "C" {
#endif
typedef void (*GAtDisconnectFunc)(gpointer user_data);
+typedef void (*GAtReceiveFunc)(const unsigned char *data, gsize size,
+ gpointer user_data);
typedef void (*GAtDebugFunc)(const char *str, gpointer user_data);
#ifdef __cplusplus