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@redhat.com
https://www.redhat.com/mailman/listinfo/et-mgmt-tools

Reply via email to