From 5385a225b71d95875eeb70a5c7cdda5f630fd642 Mon Sep 17 00:00:00 2001
From: zhangzengfei <zhangzengfei@smartai.com>
Date: 星期一, 16 一月 2023 18:00:33 +0800
Subject: [PATCH] 修改请求在线进程接口
---
message.h | 18 ++++++++++++++++++
1 files changed, 18 insertions(+), 0 deletions(-)
diff --git a/message.h b/message.h
index 258c135..7767d15 100644
--- a/message.h
+++ b/message.h
@@ -91,6 +91,10 @@
size_t procidl;
char* msg; // request娑堟伅浣�
size_t msgl;
+ char* path;
+ size_t pathl;
+ char* body;
+ size_t bodyl;
};
// decode stack err msg
/*
@@ -145,6 +149,15 @@
size_t errmsgl;
char* data; // 娑堟伅浣�
size_t datal;
+};
+
+/*
+ 瀵瑰簲 bhome_msg.MsgQueryProcReply_Info query procs 杩斿洖鍊�
+*/
+struct cqueryprocs{
+ char* id;
+ size_t idl;
+ int online;
};
#ifdef __cplusplus
@@ -277,6 +290,11 @@
const char* data, const size_t datal);
void free_reply_msg(struct crepmsg* msg);
+/*
+ 閲婃斁 query procs 浠巆enter鑾峰彇鎵�鏈夌殑procs淇℃伅
+*/
+void free_query_procs(struct cqueryprocs* procs, const size_t count);
+
#ifdef __cplusplus
}
#endif
--
Gitblit v1.8.0