summaryrefslogtreecommitdiff
path: root/lib/callbacks.h
blob: 333ee82ab7a377189c5ac2ea1d67878133914aae (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
#ifndef DAPI_CALLBACKS_H
#define DAPI_CALLBACKS_H

#ifdef __cplusplus
extern "C" {
#endif

#include <dapi/comm.h>

#include <dapi/callbacks_generated.h>

typedef void (*DapiGenericCallback)( DapiConnection* conn, int command, int seq );

DapiGenericCallback dapi_setGenericCallback( DapiConnection* conn, DapiGenericCallback callback );

void dapi_processData( DapiConnection* conn );

void dapi_genericCallback( DapiConnection* conn, int command, int seq );

#ifdef __cplusplus
}
#endif

#endif