Rev 3530 | Rev 3538 | Go to most recent revision | Show entire file | Ignore whitespace | Details | Blame | Last modification | View Log | RSS feed
Rev 3530 | Rev 3537 | ||
---|---|---|---|
Line 65... | Line 65... | ||
65 | link_t hash_link; |
65 | link_t hash_link; |
66 | /** Buffer with the block data. */ |
66 | /** Buffer with the block data. */ |
67 | void *data; |
67 | void *data; |
68 | } block_t; |
68 | } block_t; |
69 | 69 | ||
70 | extern int block_init(dev_handle_t, size_t, off_t, size_t); |
70 | extern int block_init(dev_handle_t, size_t); |
71 | extern void block_fini(dev_handle_t); |
71 | extern void block_fini(dev_handle_t); |
- | 72 | ||
- | 73 | extern int block_bb_read(dev_handle_t, off_t, size_t); |
|
72 | extern void *block_bb_get(dev_handle_t); |
74 | extern void *block_bb_get(dev_handle_t); |
73 | 75 | ||
74 | extern block_t *block_get(dev_handle_t, off_t, size_t); |
76 | extern block_t *block_get(dev_handle_t, off_t, size_t); |
75 | extern void block_put(block_t *); |
77 | extern void block_put(block_t *); |
76 | 78 |