On Thu, Apr 05, 2018 at 03:29:29PM +0200, Katerina Koukiou wrote:
This function was specific to Domain Lifecycle Events.
Rename it now, so that we can keep consistent naming when introducing
Events for other entities.
Signed-off-by: Katerina Koukiou <kkoukiou(a)redhat.com>
---
src/events.c | 36 ++++++++++++++++++------------------
1 file changed, 18 insertions(+), 18 deletions(-)
diff --git a/src/events.c b/src/events.c
index eb85a3a..c6896d4 100644
--- a/src/events.c
+++ b/src/events.c
@@ -171,9 +171,9 @@ virtDBusEventsDomainDiskChange(virConnectPtr connection
G_GNUC_UNUSED,
}
static void
-virtDBusEventsRegisterEvent(virtDBusConnect *connect,
- gint id,
- virConnectDomainEventGenericCallback callback)
+virtDBusDomainEventsRegisterEvent(virtDBusConnect *connect,
The name should be virtDBusEventsRegisterDomainEvent. virtDBusEvents
is prefix for this file.
+ gint id,
+ virConnectDomainEventGenericCallback callback)
{
g_assert(connect->callback_ids[id] == -1);
Reviewed-by: Pavel Hrdina <phrdina(a)redhat.com>