summaryrefslogtreecommitdiff
path: root/block_int.h
diff options
context:
space:
mode:
authorbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-12-18 18:28:15 +0000
committerbellard <bellard@c046a42c-6fe2-441c-8c8c-71466251a162>2005-12-18 18:28:15 +0000
commit95389c8681d4e52f9192fb15e12dba29c6807545 (patch)
tree4a76ad301f9c01366418ff92e60b8a151028e4c9 /block_int.h
parent1658b44bf506464cc811e421ac41372ee400371a (diff)
qcow_make_empty() support (Johannes Schindelin)
git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@1716 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'block_int.h')
-rw-r--r--block_int.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/block_int.h b/block_int.h
index 03744f7340..e3038160e6 100644
--- a/block_int.h
+++ b/block_int.h
@@ -39,6 +39,7 @@ struct BlockDriver {
int (*bdrv_is_allocated)(BlockDriverState *bs, int64_t sector_num,
int nb_sectors, int *pnum);
int (*bdrv_set_key)(BlockDriverState *bs, const char *key);
+ int (*bdrv_make_empty)(BlockDriverState *bs);
struct BlockDriver *next;
};
@@ -74,4 +75,6 @@ struct BlockDriverState {
BlockDriverState *next;
};
+void get_tmp_filename(char *filename, int size);
+
#endif /* BLOCK_INT_H */