diff --git a/include/client/consumer/consumer.h b/include/client/consumer/consumer.h new file mode 100644 index 0000000000000000000000000000000000000000..b957f1a0257f1dd4d2fbcc911692c05b30fa7e5c --- /dev/null +++ b/include/client/consumer/consumer.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_CONSUMER_H_ +#define _TD_CONSUMER_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_CONSUMER_H_*/ \ No newline at end of file diff --git a/include/client/stream/stream.h b/include/client/stream/stream.h new file mode 100644 index 0000000000000000000000000000000000000000..79b247c61c35703ddec5b274ca7fa6198066bb48 --- /dev/null +++ b/include/client/stream/stream.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_STREAM_H_ +#define _TD_STREAM_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_STREAM_H_*/ \ No newline at end of file diff --git a/include/mnode/mnode.h b/include/dnode/mnode/mnode.h similarity index 100% rename from include/mnode/mnode.h rename to include/dnode/mnode/mnode.h diff --git a/include/qnode/qnode.h b/include/dnode/qnode/qnode.h similarity index 100% rename from include/qnode/qnode.h rename to include/dnode/qnode/qnode.h diff --git a/include/dnode/vnode/meta/meta.h b/include/dnode/vnode/meta/meta.h new file mode 100644 index 0000000000000000000000000000000000000000..c584c03de07efc28d00ee433701c8c9b05fc9f3a --- /dev/null +++ b/include/dnode/vnode/meta/meta.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_META_H_ +#define _TD_META_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_META_H_*/ \ No newline at end of file diff --git a/include/dnode/vnode/tq/tq.h b/include/dnode/vnode/tq/tq.h new file mode 100644 index 0000000000000000000000000000000000000000..77d6cdf2c9e45a5d43b2052985e828f907468e45 --- /dev/null +++ b/include/dnode/vnode/tq/tq.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_TQ_H_ +#define _TD_TQ_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_TQ_H_*/ \ No newline at end of file diff --git a/include/dnode/vnode/tsdb/tsdb.h b/include/dnode/vnode/tsdb/tsdb.h new file mode 100644 index 0000000000000000000000000000000000000000..1baf5ef2ee2559b9bc16b0a6b4d6f95bba65839a --- /dev/null +++ b/include/dnode/vnode/tsdb/tsdb.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_TSDB_H_ +#define _TD_TSDB_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_TSDB_H_*/ \ No newline at end of file diff --git a/include/dnode/vnode/vnode.h b/include/dnode/vnode/vnode.h new file mode 100644 index 0000000000000000000000000000000000000000..6dea4a4e57392be988126c579648f39a8270b9bf --- /dev/null +++ b/include/dnode/vnode/vnode.h @@ -0,0 +1,14 @@ +/* + * 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 . + */ \ No newline at end of file diff --git a/include/libs/asvc/asvc.h b/include/libs/asvc/asvc.h new file mode 100644 index 0000000000000000000000000000000000000000..f8c697726925b77f06971faf1c01f9593c57f356 --- /dev/null +++ b/include/libs/asvc/asvc.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_H_ +#define _TD_ASVC_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_ASVC_H_*/ \ No newline at end of file diff --git a/include/libs/raft/raft.h b/include/libs/raft/raft.h new file mode 100644 index 0000000000000000000000000000000000000000..1eedc0f4b85d6c68f308435b8d223e60057d4df5 --- /dev/null +++ b/include/libs/raft/raft.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_H_ +#define _TD_RAFT_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_RAFT_H_*/ \ No newline at end of file diff --git a/include/tkv/tkv.h b/include/libs/tkv/tkv.h similarity index 100% rename from include/tkv/tkv.h rename to include/libs/tkv/tkv.h diff --git a/src/CMakeLists.txt b/src/CMakeLists.txt index 6fa4aeac205c96ae93d6f468d9655a28c8a90fb1..b35cf60dab67b1d99512f5f5c68657930018bdc6 100644 --- a/src/CMakeLists.txt +++ b/src/CMakeLists.txt @@ -1,6 +1,13 @@ +# Base components add_subdirectory(os) add_subdirectory(util) add_subdirectory(common) +# Library components + +# Service components +# add_subdirectory(mnode) +# add_subdirectory(vnode) +# add_subdirectory(qnode) add_subdirectory(dnode)