Share block driver helpers outside of fs/
git-svn-id: svn://svn.code.sf.net/p/nuttx/code/trunk@1069 42af7a65-404d-4744-a932-0658087f49c3
This commit is contained in:
parent
e8fe75b707
commit
ad93759c76
@ -234,15 +234,6 @@ EXTERN void files_release(int filedes);
|
|||||||
EXTERN int find_blockdriver(FAR const char *pathname, int mountflags,
|
EXTERN int find_blockdriver(FAR const char *pathname, int mountflags,
|
||||||
FAR struct inode **ppinode);
|
FAR struct inode **ppinode);
|
||||||
|
|
||||||
/* fs_openblockdriver.c ******************************************************/
|
|
||||||
|
|
||||||
EXTERN int open_blockdriver(FAR const char *pathname, int mountflags,
|
|
||||||
FAR struct inode **ppinode);
|
|
||||||
|
|
||||||
/* fs_closeblockdriver.c *****************************************************/
|
|
||||||
|
|
||||||
EXTERN int close_blockdriver(FAR struct inode *inode);
|
|
||||||
|
|
||||||
#undef EXTERN
|
#undef EXTERN
|
||||||
#if defined(__cplusplus)
|
#if defined(__cplusplus)
|
||||||
}
|
}
|
||||||
|
@ -336,6 +336,15 @@ EXTERN FAR struct filelist *files_alloclist(void);
|
|||||||
EXTERN int files_addreflist(FAR struct filelist *list);
|
EXTERN int files_addreflist(FAR struct filelist *list);
|
||||||
EXTERN int files_releaselist(FAR struct filelist *list);
|
EXTERN int files_releaselist(FAR struct filelist *list);
|
||||||
EXTERN int files_dup(FAR struct file *filep1, FAR struct file *filep2);
|
EXTERN int files_dup(FAR struct file *filep1, FAR struct file *filep2);
|
||||||
|
|
||||||
|
/* fs_openblockdriver.c ******************************************************/
|
||||||
|
|
||||||
|
EXTERN int open_blockdriver(FAR const char *pathname, int mountflags,
|
||||||
|
FAR struct inode **ppinode);
|
||||||
|
|
||||||
|
/* fs_closeblockdriver.c *****************************************************/
|
||||||
|
|
||||||
|
EXTERN int close_blockdriver(FAR struct inode *inode);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/* lib_fopen.c **************************************************************/
|
/* lib_fopen.c **************************************************************/
|
||||||
|
Loading…
Reference in New Issue
Block a user