Ignore:
File:
1 edited

Legend:

Unmodified
Added
Removed
  • uspace/lib/libblock/libblock.h

    r00b1d20e r64bc4b6  
    3636
    3737#ifndef LIBBLOCK_LIBBLOCK_H_
    38 #define LIBBLOCK_LIBBLOCK_H_
     38#define LIBBLOCK_LIBBLOCK_H_
    3939
    4040#include <stdint.h>
    4141#include "../../srv/vfs/vfs.h"
    42 #include <fibril_sync.h>
     42#include <fibril_synch.h>
    4343#include <adt/hash_table.h>
    4444#include <adt/list.h>
     
    5959 */
    6060#define BLOCK_FLAGS_NOREAD      1
    61 
    62 typedef uint64_t bn_t;  /**< Block number type. */
    6361
    6462typedef struct block {
     
    102100
    103101extern int block_cache_init(dev_handle_t, size_t, unsigned, enum cache_mode);
     102extern int block_cache_fini(dev_handle_t);
    104103
    105104extern int block_get(block_t **, dev_handle_t, bn_t, int);
     
    110109
    111110extern int block_get_bsize(dev_handle_t, size_t *);
     111extern int block_get_nblocks(dev_handle_t, bn_t *);
    112112extern int block_read_direct(dev_handle_t, bn_t, size_t, void *);
    113113extern int block_write_direct(dev_handle_t, bn_t, size_t, const void *);
Note: See TracChangeset for help on using the changeset viewer.