From 4c76be6c0dd6c96d64a2b26f1e959320456e6113 Mon Sep 17 00:00:00 2001 From: Marcel Holtmann Date: Sat, 10 Apr 2010 11:54:12 +0200 Subject: [PATCH] Add generic receive function definition --- gatchat/gat.h | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/gatchat/gat.h b/gatchat/gat.h index 6696e7d..ddf8695 100644 --- a/gatchat/gat.h +++ b/gatchat/gat.h @@ -22,11 +22,15 @@ #ifndef __GAT_H #define __GAT_H +#include + #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 -- 2.7.4