From 903b27f875e5f2a872c1b309f354b18c0450f35a Mon Sep 17 00:00:00 2001 From: lichao <lichao@aiotlink.com> Date: 星期五, 04 六月 2021 11:46:18 +0800 Subject: [PATCH] allow tcp request with no dest, auto query topic. --- src/bh_api.h | 10 +++++++++- 1 files changed, 9 insertions(+), 1 deletions(-) diff --git a/src/bh_api.h b/src/bh_api.h index 5c82049..3b77da5 100644 --- a/src/bh_api.h +++ b/src/bh_api.h @@ -44,6 +44,14 @@ 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, @@ -115,7 +123,7 @@ const void *reply, const int reply_len); -// int BHCleanUp(); +int BHCleanup(); void BHFree(void *buf, int size); -- Gitblit v1.8.0