2018-10-29 11:06:58 +08:00
|
|
|
/*
|
|
|
|
* Copyright (c) 2006-2018, RT-Thread Development Team
|
|
|
|
*
|
|
|
|
* SPDX-License-Identifier: Apache-2.0
|
|
|
|
*
|
|
|
|
* Change Logs:
|
|
|
|
* Date Author Notes
|
|
|
|
*/
|
|
|
|
|
2017-10-15 22:44:53 +08:00
|
|
|
#ifndef DFS_PRIVATE_H__
|
|
|
|
#define DFS_PRIVATE_H__
|
|
|
|
|
|
|
|
#include <dfs.h>
|
|
|
|
|
|
|
|
// #define DBG_ENABLE
|
2018-07-11 10:23:19 +08:00
|
|
|
#define DBG_SECTION_NAME "DFS"
|
2017-10-15 22:44:53 +08:00
|
|
|
#define DBG_COLOR
|
|
|
|
#define DBG_LEVEL DBG_LOG
|
|
|
|
#include <rtdbg.h>
|
|
|
|
|
|
|
|
#define NO_WORKING_DIR "system does not support working directory\n"
|
|
|
|
|
|
|
|
/* extern variable */
|
|
|
|
extern const struct dfs_filesystem_ops *filesystem_operation_table[];
|
|
|
|
extern struct dfs_filesystem filesystem_table[];
|
|
|
|
extern const struct dfs_mount_tbl mount_table[];
|
|
|
|
|
|
|
|
extern char working_directory[];
|
|
|
|
|
|
|
|
#endif
|