Daniel P. Berrange
Fri, 23 Oct 2009 09:29:21 -0700
On Thu, Oct 22, 2009 at 05:37:40PM -0400, Laine Stump wrote: > Here's a first draft of a suggested new API, subject to change based > on comments. > > ncf_if_status returns various status bits about the given interface. As a > start, only a single bit is defined: > > NETCF_IFACE_STATUS_UP > > This bit is set if the interface is currently up (active) and not set if it > is currently down (inactive). > > The value of all other bits should be considered random by an > application program, as later versions of netcf may use them. In other > words, you should always mask out all the other bits.
ACK, this looks sufficient for the usage I was wanting in libvirt. Daniel -- |: Red Hat, Engineering, London -o- http://people.redhat.com/berrange/ :| |: http://libvirt.org -o- http://virt-manager.org -o- http://ovirt.org :| |: http://autobuild.org -o- http://search.cpan.org/~danberr/ :| |: GnuPG: 7D3B9505 -o- F3C9 553F A1DA 4AC2 5648 23C1 B3DF F742 7D3B 9505 :| _______________________________________________ netcf-devel mailing list netcf-devel@lists.fedorahosted.org https://fedorahosted.org/mailman/listinfo/netcf-devel