Re: [dbus PATCH 06/10] Rename callback_ids variable to domain_callback_ids

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

 



On Thu, Apr 05, 2018 at 03:29:30PM +0200, Katerina Koukiou wrote:
> The callback_ids var is domain specific.
> Renaming it now, so as to keep consistent naming when introducing
> events for other entities.
> 
> Signed-off-by: Katerina Koukiou <kkoukiou@xxxxxxxxxx>
> ---
>  src/connect.c |  8 ++++----
>  src/connect.h |  2 +-
>  src/events.c  | 16 ++++++++--------
>  3 files changed, 13 insertions(+), 13 deletions(-)
> 
> diff --git a/src/connect.c b/src/connect.c
> index f22f682..90172e3 100644
> --- a/src/connect.c
> +++ b/src/connect.c
> @@ -40,12 +40,12 @@ virtDBusConnectClose(virtDBusConnect *connect,
>  {
>  
>      for (gint i = 0; i < VIR_DOMAIN_EVENT_ID_LAST; i += 1) {
> -        if (connect->callback_ids[i] >= 0) {
> +        if (connect->domain_callback_ids[i] >= 0) {

Since we are renaming it I would suggest to use camleCase,
domainCallbackIds, to make the name consistent with the rest of
libvirt-dbus code.

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