diff --git a/include/libs/asvc/asvc.h b/include/libs/transport/transport.h similarity index 90% rename from include/libs/asvc/asvc.h rename to include/libs/transport/transport.h index f8c697726925b77f06971faf1c01f9593c57f356..27331088250b1ede4e63c7ca0c8e24c3178fadef 100644 --- a/include/libs/asvc/asvc.h +++ b/include/libs/transport/transport.h @@ -13,8 +13,8 @@ * along with this program. If not, see . */ -#ifndef _TD_ASVC_H_ -#define _TD_ASVC_H_ +#ifndef _TD_TRANSPORT_H_ +#define _TD_TRANSPORT_H_ #ifdef __cplusplus extern "C" { @@ -24,4 +24,4 @@ extern "C" { } #endif -#endif /*_TD_ASVC_H_*/ \ No newline at end of file +#endif /*_TD_TRANSPORT_H_*/ \ No newline at end of file diff --git a/source/libs/CMakeLists.txt b/source/libs/CMakeLists.txt index c19a9da7d81d36918bbb11f4f12e3df5e21caa5f..ed6d2bef4f74d0608c106623aa5c208ccfb93f31 100644 --- a/source/libs/CMakeLists.txt +++ b/source/libs/CMakeLists.txt @@ -1,4 +1,4 @@ -add_subdirectory(asvc) +add_subdirectory(transport) add_subdirectory(raft) add_subdirectory(tkv) add_subdirectory(index) diff --git a/source/libs/asvc/CMakeLists.txt b/source/libs/asvc/CMakeLists.txt deleted file mode 100644 index 11c2e0bf59974ec5a71c0fed418acbd330714d96..0000000000000000000000000000000000000000 --- a/source/libs/asvc/CMakeLists.txt +++ /dev/null @@ -1,7 +0,0 @@ -aux_source_directory(src ASVC_SRC) -add_library(asvc ${ASVC_SRC}) -target_include_directories( - asvc - PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/asvc" - PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc" -) \ No newline at end of file diff --git a/source/libs/transport/CMakeLists.txt b/source/libs/transport/CMakeLists.txt new file mode 100644 index 0000000000000000000000000000000000000000..c01996cb8cff7e7510707af1f31d6395594b1c7b --- /dev/null +++ b/source/libs/transport/CMakeLists.txt @@ -0,0 +1,7 @@ +aux_source_directory(src TRANSPORT_SRC) +add_library(transport ${TRANSPORT_SRC}) +target_include_directories( + transport + PUBLIC "${CMAKE_SOURCE_DIR}/include/libs/transport" + PRIVATE "${CMAKE_CURRENT_SOURCE_DIR}/inc" +) \ No newline at end of file diff --git a/source/libs/asvc/inc/asvcInt.h b/source/libs/transport/inc/transportInt.h similarity index 88% rename from source/libs/asvc/inc/asvcInt.h rename to source/libs/transport/inc/transportInt.h index e32a2ea70bf931d3cef190f22b8b97fb34b957f2..24a2e0ef89fcf32bc3c1950384480dbce9c7228c 100644 --- a/source/libs/asvc/inc/asvcInt.h +++ b/source/libs/transport/inc/transportInt.h @@ -13,8 +13,8 @@ * along with this program. If not, see . */ -#ifndef _TD_ASVC_INT_H_ -#define _TD_ASVC_INT_H_ +#ifndef _TD_TRANSPORT_INT_H_ +#define _TD_TRANSPORT_INT_H_ #ifdef __cplusplus extern "C" { @@ -24,4 +24,4 @@ extern "C" { } #endif -#endif /*_TD_ASVC_INT_H_*/ \ No newline at end of file +#endif /*_TD_TRANSPORT_INT_H_*/ \ No newline at end of file diff --git a/source/libs/asvc/src/asvc.c b/source/libs/transport/src/transport.c similarity index 100% rename from source/libs/asvc/src/asvc.c rename to source/libs/transport/src/transport.c diff --git a/source/libs/asvc/test/asvcTests.cpp b/source/libs/transport/test/transportTests.cpp similarity index 100% rename from source/libs/asvc/test/asvcTests.cpp rename to source/libs/transport/test/transportTests.cpp