| | |
| | | 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 *topics, |
| | | const int topics_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); |
| | | |
| | | typedef void (*FSubDataCallback)(const void *proc_id, |
| | | const int proc_id_len, |
| | | int proc_id_len, |
| | | const void *data, |
| | | const int data_len); |
| | | int data_len); |
| | | |
| | | typedef void (*FServerCallback)(const void *proc_id, |
| | | const int proc_id_len, |
| | | int proc_id_len, |
| | | const void *data, |
| | | const int data_len, |
| | | const void *tag); |
| | | int data_len, |
| | | void *src); |
| | | |
| | | typedef void (*FClientCallback)(const void *proc_id, |
| | | const int proc_id_len, |
| | | int proc_id_len, |
| | | const void *msg_id, |
| | | const int msg_id_len, |
| | | int msg_id_len, |
| | | const void *data, |
| | | const int data_len); |
| | | int data_len); |
| | | |
| | | void BHStartWorker(FServerCallback server_cb, FSubDataCallback sub_cb, FClientCallback client_cb); |
| | | |
| | | int BHServerCallbackReply(const void *tag, |
| | | const void *data, |
| | | const int data_len); |
| | | |
| | | int BHHeartbeatEasy(const int timeout_ms); |
| | | int BHHeartbeat(const void *proc_info, |
| | |
| | | int *msgpub_len, |
| | | const int timeout_ms); |
| | | |
| | | int BHAsyncRequest(const void *request, |
| | | 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 *request, |
| | | int BHRequest(const void *remote, |
| | | const int remote_len, |
| | | const void *request, |
| | | const int request_len, |
| | | void **proc_id, |
| | | int *proc_id_len, |
| | |
| | | const void *reply, |
| | | const int reply_len); |
| | | |
| | | // int BHCleanUp(); |
| | | int BHCleanup(); |
| | | |
| | | void BHFree(void *buf, int size); |
| | | |