xt-sdk 文档 v1.0.3
xt-sdk 嵌入式 SDK API 参考
载入中...
搜索中...
未找到
ramfs_node结构体 参考

文件系统节点(文件或目录) 更多...

#include <xt_vfs_ramfs.h>

成员变量

struct xt_list_node node
char name [64]
uint8_t type
uint8_t content [4096]
uint32_t size
bool is_used

详细描述

文件系统节点(文件或目录)

在文件 xt_vfs_ramfs.h 第 31 行定义.

结构体成员变量说明

◆ content

uint8_t ramfs_node::content[4096]

文件内容缓冲区(目录不使用)

在文件 xt_vfs_ramfs.h 第 35 行定义.

◆ is_used

bool ramfs_node::is_used

是否已分配

在文件 xt_vfs_ramfs.h 第 37 行定义.

◆ name

char ramfs_node::name[64]

节点名称

在文件 xt_vfs_ramfs.h 第 33 行定义.

◆ node

struct xt_list_node ramfs_node::node

链表节点,挂载到 ctx->node_list

在文件 xt_vfs_ramfs.h 第 32 行定义.

◆ size

uint32_t ramfs_node::size

文件有效数据大小

在文件 xt_vfs_ramfs.h 第 36 行定义.

◆ type

uint8_t ramfs_node::type

节点类型(XT_VFS_TYPE_REG / XT_VFS_TYPE_DIR)

在文件 xt_vfs_ramfs.h 第 34 行定义.


该结构体的文档由以下文件生成: