From 150e192a7ddf19783a0f4a81b87d270c0812277a Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期一, 26 四月 2021 10:25:54 +0800
Subject: [PATCH] fix center handle ssn after node restart.

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

diff --git a/src/bh_api.h b/src/bh_api.h
index 33a70cb..5c82049 100644
--- a/src/bh_api.h
+++ b/src/bh_api.h
@@ -24,12 +24,26 @@
                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,
                       void **reply,

--
Gitblit v1.8.0