zhangmeng
2023-03-01 777333ff834744ac5665fa9abe5ec6373d25cda8
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 从center获取所有的procs信息
*/
void free_query_procs(struct cqueryprocs* procs, const size_t count);
#ifdef __cplusplus
}
#endif