1#ifndef __VSF_LINUX_FNMATCH_H__
2#define __VSF_LINUX_FNMATCH_H__
10#if VSF_LINUX_CFG_WRAPPER == ENABLED
11#define find_in_path VSF_LINUX_WRAPPER(find_in_path)
12#define find_in_given_path VSF_LINUX_WRAPPER(find_in_given_path)
18#define FNM_NOESCAPE 0x01
19#define FNM_PATHNAME 0x02
20#define FNM_PERIOD 0x04
21#define FNM_LEADING_DIR 0x08
22#define FNM_CASEFOLD 0x10
24#define FNM_IGNORECASE FNM_CASEFOLD
25#define FNM_FILE_NAME FNM_PATHNAME
27#if VSF_LINUX_APPLET_USE_FNMATCH == ENABLED
33# ifndef __VSF_APPLET__
38#if defined(__VSF_APPLET__) && (defined(__VSF_APPLET_LIB__) || defined(__VSF_APPLET_LINUX_FNMATCH_LIB__))\
39 && VSF_APPLET_CFG_ABI_PATCH != ENABLED && VSF_LINUX_APPLET_USE_FNMATCH == ENABLED
41#ifndef VSF_LINUX_APPLET_FNMATCH_VPLT
42# if VSF_LINUX_USE_APPLET == ENABLED
43# define VSF_LINUX_APPLET_FNMATCH_VPLT \
44 ((vsf_linux_fnmatch_vplt_t *)(VSF_LINUX_APPLET_VPLT->fnmatch_vplt))
46# define VSF_LINUX_APPLET_FNMATCH_VPLT \
47 ((vsf_linux_fnmatch_vplt_t *)vsf_vplt((void *)0))
51#define VSF_LINUX_APPLET_FNMATCH_ENTRY(__NAME) \
52 VSF_APPLET_VPLT_ENTRY_FUNC_ENTRY(VSF_LINUX_APPLET_FNMATCH_VPLT, __NAME)
53#define VSF_LINUX_APPLET_FNMATCH_IMP(...) \
54 VSF_APPLET_VPLT_ENTRY_FUNC_IMP(VSF_LINUX_APPLET_FNMATCH_VPLT, __VA_ARGS__)
56VSF_LINUX_APPLET_FNMATCH_IMP(
fnmatch,
int,
const char *pattern,
const char *
string,
int flags) {
58 return VSF_LINUX_APPLET_FNMATCH_ENTRY(
fnmatch)(pattern, string, flags);
63int fnmatch(
const char *pattern,
const char *
string,
int flags);
int fnmatch(const char *pattern, const char *string, int flags)
__VSF_VPLT_DECORATOR__ vsf_linux_fnmatch_vplt_t vsf_linux_fnmatch_vplt
Definition vsf_linux.c:5325
vsf_vplt_info_t info
Definition fnmatch.h:29
VSF_APPLET_VPLT_ENTRY_FUNC_DEF(fnmatch)
#define __VSF_VPLT_DECORATOR__
Definition vsf_cfg.h:93
#define VSF_APPLET_VPLT_ENTRY_FUNC_TRACE()
Definition vsf_cfg.h:165