diff options
author | Andrey Nazarov <skuller@skuller.net> | 2013-04-05 18:53:14 +0400 |
---|---|---|
committer | Andrey Nazarov <skuller@skuller.net> | 2013-04-06 00:56:58 +0400 |
commit | fe95b438f4a7b00c4aa41063531f66c4436d107e (patch) | |
tree | 1bcfcf711a9c88a1e20d653cd4acdb2effec4937 /inc/common/files.h | |
parent | 2e377ff12d90e1b4d6d6505abea44f8429763332 (diff) |
Improve FS_ListFiles when operating on pack files.
Fix searching in the root directory of pack files: NULL path finds all
files, empty path excludes subdirectories. Add basic support for listing
directories inside pack files.
Diffstat (limited to 'inc/common/files.h')
-rw-r--r-- | inc/common/files.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/inc/common/files.h b/inc/common/files.h index b86ee6e..c2ab66a 100644 --- a/inc/common/files.h +++ b/inc/common/files.h @@ -66,6 +66,7 @@ typedef struct file_info_s { #define FS_SEARCH_EXTRAINFO 0x00000400 #define FS_SEARCH_STRIPEXT 0x00000800 #define FS_SEARCH_DIRSONLY 0x00001000 +#define FS_SEARCH_MASK 0x00001f00 // bits 8 - 11, flag #define FS_FLAG_GZIP 0x00000100 |