#ifndef __VOLUME_BLOC_H #define __VOLUME_BLOC_H #include #include void read_bloc(unsigned int partition, uint32_t bloc, uintptr_t *buffer); void read_block_alloc(unsigned int partition, uint32_t bloc, uintptr_t **buffer); void read_data_from_block(unsigned int volume, uint32_t block, void *data, size_t size); void write_bloc(unsigned int volume, uint32_t block, uintptr_t *buffer); void write_data_to_block(unsigned int volume, uint32_t block, void *data, size_t size); void format_bloc(unsigned int partition, uint32_t bloc, int value); size_t block_size(); #endif /* __VOLUME_BLOC_H */