[fedora-virt] Re: [et-mgmt-tools] RFC: libosinfo: Library for virt OS/distro metadata 3
levon at movementarian.org
Mon Jun 15 15:52:06 UTC 2009
On Mon, Jun 15, 2009 at 11:28:09AM -0400, Cole Robinson wrote:
> >> int os_init();
> >> void os_close();
> > Always, always, always, pass back an opaque identifier in an API - you
> > never know when you'll need to track per-thread state. It's generally a
> > good idea to pass in a version define too.
> Sounds good, but I'm not sure what you mean by passing in a version define?
#define OSINFO_VERSION 1
This allows certain incompatible changes without having to rev the
More information about the Fedora-virt