block.h (04df765ab449df24666269b0de0caf6ff250c568) block.h (20a9e77dfabb3e664c0873726be1540175a4fda1)
1#ifndef BLOCK_H
2#define BLOCK_H
3
4#include "block/aio.h"
5#include "qemu-common.h"
6#include "qemu/option.h"
7#include "block/coroutine.h"
8#include "block/accounting.h"

--- 368 unchanged lines hidden (view full) ---

377BlockDriverState *bdrv_next_node(BlockDriverState *bs);
378BlockDriverState *bdrv_next(BlockDriverState *bs);
379int bdrv_is_encrypted(BlockDriverState *bs);
380int bdrv_key_required(BlockDriverState *bs);
381int bdrv_set_key(BlockDriverState *bs, const char *key);
382int bdrv_query_missing_keys(void);
383void bdrv_iterate_format(void (*it)(void *opaque, const char *name),
384 void *opaque);
1#ifndef BLOCK_H
2#define BLOCK_H
3
4#include "block/aio.h"
5#include "qemu-common.h"
6#include "qemu/option.h"
7#include "block/coroutine.h"
8#include "block/accounting.h"

--- 368 unchanged lines hidden (view full) ---

377BlockDriverState *bdrv_next_node(BlockDriverState *bs);
378BlockDriverState *bdrv_next(BlockDriverState *bs);
379int bdrv_is_encrypted(BlockDriverState *bs);
380int bdrv_key_required(BlockDriverState *bs);
381int bdrv_set_key(BlockDriverState *bs, const char *key);
382int bdrv_query_missing_keys(void);
383void bdrv_iterate_format(void (*it)(void *opaque, const char *name),
384 void *opaque);
385const char *bdrv_get_node_name(const BlockDriverState *bs);
385const char *bdrv_get_device_name(const BlockDriverState *bs);
386int bdrv_get_flags(BlockDriverState *bs);
387int bdrv_write_compressed(BlockDriverState *bs, int64_t sector_num,
388 const uint8_t *buf, int nb_sectors);
389int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi);
390ImageInfoSpecific *bdrv_get_specific_info(BlockDriverState *bs);
391void bdrv_round_to_clusters(BlockDriverState *bs,
392 int64_t sector_num, int nb_sectors,

--- 157 unchanged lines hidden ---
386const char *bdrv_get_device_name(const BlockDriverState *bs);
387int bdrv_get_flags(BlockDriverState *bs);
388int bdrv_write_compressed(BlockDriverState *bs, int64_t sector_num,
389 const uint8_t *buf, int nb_sectors);
390int bdrv_get_info(BlockDriverState *bs, BlockDriverInfo *bdi);
391ImageInfoSpecific *bdrv_get_specific_info(BlockDriverState *bs);
392void bdrv_round_to_clusters(BlockDriverState *bs,
393 int64_t sector_num, int nb_sectors,

--- 157 unchanged lines hidden ---