From 739cf40734e485273dee2088211b67d21abc5863 Mon Sep 17 00:00:00 2001 From: Hongze Cheng Date: Wed, 22 Sep 2021 17:13:05 +0800 Subject: [PATCH] refact --- source/client/consumer/consumer.c | 14 ++++++++++++++ source/client/stream/stream.c | 14 ++++++++++++++ source/client/test/clientTests.cpp | 0 source/common/inc/commonInt.h | 27 +++++++++++++++++++++++++++ source/common/test/commonTests.cpp | 0 5 files changed, 55 insertions(+) create mode 100644 source/client/consumer/consumer.c create mode 100644 source/client/stream/stream.c create mode 100644 source/client/test/clientTests.cpp create mode 100644 source/common/inc/commonInt.h create mode 100644 source/common/test/commonTests.cpp diff --git a/source/client/consumer/consumer.c b/source/client/consumer/consumer.c new file mode 100644 index 0000000000..6dea4a4e57 --- /dev/null +++ b/source/client/consumer/consumer.c @@ -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/source/client/stream/stream.c b/source/client/stream/stream.c new file mode 100644 index 0000000000..6dea4a4e57 --- /dev/null +++ b/source/client/stream/stream.c @@ -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/source/client/test/clientTests.cpp b/source/client/test/clientTests.cpp new file mode 100644 index 0000000000..e69de29bb2 diff --git a/source/common/inc/commonInt.h b/source/common/inc/commonInt.h new file mode 100644 index 0000000000..b8be8899f3 --- /dev/null +++ b/source/common/inc/commonInt.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_COMMON_INT_H_ +#define _TD_COMMON_INT_H_ + +#ifdef __cplusplus +extern "C" { +#endif + +#ifdef __cplusplus +} +#endif + +#endif /*_TD_COMMON_INT_H_*/ \ No newline at end of file diff --git a/source/common/test/commonTests.cpp b/source/common/test/commonTests.cpp new file mode 100644 index 0000000000..e69de29bb2