dfs_private.h 650 B

123456789101112131415161718192021222324252627282930
  1. /*
  2. * Copyright (c) 2006-2018, RT-Thread Development Team
  3. *
  4. * SPDX-License-Identifier: Apache-2.0
  5. *
  6. * Change Logs:
  7. * Date Author Notes
  8. */
  9. #ifndef DFS_PRIVATE_H__
  10. #define DFS_PRIVATE_H__
  11. #include <dfs.h>
  12. // #define DBG_ENABLE
  13. #define DBG_SECTION_NAME "DFS"
  14. #define DBG_COLOR
  15. #define DBG_LEVEL DBG_LOG
  16. #include <rtdbg.h>
  17. #define NO_WORKING_DIR "system does not support working directory\n"
  18. /* extern variable */
  19. extern const struct dfs_filesystem_ops *filesystem_operation_table[];
  20. extern struct dfs_filesystem filesystem_table[];
  21. extern const struct dfs_mount_tbl mount_table[];
  22. extern char working_directory[];
  23. #endif