diff options
author | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-10-23 20:52:32 +0000 |
---|---|---|
committer | patacongo <patacongo@42af7a65-404d-4744-a932-0658087f49c3> | 2008-10-23 20:52:32 +0000 |
commit | 57448320e5356eeb01813b730c5646287afb5a71 (patch) | |
tree | f950273822ddb923cd1dd5208b50133a82f68e38 /nuttx/include | |
parent | 0cf761a1bae29b16b7d8309faec0916f2726defb (diff) | |
download | px4-nuttx-57448320e5356eeb01813b730c5646287afb5a71.tar.gz px4-nuttx-57448320e5356eeb01813b730c5646287afb5a71.tar.bz2 px4-nuttx-57448320e5356eeb01813b730c5646287afb5a71.zip |
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
Diffstat (limited to 'nuttx/include')
-rw-r--r-- | nuttx/include/nuttx/fs.h | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/nuttx/include/nuttx/fs.h b/nuttx/include/nuttx/fs.h index 713d9ac9f..2c933804d 100644 --- a/nuttx/include/nuttx/fs.h +++ b/nuttx/include/nuttx/fs.h @@ -336,6 +336,15 @@ EXTERN FAR struct filelist *files_alloclist(void); EXTERN int files_addreflist(FAR struct filelist *list); EXTERN int files_releaselist(FAR struct filelist *list); 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 /* lib_fopen.c **************************************************************/ |