]> wimlib.net Git - wimlib/blob - include/wimlib/pattern.h
lzms_decompress.c: make 'lens' and 'decode_table' share memory
[wimlib] / include / wimlib / pattern.h
1 #ifndef _WIMLIB_PATTERN_H
2 #define _WIMLIB_PATTERN_H
3
4 #include "wimlib/types.h"
5
6 struct wim_dentry;
7
8 extern bool
9 match_path(const tchar *path, const tchar *pattern, bool prefix_ok);
10
11 extern int
12 expand_path_pattern(struct wim_dentry *root, const tchar *pattern,
13                     int (*consume_dentry)(struct wim_dentry *, void *),
14                     void *ctx);
15
16 #endif /* _WIMLIB_PATTERN_H  */