diff options
Diffstat (limited to 'source/blender/blenlib/BLI_fileops_types.h')
-rw-r--r-- | source/blender/blenlib/BLI_fileops_types.h | 23 |
1 files changed, 7 insertions, 16 deletions
diff --git a/source/blender/blenlib/BLI_fileops_types.h b/source/blender/blenlib/BLI_fileops_types.h index 0e6eab687ad..0cf8c8ddb4a 100644 --- a/source/blender/blenlib/BLI_fileops_types.h +++ b/source/blender/blenlib/BLI_fileops_types.h @@ -39,12 +39,16 @@ typedef unsigned int mode_t; #endif -struct ImBuf; +#define FILELIST_DIRENTRY_SIZE_LEN 16 +#define FILELIST_DIRENTRY_MODE_LEN 4 +#define FILELIST_DIRENTRY_OWNER_LEN 16 +#define FILELIST_DIRENTRY_TIME_LEN 8 +#define FILELIST_DIRENTRY_DATE_LEN 16 struct direntry { mode_t type; - char *relname; - char *path; + const char *relname; + const char *path; #ifdef WIN32 /* keep in sync with the definition of BLI_stat_t in BLI_fileops.h */ # if defined(_MSC_VER) || defined(__MINGW64__) struct _stat64 s; @@ -56,19 +60,6 @@ struct direntry { #else struct stat s; #endif - unsigned int flags; - char size[16]; - char mode1[4]; - char mode2[4]; - char mode3[4]; - char owner[16]; - char time[8]; - char date[16]; - char extra[16]; - void *poin; - int nr; - struct ImBuf *image; - unsigned int selflag; /* selection flag */ }; struct dirlink { |