mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-12-22 05:35:25 +00:00
docs: Fix typos in the code comment
1. s/LifeCycle/Lifecycle/ 2. s/virConnectDomainEventTrayChangeReason/virDomainEventTrayChangeReason/ Signed-off-by: Han Han <hhan@redhat.com> Reviewed-by: Andrea Bolognani <abologna@redhat.com>
This commit is contained in:
parent
d1f89a9d28
commit
d29d153fd9
@ -4054,7 +4054,7 @@ typedef void (*virConnectDomainEventDiskChangeCallback)(virConnectPtr conn,
|
||||
void *opaque);
|
||||
|
||||
/**
|
||||
* virConnectDomainEventTrayChangeReason:
|
||||
* virDomainEventTrayChangeReason:
|
||||
*
|
||||
* The reason describing why the callback was called
|
||||
*/
|
||||
|
@ -262,7 +262,7 @@ typedef enum {
|
||||
* virConnectNetworkEventLifecycleCallback:
|
||||
* @conn: connection object
|
||||
* @net: network on which the event occurred
|
||||
* @event: The specific virNetworkEventLifeCycleType which occurred
|
||||
* @event: The specific virNetworkEventLifecycleType which occurred
|
||||
* @detail: contains some details on the reason of the event.
|
||||
* It will be 0 for the while.
|
||||
* @opaque: application specified data
|
||||
|
@ -229,7 +229,7 @@ typedef enum {
|
||||
* virConnectNodeDeviceEventLifecycleCallback:
|
||||
* @conn: connection object
|
||||
* @dev: node device on which the event occurred
|
||||
* @event: The specific virNodeDeviceEventLifeCycleType which occurred
|
||||
* @event: The specific virNodeDeviceEventLifecycleType which occurred
|
||||
* @detail: contains some details on the reason of the event.
|
||||
* @opaque: application specified data
|
||||
*
|
||||
|
@ -190,7 +190,7 @@ typedef enum {
|
||||
* virConnectSecretEventLifecycleCallback:
|
||||
* @conn: connection object
|
||||
* @secret: secret on which the event occurred
|
||||
* @event: The specific virSecretEventLifeCycleType which occurred
|
||||
* @event: The specific virSecretEventLifecycleType which occurred
|
||||
* @detail: contains some details on the reason of the event.
|
||||
* @opaque: application specified data
|
||||
*
|
||||
|
@ -488,7 +488,7 @@ typedef enum {
|
||||
* virConnectStoragePoolEventLifecycleCallback:
|
||||
* @conn: connection object
|
||||
* @pool: pool on which the event occurred
|
||||
* @event: The specific virStoragePoolEventLifeCycleType which occurred
|
||||
* @event: The specific virStoragePoolEventLifecycleType which occurred
|
||||
* @detail: contains some details on the reason of the event.
|
||||
* @opaque: application specified data
|
||||
*
|
||||
|
@ -2822,7 +2822,7 @@ struct _virDomainDef {
|
||||
virDomainResourceDef *resource;
|
||||
virDomainIdMapDef idmap;
|
||||
|
||||
/* These 3 are based on virDomainLifeCycleAction enum flags */
|
||||
/* These 3 are based on virDomainLifecycleAction enum flags */
|
||||
int onReboot;
|
||||
int onPoweroff;
|
||||
int onCrash;
|
||||
|
Loading…
Reference in New Issue
Block a user