From fe95b438f4a7b00c4aa41063531f66c4436d107e Mon Sep 17 00:00:00 2001 From: Andrey Nazarov Date: Fri, 5 Apr 2013 18:53:14 +0400 Subject: 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. --- inc/common/files.h | 1 + 1 file changed, 1 insertion(+) (limited to 'inc/common/files.h') 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 -- cgit v1.2.3