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

Re: [libvirt] [PATCH 1/5] Code to return interface name or pci_addr of the VF in actualDevice



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 hotmail com">jakkhandy 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 :|


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