sofs19  0.1
FUSE based file system
blockviews.h
Go to the documentation of this file.
1 
17 #ifndef __SOFS19_BLOCKVIEWS__
18 #define __SOFS19_BLOCKVIEWS__
19 
20 #include "core.h"
21 
22 #include <inttypes.h>
23 
24 namespace sofs19
25 {
32  void printBlockAsHex(void *buf, uint32_t off = 0x0);
33 
40  void printBlockAsAscii(void *buf, uint32_t off = 0x0);
41 
47  void printSuperBlock(void *buf);
48 
56  void printBlockOfInodes(void *buf, uint32_t off = 0x0, bool showtimes = true);
57 
64  void printBlockOfDirents(void *buf, uint32_t off = 0x0);
65 
72  void printBlockOfRefs(void *buf, uint32_t off = 0x0);
73 
74 };
75 
76 #endif /* __SOFS19_BLOCKVIEWS__ */
sofs19::printSuperBlock
void printSuperBlock(void *buf)
Display block as superblock data.
sofs19::printBlockAsHex
void printBlockAsHex(void *buf, uint32_t off=0x0)
Display block as hexadecimal data.
sofs19::printBlockOfDirents
void printBlockOfDirents(void *buf, uint32_t off=0x0)
Display the block contents as direntry data.
sofs19::printBlockOfInodes
void printBlockOfInodes(void *buf, uint32_t off=0x0, bool showtimes=true)
Display the block contents as inode data.
sofs19::printBlockOfRefs
void printBlockOfRefs(void *buf, uint32_t off=0x0)
Display the block contents as reference data.
core.h
Some global constants and aggregation of core header files.
sofs19::printBlockAsAscii
void printBlockAsAscii(void *buf, uint32_t off=0x0)
Display block as ASCII data.