timer_hw_triggered(): Add dummy definition
[bertos.git] / fs / battfs.h
index 187eb7df882dcd2b20e005d35ca08100e55a611c..0456fcfb6a841388d16a37dc7d83a45343cd030a 100644 (file)
@@ -30,7 +30,7 @@
  *
  * -->
  *
- * \version $Id:$
+ * \version $Id$
  *
  * \author Francesco Sacchi <batt@develer.com>
  *
@@ -219,7 +219,7 @@ typedef uint32_t file_size_t; ///< Type for file sizes.
  * Modes for battfs_fileopen.
  * \{
  */
-#define BATTFS_CREATE BV(0)  ///< Create file if dos not exist
+#define BATTFS_CREATE BV(0)  ///< Create file if does not exist
 #define BATTFS_RD     BV(1)  ///< Open file for reading
 #define BATTFS_WR     BV(2)  ///< Open file fir writing
 /*/}*/
@@ -251,6 +251,7 @@ INLINE KFileBattFs * KFILEBATTFS(KFile *fd)
 bool battfs_init(struct BattFsSuper *d);
 bool battfs_close(struct BattFsSuper *disk);
 
+bool battfs_fileExists(BattFsSuper *disk, inode_t inode);
 bool battfs_fileopen(BattFsSuper *disk, KFileBattFs *fd, inode_t inode, filemode_t mode);
 
 bool battfs_writeTestBlock(struct BattFsSuper *disk, pgcnt_t page, inode_t inode, seq_t seq, fill_t fill, pgoff_t pgoff, mark_t mark);