[libvirt] [PATCH 1/5] Code to return interface name or pci_addr of the VF in actualDevice
Daniel P. Berrange
berrange at redhat.com
Mon Jun 11 15:50:17 UTC 2012
On Fri, Jun 08, 2012 at 04:29:14PM +0100, Shradha Shah wrote:
> @@ -925,6 +931,44 @@ error:
> return result;
> }
>
> +/* Function to compare strings with wildcard strings*/
> +/* When editing this function also edit the one in src/network/bridge_driver.c*/
> +static int
> +wildcmp(const char *wild, const char *string)
> +{
> +/* Written by Jack Handy - <A href="mailto:jakkhandy at hotmail.com">jakkhandy at hotmail.com</A>*/
Isn't this just reimplementing the Glibc 'fnmatch' function that
we already use ?
Regards,
Daniel
--
|: http://berrange.com -o- http://www.flickr.com/photos/dberrange/ :|
|: http://libvirt.org -o- http://virt-manager.org :|
|: http://autobuild.org -o- http://search.cpan.org/~danberr/ :|
|: http://entangle-photo.org -o- http://live.gnome.org/gtk-vnc :|
More information about the libvir-list
mailing list