Blender V5.3
BLI_fileops_types.hh
Go to the documentation of this file.
1/* SPDX-FileCopyrightText: 2001-2002 NaN Holding BV. All rights reserved.
2 *
3 * SPDX-License-Identifier: GPL-2.0-or-later */
4
5#pragma once
6
11
12#include <sys/stat.h>
13
14namespace blender {
15
16#if defined(WIN32)
17typedef unsigned int mode_t;
18#endif
19
20#define FILELIST_DIRENTRY_SIZE_LEN 16
21#define FILELIST_DIRENTRY_MODE_LEN 4
22#define FILELIST_DIRENTRY_OWNER_LEN 16
23#define FILELIST_DIRENTRY_TIME_LEN 8
24#define FILELIST_DIRENTRY_DATE_LEN 16
25
26struct direntry {
28 const char *relname;
29 const char *path;
30#ifdef WIN32 /* keep in sync with the definition of BLI_stat_t in BLI_fileops.hh */
31# if defined(_MSC_VER)
32 struct _stat64 s;
33# else
34 struct _stat s;
35# endif
36#else
37 struct stat s;
38#endif
39};
40
41struct dirlink {
42 struct dirlink *next, *prev;
43 char *name;
44};
45
46} // namespace blender
unsigned int mode_t
BMesh Iterators.