From cf05ea3d9f43e4e84d621e1f9d54cbef552b6e2b Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期二, 18 五月 2021 16:53:28 +0800 Subject: [PATCH] fix center init mutex. --- src/bh_api.h | 16 +++++++++++++++- 1 files changed, 15 insertions(+), 1 deletions(-) diff --git a/src/bh_api.h b/src/bh_api.h index 33a70cb..e196aa6 100644 --- a/src/bh_api.h +++ b/src/bh_api.h @@ -24,11 +24,25 @@ 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 BHSubscribeTopics(const void *topics, const int topics_len, @@ -101,7 +115,7 @@ const void *reply, const int reply_len); -// int BHCleanUp(); +int BHCleanup(); void BHFree(void *buf, int size); -- Gitblit v1.8.0