eal/windows: add fnmatch implementation
authorPallavi Kadam <pallavi.kadam@intel.com>
Wed, 6 May 2020 01:30:31 +0000 (18:30 -0700)
committerThomas Monjalon <thomas@monjalon.net>
Thu, 7 May 2020 10:18:17 +0000 (12:18 +0200)
commit98e792a35c3d4c4efe3dd1bc80f8fb7bcebe616f
tree3808d2177db07755f7cd4c84f98fb36422756056
parentc093e28f494d92f71fd3ce16a8daacb0cf1715ae
eal/windows: add fnmatch implementation

Fnmatch implementation is required on Windows to support
log level arguments specified with a globbing pattern.
The source file is with BSD-3-Clause license.
https://github.com/lattera/freebsd/blob/master/usr.bin/csup/fnmatch.c

Signed-off-by: Pallavi Kadam <pallavi.kadam@intel.com>
Reviewed-by: Ranjit Menon <ranjit.menon@intel.com>
Reviewed-by: Tasnim Bashar <tbashar@mellanox.com>
Tested-by: Dmitry Kozlyuk <dmitry.kozliuk@gmail.com>
Acked-by: Narcisa Vasile <navasile@linux.microsoft.com>
lib/librte_eal/windows/fnmatch.c [new file with mode: 0644]
lib/librte_eal/windows/include/fnmatch.h
lib/librte_eal/windows/meson.build