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
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
| #ifndef BH_API
| #define BH_API
|
| #ifdef __cplusplus
| extern "C" {
| #endif
|
| int BHRegister(const void *proc_info,
| const int proc_info_len,
| void **reply,
| int *reply_len,
| const int timeout_ms);
|
| int BHUnregister(const void *proc_info,
| const int proc_info_len,
| void **reply,
| int *reply_len,
| const int timeout_ms);
|
| int BHRegisterTopics(const void *topics,
| const int topics_len,
| void **reply,
| int *reply_len,
| const int timeout_ms);
|
| int BHQueryTopicAddress(const void *remote, const int remote_len,
| const void *topic, const int topic_len,
| void **reply, int *reply_len,
| const int timeout_ms);
|
| int BHQueryProcs(const void *remote,
| const int remote_len,
| const void *query,
| const int query_len,
| void **reply,
| int *reply_len,
| const int timeout_ms);
|
| int BHSubscribeTopics(const void *topics,
| const int topics_len,
| void **reply,
| int *reply_len,
| const int timeout_ms);
| int BHSubscribeNetTopics(const void *topics,
| const int topics_len,
| void **reply,
| int *reply_len,
| const int timeout_ms);
|
| int BHHeartbeatEasy(const int timeout_ms);
| int BHHeartbeat(const void *proc_info,
| const int proc_info_len,
| void **reply,
| int *reply_len,
| const int timeout_ms);
|
| int BHPublish(const void *msgpub,
| const int msgpub_len,
| const int timeout_ms);
|
| int BHReadSub(void **proc_id,
| int *proc_id_len,
| void **msgpub,
| int *msgpub_len,
| const int timeout_ms);
|
| int BHAsyncRequest(const void *remote,
| const int remote_len,
| const void *request,
| const int request_len,
| void **msg_id,
| int *msg_id_len);
|
| int BHRequest(const void *remote,
| const int remote_len,
| const void *request,
| const int request_len,
| void **proc_id,
| int *proc_id_len,
| void **reply,
| int *reply_len,
| const int timeout_ms);
|
| int BHReadRequest(void **proc_id,
| int *proc_id_len,
| void **request,
| int *request_len,
| void **src,
| const int timeout_ms);
|
| int BHSendReply(void *src,
| const void *reply,
| const int reply_len);
|
| int BHCleanup();
|
| void BHFree(void *buf, int size);
|
| #ifdef __cplusplus
| }
| #endif
| #endif
|
|