secDetector/Backport-secUnsub-del-topic-in-README.patch
2023-12-11 21:31:06 +08:00

32 lines
1.1 KiB
Diff
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

From afb0176a27e64325de49155348cf3e189685a960 Mon Sep 17 00:00:00 2001
From: zgzxx <zhangguangzhi3@huawei.com>
Date: Mon, 11 Dec 2023 21:12:52 +0800
Subject: [PATCH] secUnsub del topic in README
---
README.md | 6 +++---
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/README.md b/README.md
index 9658879..6a06586 100644
--- a/README.md
+++ b/README.md
@@ -109,11 +109,11 @@ secDetectord 默认会在后台运行,从探针中取得数据并转发给订
参数 “topic”:注册的事件类型,具体可见” /usr/include/secDetector/secDetector_sdk.h”中定义
输出 返回读取事件的指针
-接口名称 void secUnsub(const int topic, void *reader)
+接口名称 void secUnsub(void *reader)
接口描述 注销订阅接口
-参数 “topic”:注销的事件类型, “reader”:注销的读事件指针
+参数 “reader”:注销的读事件指针
输出 无
-注意事项 当前会全部取消不支持指定reader取消
+注意事项 当前会取消reader的全部订阅
接口名称 void secReadFrom(void *reader, char *data, int data_len)
接口描述 读事件信息接口
--
2.33.0