XFusion API v1.3.0
载入中...
搜索中...
未找到
xf_vfs_sys_dirent.h
浏览该文件的文档.
1
12#ifndef __XF_VFS_SYS_DIRENT_H__
13#define __XF_VFS_SYS_DIRENT_H__
14
15/* ==================== [Includes] ========================================== */
16
18
19#include "xf_vfs_sys_types.h"
20
21#include "xf_utils.h"
22
23#ifdef __cplusplus
24extern "C" {
25#endif
26
27/* ==================== [Defines] =========================================== */
28
29/* ==================== [Typedefs] ========================================== */
30
34typedef struct {
35 uint16_t dd_vfs_idx;
36 uint16_t dd_rsv;
37 /* remaining fields are defined by VFS implementation */
39
43typedef struct {
46 uint8_t d_type;
47#define XF_VFS_DT_UNKNOWN 0
48#define XF_VFS_DT_REG 1
49#define XF_VFS_DT_DIR 2
50 uint8_t d_namlen;
51 uint16_t d_reclen;
54
55/* ==================== [Global Prototypes] ================================= */
56
57/* ==================== [Macros] ============================================ */
58
59#ifdef __cplusplus
60} /* extern "C" */
61#endif
62
63#endif // __XF_VFS_SYS_DIRENT_H__
Opaque directory structure
Directory entry structure
xf_vfs 模块内部配置总头文件。 确保 xf_vfs_config.h 的所有定义都有默认值。
#define XF_VFS_DIRENT_NAME_SIZE
long xf_vfs_off_t
unsigned long xf_vfs_ino_t