diff options
Diffstat (limited to 'gatchat/gat.h')
-rw-r--r-- | gatchat/gat.h | 4 |
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 |