xt-sdk 文档 v1.0.3
xt-sdk 嵌入式 SDK API 参考
载入中...
搜索中...
未找到
xt_vfs_native.h
浏览该文件的文档.
1
12
13#ifndef __XT_VFS_NATIVE_H__
14#define __XT_VFS_NATIVE_H__
15
16/* ==================== [Includes] ========================================== */
17
18#include "xt_vfs.h"
19
20#ifdef __cplusplus
21extern "C" {
22#endif
23
30
31/* ==================== [Global Prototypes] ================================= */
32
43
55void *xt_vfs_native_create(const char *base_path);
56
61void xt_vfs_native_cleanup(void *ctx);
62
71void xt_vfs_native_destroy(void *ctx);
72 /* xt_vfs_native */
74
75#ifdef __cplusplus
76} /* extern "C" */
77#endif
78
79#endif /* __XT_VFS_NATIVE_H__ */
const xt_vfs_ops_t * xt_vfs_native_get_ops(void)
获取跨平台原生 FS 的 ops 表(惰性初始化)
void * xt_vfs_native_create(const char *base_path)
创建原生 FS 后端实例
void xt_vfs_native_destroy(void *ctx)
销毁原生 FS 后端实例
void xt_vfs_native_cleanup(void *ctx)
递归清空后端根目录下所有文件及子目录
struct xt_vfs_ops xt_vfs_ops_t
后端操作接口(前向声明)
xt 虚拟文件系统——支持多后端挂载、两级锁、静态/动态内存切换