}
-static void
-remoteEventQueue(struct private_data *priv, virObjectEventPtr event,
- int remoteID)
-{
- virObjectEventStateQueueRemote(priv->eventState, event, remoteID);
-}
-
-
static void
remoteDomainBuildEventLifecycleHelper(virConnectPtr conn,
remote_domain_event_lifecycle_msg *msg,
event = virDomainEventLifecycleNewFromDom(dom, msg->event, msg->detail);
virObjectUnref(dom);
- remoteEventQueue(priv, event, callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, callbackID);
}
static void
remoteDomainBuildEventLifecycle(virNetClientProgramPtr prog ATTRIBUTE_UNUSED,
event = virDomainEventRebootNewFromDom(dom);
virObjectUnref(dom);
- remoteEventQueue(priv, event, callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, callbackID);
}
static void
remoteDomainBuildEventReboot(virNetClientProgramPtr prog ATTRIBUTE_UNUSED,
event = virDomainEventRTCChangeNewFromDom(dom, msg->offset);
virObjectUnref(dom);
- remoteEventQueue(priv, event, callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, callbackID);
}
static void
remoteDomainBuildEventRTCChange(virNetClientProgramPtr prog ATTRIBUTE_UNUSED,
event = virDomainEventWatchdogNewFromDom(dom, msg->action);
virObjectUnref(dom);
- remoteEventQueue(priv, event, callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, callbackID);
}
static void
remoteDomainBuildEventWatchdog(virNetClientProgramPtr prog ATTRIBUTE_UNUSED,
msg->action);
virObjectUnref(dom);
- remoteEventQueue(priv, event, callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, callbackID);
}
static void
remoteDomainBuildEventIOError(virNetClientProgramPtr prog ATTRIBUTE_UNUSED,
virObjectUnref(dom);
- remoteEventQueue(priv, event, callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, callbackID);
}
static void
remoteDomainBuildEventIOErrorReason(virNetClientProgramPtr prog ATTRIBUTE_UNUSED,
virObjectUnref(dom);
- remoteEventQueue(priv, event, callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, callbackID);
}
static void
remoteDomainBuildEventBlockJob(virNetClientProgramPtr prog ATTRIBUTE_UNUSED,
virObjectUnref(dom);
- remoteEventQueue(priv, event, msg->callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, msg->callbackID);
}
static void
virObjectUnref(dom);
- remoteEventQueue(priv, event, callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, callbackID);
return;
error:
virObjectUnref(dom);
- remoteEventQueue(priv, event, callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, callbackID);
}
static void
remoteDomainBuildEventControlError(virNetClientProgramPtr prog ATTRIBUTE_UNUSED,
virObjectUnref(dom);
- remoteEventQueue(priv, event, callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, callbackID);
}
static void
remoteDomainBuildEventDiskChange(virNetClientProgramPtr prog ATTRIBUTE_UNUSED,
virObjectUnref(dom);
- remoteEventQueue(priv, event, callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, callbackID);
}
static void
remoteDomainBuildEventTrayChange(virNetClientProgramPtr prog ATTRIBUTE_UNUSED,
virObjectUnref(dom);
- remoteEventQueue(priv, event, callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, callbackID);
}
static void
remoteDomainBuildEventPMWakeup(virNetClientProgramPtr prog ATTRIBUTE_UNUSED,
virObjectUnref(dom);
- remoteEventQueue(priv, event, callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, callbackID);
}
static void
remoteDomainBuildEventPMSuspend(virNetClientProgramPtr prog ATTRIBUTE_UNUSED,
event = virDomainEventBalloonChangeNewFromDom(dom, msg->actual);
virObjectUnref(dom);
- remoteEventQueue(priv, event, callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, callbackID);
}
static void
remoteDomainBuildEventBalloonChange(virNetClientProgramPtr prog ATTRIBUTE_UNUSED,
virObjectUnref(dom);
- remoteEventQueue(priv, event, callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, callbackID);
}
static void
remoteDomainBuildEventPMSuspendDisk(virNetClientProgramPtr prog ATTRIBUTE_UNUSED,
virObjectUnref(dom);
- remoteEventQueue(priv, event, callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, callbackID);
}
static void
remoteDomainBuildEventDeviceRemoved(virNetClientProgramPtr prog ATTRIBUTE_UNUSED,
virObjectUnref(dom);
- remoteEventQueue(priv, event, msg->callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, msg->callbackID);
}
virObjectUnref(dom);
- remoteEventQueue(priv, event, msg->callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, msg->callbackID);
}
static void
virObjectUnref(dom);
- remoteEventQueue(priv, event, msg->callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, msg->callbackID);
}
virObjectUnref(dom);
- remoteEventQueue(priv, event, msg->callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, msg->callbackID);
}
virObjectUnref(dom);
- remoteEventQueue(priv, event, msg->callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, msg->callbackID);
}
virObjectUnref(dom);
- remoteEventQueue(priv, event, msg->callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, msg->callbackID);
}
virObjectUnref(dom);
- remoteEventQueue(priv, event, msg->callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, msg->callbackID);
}
msg->detail);
virObjectUnref(net);
- remoteEventQueue(priv, event, msg->callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, msg->callbackID);
}
static void
msg->detail);
virObjectUnref(pool);
- remoteEventQueue(priv, event, msg->callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, msg->callbackID);
}
static void
event = virStoragePoolEventRefreshNew(pool->name, pool->uuid);
virObjectUnref(pool);
- remoteEventQueue(priv, event, msg->callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, msg->callbackID);
}
static void
msg->detail);
virObjectUnref(dev);
- remoteEventQueue(priv, event, msg->callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, msg->callbackID);
}
static void
event = virNodeDeviceEventUpdateNew(dev->name);
virObjectUnref(dev);
- remoteEventQueue(priv, event, msg->callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, msg->callbackID);
}
static void
msg->event, msg->detail);
virObjectUnref(secret);
- remoteEventQueue(priv, event, msg->callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, msg->callbackID);
}
static void
event = virSecretEventValueChangedNew(secret->uuid, secret->usageType, secret->usageID);
virObjectUnref(secret);
- remoteEventQueue(priv, event, msg->callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, msg->callbackID);
}
static void
msg->details ? *msg->details : NULL);
virObjectUnref(dom);
- remoteEventQueue(priv, event, msg->callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, msg->callbackID);
}
virObjectUnref(dom);
- remoteEventQueue(priv, event, msg->callbackID);
+ virObjectEventStateQueueRemote(priv->eventState, event, msg->callbackID);
}