]> rtime.felk.cvut.cz Git - CanFestival-3.git/blob - include/unix/canfestival.h
Changes to compile for win32
[CanFestival-3.git] / include / unix / canfestival.h
1 #ifndef UNIX_H_
2 #define UNIX_H_
3
4 #ifdef __cplusplus
5 extern "C" {
6 #endif
7
8 #include "timerscfg.h"
9 #include "can_driver.h"
10 #include "data.h"
11 #include "timers_driver.h"
12
13 #include <dlfcn.h>
14 typedef void* LIB_HANDLE;
15
16 UNS8 UnLoadCanDriver(LIB_HANDLE handle);
17 LIB_HANDLE LoadCanDriver(char* driver_name);
18 UNS8 canSend(CAN_PORT port, Message *m);
19 CAN_PORT canOpen(s_BOARD *board, CO_Data * d);
20 int canClose(CO_Data * d);
21
22 #ifdef __cplusplus
23 };
24 #endif
25
26 #endif /*UNIX_H_*/