提交 89f9caea 编写于 作者: H Hongze Cheng

more

上级 b59bda18
......@@ -23,15 +23,15 @@ extern "C" {
typedef struct SVnodeReq SVnodeReq;
typedef struct SVnodeRsp SVnodeRsp;
typedef enum {
} EVReqT;
typedef enum {} EVReqT;
typedef enum {} EVRspT;
struct SVnodeReq {
/* TODO */
EVReqT type;
};
struct SVnodeRsp {
/* TODO */
EVRspT type;
};
#ifdef __cplusplus
......
......@@ -16,7 +16,15 @@
#include "vnodeDef.h"
int vnodeProcessWMsgs(SVnode *pVnode, SArray *pMsgs) {
/* TODO */
SRpcMsg *pReq;
SRpcMsg *pRsp;
for (size_t i = 0; i < taosArrayGetSize(pMsgs); i++) {
pReq = taosArrayGet(pMsgs, i);
vnodeApplyWMsg(pVnode, pReq, pRsp);
}
return 0;
}
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册