From 8d8998bce825d522f508544ee2091b5cc59447db Mon Sep 17 00:00:00 2001 From: slguan Date: Wed, 5 Feb 2020 22:59:25 +0800 Subject: [PATCH] #1177 --- src/dnode/inc/dnodeRead.h | 27 +++++++++++++++++++++++++++ src/dnode/inc/dnodeShell.h | 27 +++++++++++++++++++++++++++ src/dnode/inc/dnodeSystem.h | 3 --- src/dnode/inc/dnodeWrite.h | 27 +++++++++++++++++++++++++++ src/dnode/inc/vnodeMgmt.h | 27 +++++++++++++++++++++++++++ 5 files changed, 108 insertions(+), 3 deletions(-) create mode 100644 src/dnode/inc/dnodeRead.h create mode 100644 src/dnode/inc/dnodeShell.h create mode 100644 src/dnode/inc/dnodeWrite.h create mode 100644 src/dnode/inc/vnodeMgmt.h diff --git a/src/dnode/inc/dnodeRead.h b/src/dnode/inc/dnodeRead.h new file mode 100644 index 0000000000..c7339e9bfb --- /dev/null +++ b/src/dnode/inc/dnodeRead.h @@ -0,0 +1,27 @@ +/* + * 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 TDENGINE_DNODE_READ_H +#define TDENGINE_DNODE_READ_H + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/src/dnode/inc/dnodeShell.h b/src/dnode/inc/dnodeShell.h new file mode 100644 index 0000000000..e4e26512b1 --- /dev/null +++ b/src/dnode/inc/dnodeShell.h @@ -0,0 +1,27 @@ +/* + * 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 TDENGINE_DNODE_SHELL_H +#define TDENGINE_DNODE_SHELL_H + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/src/dnode/inc/dnodeSystem.h b/src/dnode/inc/dnodeSystem.h index ee950db9b5..e4245a1496 100644 --- a/src/dnode/inc/dnodeSystem.h +++ b/src/dnode/inc/dnodeSystem.h @@ -34,9 +34,6 @@ int dnodeInitSystem(); void dnodeCleanUpSystem(); void dnodeCheckDbRunning(const char* dir); - -void vnodePrintSystemInfo(); -int vnodeCfgDynamicOptions(char *msg); int vnodeInitStore(); int vnodeInitPeer(int numOfThreads); diff --git a/src/dnode/inc/dnodeWrite.h b/src/dnode/inc/dnodeWrite.h new file mode 100644 index 0000000000..2a334fa75c --- /dev/null +++ b/src/dnode/inc/dnodeWrite.h @@ -0,0 +1,27 @@ +/* + * 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 TDENGINE_DNODE_WRITE_H +#define TDENGINE_DNODE_WRITE_H + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif diff --git a/src/dnode/inc/vnodeMgmt.h b/src/dnode/inc/vnodeMgmt.h new file mode 100644 index 0000000000..6faa73a060 --- /dev/null +++ b/src/dnode/inc/vnodeMgmt.h @@ -0,0 +1,27 @@ +/* + * 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 TDENGINE_VNODE_MGMT_H +#define TDENGINE_VNODE_MGMT_H + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif -- GitLab