Re: [dbus PATCH 05/10] Rename virtDBusEventsRegisterEvent to virtDBusDomainEventsRegisterEvent

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxxx>
> ---
>  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@xxxxxxxxxx>

Attachment: signature.asc
Description: PGP signature

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list

[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux