From 777333ff834744ac5665fa9abe5ec6373d25cda8 Mon Sep 17 00:00:00 2001 From: zhangmeng <775834166@qq.com> Date: 星期三, 01 三月 2023 09:22:30 +0800 Subject: [PATCH] bug fixed ps_sub thread join --- 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