Print functions added to helper.
[fsck.sofs09.git] / fsck_helper.h
blob3e058d22125c6612129b162faee73de909b14d6c
1 #include "sofs_superblock.h"
3 typedef enum{idle, busy, bah} ic_t;
4 /* C is stupid */
5 //typedef enum{idle, busy, bah} cc_t;
6 typedef ic_t cc_t;
8 void fetch_superblock(SOSuperBlock **sb);
10 /* inode control table */
11 /* index < itotal */
12 void ictable_set(uint32_t index, ic_t value);
13 void ictable_get(uint32_t index, ic_t *value);
14 void ictable_print(void);
16 /* cluster control table */
17 /* index < dzone_size */
18 void cctable_set(uint32_t index, cc_t value);
19 void cctable_get(uint32_t index, cc_t *value);
20 void cctable_print(void);