sofs19  0.1
FUSE based file system
grp_fileblocks.h
Go to the documentation of this file.
1 
12 #ifndef __SOFS19_FILEBLOCKS_GROUP__
13 #define __SOFS19_FILEBLOCKS_GROUP__
14 
15 #include <inttypes.h>
16 
17 namespace sofs19
18 {
19  uint32_t grpGetFileBlock(int ih, uint32_t fbn);
20 
21  uint32_t grpAllocFileBlock(int ih, uint32_t fbn);
22 
23  void grpFreeFileBlocks(int ih, uint32_t ffbn);
24 
25  void grpReadFileBlock(int ih, uint32_t fbn, void *buf);
26 
27  void grpWriteFileBlock(int ih, uint32_t fbn, void *buf);
28 };
29 
30 #endif /* __SOFS19_FILEBLOCKS_GROUP__ */