Created
November 14, 2012 16:05
-
-
Save ehabkost/4072990 to your computer and use it in GitHub Desktop.
typedef + header dependencies
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
typedef struct BDRVReopenState { | |
BlockDriverState *bs; | |
int flags; | |
void *opaque; | |
} BDRVReopenState; | |
void bdrv_iostatus_enable(BlockDriverState *bs); | |
void bdrv_iostatus_reset(BlockDriverState *bs); | |
void bdrv_iostatus_disable(BlockDriverState *bs); | |
bool bdrv_iostatus_is_enabled(const BlockDriverState *bs); | |
void bdrv_iostatus_set_err(BlockDriverState *bs, int error); | |
void bdrv_info_print(Monitor *mon, const QObject *data); | |
void bdrv_info(Monitor *mon, QObject **ret_data); | |
void bdrv_stats_print(Monitor *mon, const QObject *data); | |
void bdrv_info_stats(Monitor *mon, QObject **ret_data); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
struct BlockDriverState { | |
/* [...] */ | |
}; | |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
int monitor_read_bdrv_key_start(Monitor *mon, BlockDriverState *bs, | |
BlockDriverCompletionFunc *completion_cb, | |
void *opaque); | |
int monitor_read_block_device_key(Monitor *mon, const char *device, | |
BlockDriverCompletionFunc *completion_cb, | |
void *opaque); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment