From 65a230ec6ccb61c3ce6816730da2106f07f40b4a Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期五, 23 四月 2021 18:42:41 +0800
Subject: [PATCH] add api, Unregister, QueryTopicAddress.

---
 src/bh_api.h |   12 ++++++++++++
 1 files changed, 12 insertions(+), 0 deletions(-)

diff --git a/src/bh_api.h b/src/bh_api.h
index 33a70cb..4d6846e 100644
--- a/src/bh_api.h
+++ b/src/bh_api.h
@@ -24,12 +24,24 @@
                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 *topics,
+                        const int topics_len,
+                        void **reply,
+                        int *reply_len,
+                        const int timeout_ms);
+
 int BHSubscribeTopics(const void *topics,
                       const int topics_len,
                       void **reply,

--
Gitblit v1.8.0