Re: [PATCH 12/34] Create virDomainEventRTCChange to get rid of the huge union

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

 



On Fri, Nov 29, 2013 at 04:18:48PM +0100, Cédric Bosdonnat wrote:
> ---
>  src/conf/domain_event.c | 53 +++++++++++++++++++++++++++++++++++--------------
>  src/conf/domain_event.h |  4 ++--
>  2 files changed, 40 insertions(+), 17 deletions(-)
> diff --git a/src/conf/domain_event.h b/src/conf/domain_event.h
> index 2349b54..7c16a48 100644
> --- a/src/conf/domain_event.h
> +++ b/src/conf/domain_event.h
> @@ -69,8 +69,8 @@ virDomainEventPtr virDomainEventRebootNew(int id, const char *name, const unsign
>  virDomainEventPtr virDomainEventRebootNewFromDom(virDomainPtr dom);
>  virDomainEventPtr virDomainEventRebootNewFromObj(virDomainObjPtr obj);
>  
> -virDomainEventPtr virDomainEventRTCChangeNewFromDom(virDomainPtr dom, long long offset);
> -virDomainEventPtr virDomainEventRTCChangeNewFromObj(virDomainObjPtr obj, long long offset);
> +void *virDomainEventRTCChangeNewFromDom(virDomainPtr dom, long long offset);
> +void *virDomainEventRTCChangeNewFromObj(virDomainObjPtr obj, long long offset);

Same point about returning  virObjectEventPtr here as with earlier patch. I
won't repeat it for the remainder of this series - just update them all to
match.

Daniel
-- 
|: http://berrange.com      -o-    http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org              -o-             http://virt-manager.org :|
|: http://autobuild.org       -o-         http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org       -o-       http://live.gnome.org/gtk-vnc :|

--
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]