1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
| /*
| * =====================================================================================
| *
| * Filename: bh_api_go.h
| *
| * Description: go api callback functions.
| *
| * Version: 1.0
| * Created: 2021年04月20日 16时18分27秒
| * Revision: none
| * Compiler: gcc
| *
| * Author: Li Chao (), lichao@aiotlink.com
| * Organization:
| *
| * =====================================================================================
| */
| #ifndef BH_API_GO_NVOG9GI5
| #define BH_API_GO_NVOG9GI5
|
| #include "bh_api.h"
|
| typedef const void *PCVoid;
| extern void CGoSubDataCallback(PCVoid proc_id,
| int proc_id_len,
| PCVoid data,
| int data_len);
|
| extern void CGoServerCallback(PCVoid proc_id,
| int proc_id_len,
| PCVoid data,
| int data_len,
| void *src);
|
| extern void CGoClientCallback(PCVoid proc_id,
| int proc_id_len,
| PCVoid msg_id,
| int msg_id_len,
| PCVoid data,
| int data_len);
|
| static void CGoStartWorker()
| {
| BHStartWorker(&CGoServerCallback, &CGoSubDataCallback, &CGoClientCallback);
| }
|
| #endif // end of include guard: BH_API_GO_NVOG9GI5
|
|