Fix type and add missed comment for diskChange callback

Comment for parameter devAlias is missed. And a typo should
be caused by copy & paste.
This commit is contained in:
Osier Yang 2012-03-05 18:41:20 +08:00
parent 1f77472d5b
commit 3d2da30edb

View File

@ -3624,6 +3624,7 @@ typedef enum {
* @dom: domain on which the event occurred
* @oldSrcPath: old source path
* @newSrcPath: new source path
* @devAlias: device alias name
* @reason: reason why this callback was called; any of
* virConnectDomainEventDiskChangeReason
* @opaque: application specified data
@ -3634,7 +3635,7 @@ typedef enum {
* for more details.
*
* The callback signature to use when registering for an event of type
* VIR_DOMAIN_EVENT_ID_IO_ERROR with virConnectDomainEventRegisterAny()
* VIR_DOMAIN_EVENT_ID_DISK_CHANGE with virConnectDomainEventRegisterAny()
*/
typedef void (*virConnectDomainEventDiskChangeCallback)(virConnectPtr conn,
virDomainPtr dom,