mirror of
https://github.com/AltraMayor/f3.git
synced 2025-09-08 23:04:03 -04:00

This patch addresses issue discussed here: https://github.com/AltraMayor/f3/issues/15 Given the structure of the solution implemented in this patch, it's also expected to address the following issue: https://github.com/AltraMayor/f3/issues/16
15 lines
355 B
C
15 lines
355 B
C
#ifndef HEADER_LIBPROBE_H
|
|
#define HEADER_LIBPROBE_H
|
|
|
|
#include <stdint.h>
|
|
|
|
#include "libdevs.h"
|
|
|
|
int probe_device_max_blocks(struct device *dev);
|
|
|
|
int probe_device(struct device *dev, uint64_t *preal_size_byte,
|
|
uint64_t *pannounced_size_byte, int *pwrap,
|
|
uint64_t *pcache_size_block, int *pneed_reset, int *pblock_order);
|
|
|
|
#endif /* HEADER_LIBPROBE_H */
|