From 330f78f3334bcdcdb4cc2ab2dbf66604e0224d71 Mon Sep 17 00:00:00 2001
From: lichao <lichao@aiotlink.com>
Date: 星期五, 21 五月 2021 16:21:45 +0800
Subject: [PATCH] Merge branch 'master' of http://192.168.5.5:10010/r/valib/bhshmq
---
src/bh_api.h | 24 +++++++++++++++++++++++-
1 files changed, 23 insertions(+), 1 deletions(-)
diff --git a/src/bh_api.h b/src/bh_api.h
index 33a70cb..3b77da5 100644
--- a/src/bh_api.h
+++ b/src/bh_api.h
@@ -24,11 +24,33 @@
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,
@@ -101,7 +123,7 @@
const void *reply,
const int reply_len);
-// int BHCleanUp();
+int BHCleanup();
void BHFree(void *buf, int size);
--
Gitblit v1.8.0