projects
/
platform
/
upstream
/
ofono.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
017b4d3
)
Add generic receive function definition
author
Marcel Holtmann
<marcel@holtmann.org>
Sat, 10 Apr 2010 09:54:12 +0000
(11:54 +0200)
committer
Marcel Holtmann
<marcel@holtmann.org>
Sat, 10 Apr 2010 09:54:12 +0000
(11:54 +0200)
gatchat/gat.h
patch
|
blob
|
history
diff --git
a/gatchat/gat.h
b/gatchat/gat.h
index
6696e7d
..
ddf8695
100644
(file)
--- 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