add a flag to ec3_image_ioctx_open to always delete an existing image if it already exists

This commit is contained in:
2025-02-24 15:43:40 +00:00
parent d4d26f53d6
commit 08e7cfd8eb
2 changed files with 7 additions and 0 deletions

View File

@@ -63,6 +63,7 @@ enum ec3_image_ioctx_mode {
EC3_IMAGE_IO_READ = 0x01u,
EC3_IMAGE_IO_WRITE = 0x02u,
EC3_IMAGE_IO_READWRITE = EC3_IMAGE_IO_READ | EC3_IMAGE_IO_WRITE,
EC3_IMAGE_IO_TRUNCATE = 0x04u,
};
struct ec3_image_ioctx {