Two fixes
[tfsprogs.git] / cache.h
blobd67903dff275d8b127f8ea9ace0bfc6991f42c7d
1 #ifndef CACHE_H
2 #define CACHE_H
4 #include <stdint.h>
6 /* The cache structure */
7 struct cache_struct {
8 uint32_t block;
9 struct cache_struct *prev;
10 struct cache_struct *next;
11 void *data;
15 /* functions */
16 void cache_init(struct tfs_sb_info *);
17 struct cache_struct *get_cache_block(struct tfs_sb_info *, uint32_t);
18 void print_cache(void);
21 #endif /* cache.h */