Re: [libvirt-glib PATCHv2 4/5] gobject: Add wrapper for virNetworkDHCPLease

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

 



On Tue, Jun 30, 2015 at 02:38:24PM +0200, Christophe Fergeau wrote:
> On Tue, Jun 30, 2015 at 01:28:19PM +0100, Daniel P. Berrange wrote:
> > On Tue, Jun 30, 2015 at 01:25:28PM +0100, Zeeshan Ali (Khattak) wrote:
> > > On Tue, Jun 30, 2015 at 12:41 PM, Christophe Fergeau
> > > <cfergeau@xxxxxxxxxx> wrote:
> > > > Hey,
> > > >
> > > > Looks good to me, I'd name the type GVirNetworkDhcpLease rather than
> > > > GVirNetworkDHCPLease, this is consistent with
> > > > GVirConfigCapabilitiesCpuModel (and not CPUModel).
> > > 
> > > Hm.. I was trying to keep it consistent with the underlying
> > > 'virNetworkDHCPLease'.
> > 
> > I agree - IMHO acronyms should always be capitalized in our
> > APIs - use of Cpu is a bug (which we can't fix), but we should
> > not add more of such bugs. Likewise MAC, rather than Mac
> 
> Fine with me then. Do you mean even in method names, or just in type
> names?

Just types - for method names we use lowercase + underscores everywhere
which is fine as its in keeping with GLib common practice.

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