Add generic receive function definition

This commit is contained in:
Marcel Holtmann 2010-04-10 11:54:12 +02:00
parent 017b4d3955
commit 4c76be6c0d
1 changed files with 4 additions and 0 deletions

View File

@ -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