sofs19  0.1
FUSE based file system
bin_mksofs.h
Go to the documentation of this file.
1 
10 #ifndef __SOFS19_MKSOFS_BIN__
11 #define __SOFS19_MKSOFS_BIN__
12 
13 #include <inttypes.h>
14 
15 namespace sofs19
16 {
17  void binComputeStructure(uint32_t ntotal, uint32_t & itotal, uint32_t & bref);
18 
19  void binFillSuperBlock(const char *name, uint32_t ntotal, uint32_t itotal, uint32_t bref);
20 
21  void binFillInodeTable(uint32_t itotal, bool set_date = true);
22 
23  void binFillRootDir(uint32_t itotal);
24 
25  void binFillReferenceDataBlocks(uint32_t ntotal, uint32_t itotal, uint32_t bref);
26 
27  void binResetFreeDataBlocks(uint32_t ntotal, uint32_t itotal, uint32_t bref);
28 };
29 
30 #endif /* __SOFS19_MKSOFS_BIN__ */