Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
iSulad
提交
6c2d0442
I
iSulad
项目概览
openeuler
/
iSulad
通知
15
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
I
iSulad
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
6c2d0442
编写于
7月 17, 2020
作者:
L
lifeng68
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
refact: move buffer.c to utils directory
Signed-off-by:
N
lifeng68
<
lifeng68@huawei.com
>
上级
71d32bfa
变更
8
显示空白变更内容
内联
并排
Showing
8 changed file
with
20 addition
and
4 deletion
+20
-4
src/utils/CMakeLists.txt
src/utils/CMakeLists.txt
+3
-0
src/utils/buffer/CMakeLists.txt
src/utils/buffer/CMakeLists.txt
+13
-0
src/utils/buffer/buffer.c
src/utils/buffer/buffer.c
+0
-0
src/utils/buffer/buffer.h
src/utils/buffer/buffer.h
+0
-0
src/utils/http/CMakeLists.txt
src/utils/http/CMakeLists.txt
+1
-0
src/utils/http/rest_common.h
src/utils/http/rest_common.h
+1
-2
test/image/oci/registry/CMakeLists.txt
test/image/oci/registry/CMakeLists.txt
+1
-1
test/image/oci/storage/layers/CMakeLists.txt
test/image/oci/storage/layers/CMakeLists.txt
+1
-1
未找到文件。
src/utils/CMakeLists.txt
浏览文件 @
6c2d0442
...
...
@@ -6,6 +6,7 @@ add_subdirectory(cutils)
add_subdirectory
(
sha256
)
add_subdirectory
(
tar
)
add_subdirectory
(
http
)
add_subdirectory
(
buffer
)
set
(
local_utils_srcs
${
utils_top_srcs
}
...
...
@@ -13,6 +14,7 @@ set(local_utils_srcs
${
SHA256_SRCS
}
${
CUTILS_SRCS
}
${
CONSOLE_SRCS
}
${
BUFFER_SRCS
}
)
set
(
local_utils_incs
...
...
@@ -21,6 +23,7 @@ set(local_utils_incs
${
SHA256_INCS
}
${
CUTILS_INCS
}
${
CONSOLE_INCS
}
${
BUFFER_INCS
}
)
if
(
GRPC_CONNECTOR
)
...
...
src/utils/buffer/CMakeLists.txt
0 → 100644
浏览文件 @
6c2d0442
# get current directory sources files
aux_source_directory
(
${
CMAKE_CURRENT_SOURCE_DIR
}
local_buffer_srcs
)
set
(
BUFFER_SRCS
${
local_buffer_srcs
}
PARENT_SCOPE
)
set
(
BUFFER_INCS
${
CMAKE_CURRENT_SOURCE_DIR
}
PARENT_SCOPE
)
src/utils/
http
/buffer.c
→
src/utils/
buffer
/buffer.c
浏览文件 @
6c2d0442
文件已移动
src/utils/
http
/buffer.h
→
src/utils/
buffer
/buffer.h
浏览文件 @
6c2d0442
文件已移动
src/utils/http/CMakeLists.txt
浏览文件 @
6c2d0442
...
...
@@ -12,6 +12,7 @@ target_include_directories(libhttpclient PUBLIC
${
CMAKE_SOURCE_DIR
}
/src/utils
${
CMAKE_SOURCE_DIR
}
/src/utils/cutils
${
CMAKE_SOURCE_DIR
}
/src/utils/http
${
CMAKE_SOURCE_DIR
}
/src/utils/buffer
${
CHECKED_INCLUDE_DIRS
}
)
...
...
src/utils/http/rest_common.h
浏览文件 @
6c2d0442
...
...
@@ -17,7 +17,7 @@
#include <stddef.h>
#include "
http/
buffer.h"
#include "buffer.h"
#include "http/http.h"
#include "parser.h"
...
...
@@ -49,4 +49,3 @@ void put_body(char *body);
#endif
#endif // UTILS_HTTP_REST_COMMON_H
test/image/oci/registry/CMakeLists.txt
浏览文件 @
6c2d0442
...
...
@@ -21,7 +21,7 @@ add_executable(${EXE}
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../../src/daemon/common/err_msg.c
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../../src/daemon/config/daemon_arguments.c
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../../src/utils/http/parser.c
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../../src/utils/
http
/buffer.c
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../../src/utils/
buffer
/buffer.c
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../../src/utils/cutils/utils_aes.c
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../../src/daemon/modules/image/oci/storage/image_store/image_type.c
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../../src/daemon/config/isulad_config.c
...
...
test/image/oci/storage/layers/CMakeLists.txt
浏览文件 @
6c2d0442
...
...
@@ -84,7 +84,7 @@ add_executable(${LAYER_EXE}
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../../../src/utils/cutils/path.c
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../../../src/utils/cutils/map/map.c
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../../../src/utils/cutils/map/rb_tree.c
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../../../src/utils/
http
/buffer.c
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../../../src/utils/
buffer
/buffer.c
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../../../src/utils/tar/util_archive.c
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../../../src/utils/tar/util_gzip.c
${
CMAKE_CURRENT_SOURCE_DIR
}
/../../../../../src/utils/sha256/sha256.c
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录