On Fri, Jun 15, 2018 at 07:03:39PM +0200, Katerina Koukiou wrote:
Signed-off-by: Katerina Koukiou <kkoukiou(a)redhat.com>
---
data/org.libvirt.Connect.xml | 7 +++++++
src/connect.c | 13 +++++++++++++
src/connect.h | 1 +
src/events.c | 42 ++++++++++++++++++++++++++++++++++++++++++
4 files changed, 63 insertions(+)
[...]
diff --git a/src/connect.h b/src/connect.h
index 3b62edd..a864041 100644
--- a/src/connect.h
+++ b/src/connect.h
@@ -24,6 +24,7 @@ struct virtDBusConnect {
gint domainCallbackIds[VIR_DOMAIN_EVENT_ID_LAST];
gint networkCallbackIds[VIR_NETWORK_EVENT_ID_LAST];
+ gint devCallbackIds[VIR_NODE_DEVICE_EVENT_ID_LAST];
I would prefer nodeDevCallbackIds.
gint secretCallbackIds[VIR_SECRET_EVENT_ID_LAST];
gint storagePoolCallbackIds[VIR_STORAGE_POOL_EVENT_ID_LAST];
};
Reviewed-by: Pavel Hrdina <phrdina(a)redhat.com>