summaryrefslogtreecommitdiff
path: root/unrar/unrar/match.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'unrar/unrar/match.hpp')
-rw-r--r--unrar/unrar/match.hpp12
1 files changed, 12 insertions, 0 deletions
diff --git a/unrar/unrar/match.hpp b/unrar/unrar/match.hpp
new file mode 100644
index 0000000..5ea6115
--- /dev/null
+++ b/unrar/unrar/match.hpp
@@ -0,0 +1,12 @@
+#ifndef _RAR_MATCH_
+#define _RAR_MATCH_
+
+enum {MATCH_NAMES,MATCH_PATH,MATCH_EXACTPATH,MATCH_SUBPATH,MATCH_WILDSUBPATH};
+
+#define MATCH_MODEMASK 0x0000ffff
+#define MATCH_FORCECASESENSITIVE 0x80000000
+
+bool CmpName(char *Wildcard,char *Name,int CmpPath);
+bool CmpName(wchar *Wildcard,wchar *Name,int CmpPath);
+
+#endif