Changeset 3b3e776 in mainline for uspace/lib/libblock/libblock.h
- Timestamp:
- 2010-02-05T10:57:50Z (15 years ago)
- Branches:
- lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
- Children:
- 0358da0
- Parents:
- 3f085132 (diff), b4cbef1 (diff)
Note: this is a merge changeset, the changes displayed below correspond to the merge itself.
Use the(diff)
links above to see all the changes relative to each parent. - File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libblock/libblock.h
r3f085132 r3b3e776 36 36 37 37 #ifndef LIBBLOCK_LIBBLOCK_H_ 38 #define LIBBLOCK_LIBBLOCK_H_38 #define LIBBLOCK_LIBBLOCK_H_ 39 39 40 40 #include <stdint.h> 41 41 #include "../../srv/vfs/vfs.h" 42 #include <fibril_sync .h>42 #include <fibril_synch.h> 43 43 #include <adt/hash_table.h> 44 44 #include <adt/list.h> … … 59 59 */ 60 60 #define BLOCK_FLAGS_NOREAD 1 61 62 typedef uint64_t bn_t; /**< Block number type. */63 61 64 62 typedef struct block { … … 102 100 103 101 extern int block_cache_init(dev_handle_t, size_t, unsigned, enum cache_mode); 102 extern int block_cache_fini(dev_handle_t); 104 103 105 104 extern int block_get(block_t **, dev_handle_t, bn_t, int); … … 110 109 111 110 extern int block_get_bsize(dev_handle_t, size_t *); 111 extern int block_get_nblocks(dev_handle_t, bn_t *); 112 112 extern int block_read_direct(dev_handle_t, bn_t, size_t, void *); 113 113 extern int block_write_direct(dev_handle_t, bn_t, size_t, const void *);
Note:
See TracChangeset
for help on using the changeset viewer.