From a2e4026ded01e65dfb44df2fe4ac428cef01b114 Mon Sep 17 00:00:00 2001 From: Shengliang Guan Date: Sun, 10 Oct 2021 20:59:26 +0800 Subject: [PATCH] [TD-10432] rename file --- source/server/vnode/inc/vnodeCfg.h | 31 +++++++++++++++++++ .../inc/{vnodeWrite.h => vnodeWriteMsg.h} | 0 .../src/{vnodeWrite.c => vnodeWriteMsg.c} | 0 3 files changed, 31 insertions(+) create mode 100644 source/server/vnode/inc/vnodeCfg.h rename source/server/vnode/inc/{vnodeWrite.h => vnodeWriteMsg.h} (100%) rename source/server/vnode/src/{vnodeWrite.c => vnodeWriteMsg.c} (100%) diff --git a/source/server/vnode/inc/vnodeCfg.h b/source/server/vnode/inc/vnodeCfg.h new file mode 100644 index 0000000000..342d801f44 --- /dev/null +++ b/source/server/vnode/inc/vnodeCfg.h @@ -0,0 +1,31 @@ +/* + * Copyright (c) 2019 TAOS Data, Inc. + * + * This program is free software: you can use, redistribute, and/or modify + * it under the terms of the GNU Affero General Public License, version 3 + * or later ("AGPL"), as published by the Free Software Foundation. + * + * This program is distributed in the hope that it will be useful, but WITHOUT + * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or + * FITNESS FOR A PARTICULAR PURPOSE. + * + * You should have received a copy of the GNU Affero General Public License + * along with this program. If not, see . + */ + +#ifndef _TD_VNODE_CFG_H_ +#define _TD_VNODE_CFG_H_ + +#ifdef __cplusplus +extern "C" { +#endif +#include "vnodeInt.h" + +int32_t vnodeReadCfg(SVnode *pVnode); +int32_t vnodeWriteCfg(SCreateVnodeMsg *pVnodeCfg); + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_VNODE_CFG_H_*/ diff --git a/source/server/vnode/inc/vnodeWrite.h b/source/server/vnode/inc/vnodeWriteMsg.h similarity index 100% rename from source/server/vnode/inc/vnodeWrite.h rename to source/server/vnode/inc/vnodeWriteMsg.h diff --git a/source/server/vnode/src/vnodeWrite.c b/source/server/vnode/src/vnodeWriteMsg.c similarity index 100% rename from source/server/vnode/src/vnodeWrite.c rename to source/server/vnode/src/vnodeWriteMsg.c