From: Marcel Holtmann Date: Sat, 10 Apr 2010 09:54:12 +0000 (+0200) Subject: Add generic receive function definition X-Git-Tag: 0.21~419 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=4c76be6c0dd6c96d64a2b26f1e959320456e6113;p=platform%2Fupstream%2Fofono.git Add generic receive function definition --- 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