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

more

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