mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-23 06:05:27 +00:00
storage_conf: Introduce virStoragePoolAuthSecretPtr
Split out the _virStoragePoolAuthSecret data from _virStoragePoolAuthCephx into its own structure
This commit is contained in:
parent
26a8431144
commit
92c5591fd2
@ -151,6 +151,14 @@ enum virStoragePoolAuthType {
|
||||
};
|
||||
VIR_ENUM_DECL(virStoragePoolAuthType)
|
||||
|
||||
typedef struct _virStoragePoolAuthSecret virStoragePoolAuthSecret;
|
||||
typedef virStoragePoolAuthSecret *virStoragePoolAuthSecretPtr;
|
||||
struct _virStoragePoolAuthSecret {
|
||||
unsigned char uuid[VIR_UUID_BUFLEN];
|
||||
char *usage;
|
||||
bool uuidUsable;
|
||||
};
|
||||
|
||||
typedef struct _virStoragePoolAuthChap virStoragePoolAuthChap;
|
||||
typedef virStoragePoolAuthChap *virStoragePoolAuthChapPtr;
|
||||
struct _virStoragePoolAuthChap {
|
||||
@ -162,11 +170,7 @@ typedef struct _virStoragePoolAuthCephx virStoragePoolAuthCephx;
|
||||
typedef virStoragePoolAuthCephx *virStoragePoolAuthCephxPtr;
|
||||
struct _virStoragePoolAuthCephx {
|
||||
char *username;
|
||||
struct {
|
||||
unsigned char uuid[VIR_UUID_BUFLEN];
|
||||
char *usage;
|
||||
bool uuidUsable;
|
||||
} secret;
|
||||
virStoragePoolAuthSecret secret;
|
||||
};
|
||||
|
||||
/*
|
||||
|
Loading…
Reference in New Issue
Block a user