Skip to content
体验新版
项目
组织
正在加载...
登录
切换导航
打开侧边栏
openeuler
libvirt
提交
2dd02475
L
libvirt
项目概览
openeuler
/
libvirt
通知
3
Star
0
Fork
0
代码
文件
提交
分支
Tags
贡献者
分支图
Diff
Issue
0
列表
看板
标记
里程碑
合并请求
0
Wiki
0
Wiki
分析
仓库
DevOps
项目成员
Pages
L
libvirt
项目概览
项目概览
详情
发布
仓库
仓库
文件
提交
分支
标签
贡献者
分支图
比较
Issue
0
Issue
0
列表
看板
标记
里程碑
合并请求
0
合并请求
0
Pages
分析
分析
仓库分析
DevOps
Wiki
0
Wiki
成员
成员
收起侧边栏
关闭侧边栏
动态
分支图
创建新Issue
提交
Issue看板
体验新版 GitCode,发现更多精彩内容 >>
提交
2dd02475
编写于
9月 15, 2017
作者:
J
John Ferlan
浏览文件
操作
浏览文件
下载
电子邮件补丁
差异文件
util: Move virSecretUsageType to virsecret.h
Move the virSecretUsageType into the util.
上级
a74a1632
变更
8
隐藏空白更改
内联
并排
Showing
8 changed file
with
10 addition
and
7 deletion
+10
-7
src/conf/domain_conf.c
src/conf/domain_conf.c
+1
-0
src/conf/secret_conf.c
src/conf/secret_conf.c
+1
-3
src/conf/secret_conf.h
src/conf/secret_conf.h
+0
-2
src/qemu/qemu_parse_command.c
src/qemu/qemu_parse_command.c
+1
-1
src/storage/storage_driver.c
src/storage/storage_driver.c
+1
-0
src/util/virsecret.c
src/util/virsecret.c
+2
-0
src/util/virsecret.h
src/util/virsecret.h
+3
-0
tools/virsh-secret.c
tools/virsh-secret.c
+1
-1
未找到文件。
src/conf/domain_conf.c
浏览文件 @
2dd02475
...
...
@@ -53,6 +53,7 @@
#include "device_conf.h"
#include "network_conf.h"
#include "virtpm.h"
#include "virsecret.h"
#include "virstring.h"
#include "virnetdev.h"
#include "virnetdevmacvlan.h"
...
...
src/conf/secret_conf.c
浏览文件 @
2dd02475
...
...
@@ -30,6 +30,7 @@
#include "secret_conf.h"
#include "virsecretobj.h"
#include "virerror.h"
#include "virsecret.h"
#include "virstring.h"
#include "virxml.h"
#include "viruuid.h"
...
...
@@ -38,9 +39,6 @@
VIR_LOG_INIT
(
"conf.secret_conf"
);
VIR_ENUM_IMPL
(
virSecretUsage
,
VIR_SECRET_USAGE_TYPE_LAST
,
"none"
,
"volume"
,
"ceph"
,
"iscsi"
,
"tls"
)
void
virSecretDefFree
(
virSecretDefPtr
def
)
{
...
...
src/conf/secret_conf.h
浏览文件 @
2dd02475
...
...
@@ -26,8 +26,6 @@
# include "internal.h"
# include "virutil.h"
VIR_ENUM_DECL
(
virSecretUsage
)
typedef
struct
_virSecretDef
virSecretDef
;
typedef
virSecretDef
*
virSecretDefPtr
;
struct
_virSecretDef
{
...
...
src/qemu/qemu_parse_command.c
浏览文件 @
2dd02475
...
...
@@ -28,9 +28,9 @@
#include "dirname.h"
#include "viralloc.h"
#include "virlog.h"
#include "virsecret.h"
#include "virstring.h"
#include "c-ctype.h"
#include "secret_conf.h"
#define VIR_FROM_THIS VIR_FROM_QEMU
...
...
src/storage/storage_driver.c
浏览文件 @
2dd02475
...
...
@@ -48,6 +48,7 @@
#include "virfile.h"
#include "virfdstream.h"
#include "configmake.h"
#include "virsecret.h"
#include "virstring.h"
#include "viraccessapicheck.h"
//#include "dirname.h"
...
...
src/util/virsecret.c
浏览文件 @
2dd02475
...
...
@@ -32,6 +32,8 @@
VIR_LOG_INIT
(
"util.secret"
);
VIR_ENUM_IMPL
(
virSecretUsage
,
VIR_SECRET_USAGE_TYPE_LAST
,
"none"
,
"volume"
,
"ceph"
,
"iscsi"
,
"tls"
)
void
virSecretLookupDefClear
(
virSecretLookupTypeDefPtr
def
)
...
...
src/util/virsecret.h
浏览文件 @
2dd02475
...
...
@@ -24,8 +24,11 @@
# include "internal.h"
# include "virutil.h"
# include "virxml.h"
VIR_ENUM_DECL
(
virSecretUsage
)
typedef
enum
{
VIR_SECRET_LOOKUP_TYPE_NONE
,
VIR_SECRET_LOOKUP_TYPE_UUID
,
...
...
tools/virsh-secret.c
浏览文件 @
2dd02475
...
...
@@ -32,9 +32,9 @@
#include "viralloc.h"
#include "virfile.h"
#include "virutil.h"
#include "virsecret.h"
#include "virstring.h"
#include "virtime.h"
#include "conf/secret_conf.h"
static
virSecretPtr
virshCommandOptSecret
(
vshControl
*
ctl
,
const
vshCmd
*
cmd
,
const
char
**
name
)
...
...
编辑
预览
Markdown
is supported
0%
请重试
或
添加新附件
.
添加附件
取消
You are about to add
0
people
to the discussion. Proceed with caution.
先完成此消息的编辑!
取消
想要评论请
注册
或
登录