From fc764e65c453cf5ad21a4f61ac47439fc007b6aa Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Wed, 22 Sep 2021 17:18:10 +0800 Subject: [PATCH] refact --- source/libs/asvc/inc/asvcInt.h | 27 +++++++++++++++++++++++++++ source/libs/asvc/test/asvcTests.cpp | 0 source/libs/index/inc/indexInt.h | 27 +++++++++++++++++++++++++++ source/libs/index/test/indexTests.cpp | 0 source/libs/raft/inc/raftInt.h | 27 +++++++++++++++++++++++++++ source/libs/raft/test/raftTests.cpp | 0 source/libs/tkv/inc/tkvInt.h | 27 +++++++++++++++++++++++++++ source/libs/tkv/test/tkvTests.cpp | 0 source/libs/wal/inc/walInt.h | 27 +++++++++++++++++++++++++++ source/libs/wal/test/walTests.cpp | 0 source/os/inc/osInt.h | 27 +++++++++++++++++++++++++++ source/os/test/osTests.cpp | 0 source/util/inc/utilInt.h | 27 +++++++++++++++++++++++++++ 13 files changed, 189 insertions(+) create mode 100644 source/libs/asvc/inc/asvcInt.h create mode 100644 source/libs/asvc/test/asvcTests.cpp create mode 100644 source/libs/index/inc/indexInt.h create mode 100644 source/libs/index/test/indexTests.cpp create mode 100644 source/libs/raft/inc/raftInt.h create mode 100644 source/libs/raft/test/raftTests.cpp create mode 100644 source/libs/tkv/inc/tkvInt.h create mode 100644 source/libs/tkv/test/tkvTests.cpp create mode 100644 source/libs/wal/inc/walInt.h create mode 100644 source/libs/wal/test/walTests.cpp create mode 100644 source/os/inc/osInt.h create mode 100644 source/os/test/osTests.cpp create mode 100644 source/util/inc/utilInt.h diff --git a/source/libs/asvc/inc/asvcInt.h b/source/libs/asvc/inc/asvcInt.h new file mode 100644 index 0000000000..e32a2ea70b --- /dev/null +++ b/source/libs/asvc/inc/asvcInt.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 _TD_ASVC_INT_H_ +#define _TD_ASVC_INT_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_ASVC_INT_H_*/ \ No newline at end of file diff --git a/source/libs/asvc/test/asvcTests.cpp b/source/libs/asvc/test/asvcTests.cpp new file mode 100644 index 0000000000..e69de29bb2 diff --git a/source/libs/index/inc/indexInt.h b/source/libs/index/inc/indexInt.h new file mode 100644 index 0000000000..81eba4ec91 --- /dev/null +++ b/source/libs/index/inc/indexInt.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 _TD_INDEX_INT_H_ +#define _TD_INDEX_INT_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_INDEX_INT_H_*/ \ No newline at end of file diff --git a/source/libs/index/test/indexTests.cpp b/source/libs/index/test/indexTests.cpp new file mode 100644 index 0000000000..e69de29bb2 diff --git a/source/libs/raft/inc/raftInt.h b/source/libs/raft/inc/raftInt.h new file mode 100644 index 0000000000..75c1c2187f --- /dev/null +++ b/source/libs/raft/inc/raftInt.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 _TD_RAFT_INT_H_ +#define _TD_RAFT_INT_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_RAFT_INT_H_*/ \ No newline at end of file diff --git a/source/libs/raft/test/raftTests.cpp b/source/libs/raft/test/raftTests.cpp new file mode 100644 index 0000000000..e69de29bb2 diff --git a/source/libs/tkv/inc/tkvInt.h b/source/libs/tkv/inc/tkvInt.h new file mode 100644 index 0000000000..314adce3f5 --- /dev/null +++ b/source/libs/tkv/inc/tkvInt.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 _TD_TKV_INT_H_ +#define _TD_TKV_INT_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_TKV_INT_H_*/ \ No newline at end of file diff --git a/source/libs/tkv/test/tkvTests.cpp b/source/libs/tkv/test/tkvTests.cpp new file mode 100644 index 0000000000..e69de29bb2 diff --git a/source/libs/wal/inc/walInt.h b/source/libs/wal/inc/walInt.h new file mode 100644 index 0000000000..3cf38a5ffc --- /dev/null +++ b/source/libs/wal/inc/walInt.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 _TD_WAL_INT_H_ +#define _TD_WAL_INT_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_WAL_INT_H_*/ \ No newline at end of file diff --git a/source/libs/wal/test/walTests.cpp b/source/libs/wal/test/walTests.cpp new file mode 100644 index 0000000000..e69de29bb2 diff --git a/source/os/inc/osInt.h b/source/os/inc/osInt.h new file mode 100644 index 0000000000..374bda90ab --- /dev/null +++ b/source/os/inc/osInt.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 _TD_OS_INT_H_ +#define _TD_OS_INT_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_OS_INT_H_*/ \ No newline at end of file diff --git a/source/os/test/osTests.cpp b/source/os/test/osTests.cpp new file mode 100644 index 0000000000..e69de29bb2 diff --git a/source/util/inc/utilInt.h b/source/util/inc/utilInt.h new file mode 100644 index 0000000000..ae2bad792d --- /dev/null +++ b/source/util/inc/utilInt.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 _TD_UTIL_INT_H_ +#define _TD_UTIL_INT_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_UTIL_INT_H_*/ \ No newline at end of file -- GitLab