[virt-tools-list] [libosinfo] API to query required user avatar format

Christophe Fergeau cfergeau at redhat.com
Tue Nov 20 17:35:11 UTC 2012


On Tue, Nov 20, 2012 at 07:26:02PM +0200, Zeeshan Ali (Khattak) wrote:
> On Tue, Nov 20, 2012 at 7:09 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> > On Tue, Nov 20, 2012 at 06:10:30PM +0200, Zeeshan Ali (Khattak) wrote:
> >> On Tue, Nov 20, 2012 at 4:59 PM, Christophe Fergeau <cfergeau at redhat.com> wrote:
> >> >Can we make this a GStrv or a GList or GArray, ... ?
> >>
> >> That will not be as easy to implement as entity params can't be lists
> >> right now. I think regex does the trick.
> >
> > I'm not talking about how it's stored in the xml database, but about how
> > it's exposed in gobject properties/public getter. We can apply some
> > transformation between what we use internally and what the library user
> > will see.
> 
> Sure but I don't see why those two things need to be different and us
> having to do transformations.

To have a friendly external API rather than forcing internal implementation
issues onto the library user.

Christophe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 198 bytes
Desc: not available
URL: <http://listman.redhat.com/archives/virt-tools-list/attachments/20121120/0eb4a836/attachment.sig>


More information about the virt-tools-list mailing list