diff --git a/include/server/mnode/mnode.h b/include/server/mnode/mnode.h index d9135f00e6a3045408711b66d07456b5938d0742..f6c067f784ac081ac8a7975ec2b06e4bcdb27969 100644 --- a/include/server/mnode/mnode.h +++ b/include/server/mnode/mnode.h @@ -100,15 +100,6 @@ int32_t mnodeDeploy(struct Mnode *mnode, struct SMInfos *minfos); */ void mnodeUnDeploy(struct Mnode *mnode); -/** - * Interface for processing messages. - * - * @param mnode, instance of mnode module. - * @param rpcMsg, message to be processed. - * @return Error code. - */ -void mnodeProcessMsg(struct Mnode *mnode, SRpcMsg *rpcMsg); - /** * Whether the mnode is in service. * @@ -152,6 +143,15 @@ int32_t mnodeGetStatistics(struct Mnode *mnode, SMnodeStat *stat); */ int32_t mnodeRetriveAuth(struct Mnode *mnode, char *user, char *spi, char *encrypt, char *secret, char *ckey); +/** + * Interface for processing messages. + * + * @param mnode, instance of mnode module. + * @param rpcMsg, message to be processed. + * @return Error code. + */ +void mnodeProcessMsg(struct Mnode *mnode, SRpcMsg *rpcMsg); + #ifdef __cplusplus } #endif