sofs19  0.1
FUSE based file system
bin_fileblocks.h
Go to the documentation of this file.
1 
11 #ifndef __SOFS19_FILEBLOCKS_BIN__
12 #define __SOFS19_FILEBLOCKS_BIN__
13 
14 #include <inttypes.h>
15 
16 namespace sofs19
17 {
18  uint32_t binGetFileBlock(int ih, uint32_t fbn);
19 
20  uint32_t binAllocFileBlock(int ih, uint32_t fbn);
21 
22  void binFreeFileBlocks(int ih, uint32_t ffbn);
23 
24  void binReadFileBlock(int ih, uint32_t fbn, void *buf);
25 
26  void binWriteFileBlock(int ih, uint32_t fbn, void *buf);
27 };
28 
29 #endif /* __SOFS19_FILEBLOCKS_BIN__ */