Changes in uspace/lib/libblock/libblock.h [08232ee:00b1d20e] in mainline
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
uspace/lib/libblock/libblock.h
r08232ee r00b1d20e 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.h>42 #include <fibril_sync.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. */ 61 63 62 64 typedef struct block { … … 108 110 109 111 extern int block_get_bsize(dev_handle_t, size_t *); 110 extern int block_get_nblocks(dev_handle_t, bn_t *);111 112 extern int block_read_direct(dev_handle_t, bn_t, size_t, void *); 112 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.