| | |
| | | size_t procidl; |
| | | char* msg; // request消息体 |
| | | size_t msgl; |
| | | char* path; |
| | | size_t pathl; |
| | | char* body; |
| | | size_t bodyl; |
| | | }; |
| | | // decode stack err msg |
| | | /* |
| | |
| | | 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 |
| | |
| | | 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 |