0f5a68a55e
1. Add poll/select APIs; 2. Add wait queue implementation; 3. Remove DFS_STATUS_* code and use errno; 4. Add pipe API; 5. Use a standalone fops in DFS;
22 lines
492 B
C
22 lines
492 B
C
#ifndef DFS_PRIVATE_H__
|
|
#define DFS_PRIVATE_H__
|
|
|
|
#include <dfs.h>
|
|
|
|
// #define DBG_ENABLE
|
|
#define DBG_SECTION_NAME "[ DFS]"
|
|
#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
|