Re: RFC: libosinfo: Library for virt OS/distro metadata 3

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

 



On Mon, Jun 15, 2009 at 05:00:00PM +0100, Daniel P. Berrange wrote:

> > I don't really like the idea of filtering. Instead it should just be a
> > callback API full stop. It's up to the client if they want to filter, or
> > find a specific entry, or whatever.
> 
> So you mean that it can just be a list iterator pattern 
> 
>    typedef int (*osdistro_iter)(osdistro_t *distro, void *opaque);
>    int os_distro_iterate(osinfo_t, osdistro_iter iter, void *opaque);

Yep.

regards
john

_______________________________________________
et-mgmt-tools mailing list
et-mgmt-tools@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

[Index of Archives]     [Fedora Users]     [Fedora Legacy List]     [Fedora Maintainers]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]

  Powered by Linux