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@xxxxxxxxxxx">jakkhandy@xxxxxxxxxxx</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 :| -- libvir-list mailing list libvir-list@xxxxxxxxxx https://www.redhat.com/mailman/listinfo/libvir-list