mirror of
https://gitlab.com/libvirt/libvirt.git
synced 2024-08-26 18:41:17 +00:00
Fix domain events callback type (John Levon)
This commit is contained in:
parent
bd31fa766a
commit
b5259e7e11
@ -1,3 +1,10 @@
|
||||
Wed Dec 17 21:45:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
Use correct type for domain events callbacks args (John Levon)
|
||||
* src/driver.h, src/qemu_driver.c, src/remote_internal.c,
|
||||
src/xen_unified.c: s/void */virConnectDomainEventCallback/
|
||||
for domain events callbacks
|
||||
|
||||
Wed Dec 17 21:41:39 GMT 2008 Daniel P. Berrange <berrange@redhat.com>
|
||||
|
||||
* src/libvirt_sym.version.in: Remove non-existant symbols
|
||||
|
@ -282,14 +282,14 @@ typedef unsigned long long
|
||||
typedef int
|
||||
(*virDrvDomainEventRegister)
|
||||
(virConnectPtr conn,
|
||||
void *callback,
|
||||
virConnectDomainEventCallback cb,
|
||||
void *opaque,
|
||||
virFreeCallback freecb);
|
||||
|
||||
typedef int
|
||||
(*virDrvDomainEventDeregister)
|
||||
(virConnectPtr conn,
|
||||
void *callback);
|
||||
virConnectDomainEventCallback cb);
|
||||
|
||||
typedef int
|
||||
(*virDrvDomainMigratePrepare2)
|
||||
|
@ -3767,7 +3767,7 @@ cleanup:
|
||||
|
||||
static int
|
||||
qemudDomainEventRegister (virConnectPtr conn,
|
||||
void *callback,
|
||||
virConnectDomainEventCallback callback,
|
||||
void *opaque,
|
||||
virFreeCallback freecb)
|
||||
{
|
||||
@ -3784,7 +3784,7 @@ qemudDomainEventRegister (virConnectPtr conn,
|
||||
|
||||
static int
|
||||
qemudDomainEventDeregister (virConnectPtr conn,
|
||||
void *callback)
|
||||
virConnectDomainEventCallback callback)
|
||||
{
|
||||
struct qemud_driver *driver = conn->privateData;
|
||||
int ret;
|
||||
|
@ -4724,8 +4724,8 @@ remoteAuthPolkit (virConnectPtr conn, struct private_data *priv, int in_open,
|
||||
/*----------------------------------------------------------------------*/
|
||||
|
||||
static int remoteDomainEventRegister (virConnectPtr conn,
|
||||
void *callback ATTRIBUTE_UNUSED,
|
||||
void *opaque ATTRIBUTE_UNUSED,
|
||||
virConnectDomainEventCallback callback,
|
||||
void *opaque,
|
||||
virFreeCallback freecb)
|
||||
{
|
||||
struct private_data *priv = conn->privateData;
|
||||
@ -4752,7 +4752,7 @@ static int remoteDomainEventRegister (virConnectPtr conn,
|
||||
}
|
||||
|
||||
static int remoteDomainEventDeregister (virConnectPtr conn,
|
||||
void *callback ATTRIBUTE_UNUSED)
|
||||
virConnectDomainEventCallback callback)
|
||||
{
|
||||
struct private_data *priv = conn->privateData;
|
||||
|
||||
|
@ -1360,7 +1360,7 @@ xenUnifiedNodeGetFreeMemory (virConnectPtr conn)
|
||||
|
||||
static int
|
||||
xenUnifiedDomainEventRegister (virConnectPtr conn,
|
||||
void *callback,
|
||||
virConnectDomainEventCallback callback,
|
||||
void *opaque,
|
||||
void (*freefunc)(void *))
|
||||
{
|
||||
@ -1377,7 +1377,7 @@ xenUnifiedDomainEventRegister (virConnectPtr conn,
|
||||
|
||||
static int
|
||||
xenUnifiedDomainEventDeregister (virConnectPtr conn,
|
||||
void *callback)
|
||||
virConnectDomainEventCallback callback)
|
||||
{
|
||||
int ret;
|
||||
GET_PRIVATE (conn);
|
||||
|
Loading…
Reference in New Issue
Block a user