From ae17d1439b35b55212c3a30712e0a60b1d6a99c0 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期三, 30 六月 2021 11:15:53 +0800
Subject: [PATCH] support tcp pub/sub.

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

diff --git a/src/bh_api.h b/src/bh_api.h
index e196aa6..8178e55 100644
--- a/src/bh_api.h
+++ b/src/bh_api.h
@@ -44,11 +44,24 @@
                         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,
                                  int proc_id_len,

--
Gitblit v1.8.0