2023-01-04 00:15:40 +00:00
|
|
|
/*
|
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
|
|
UMKa - User-Mode KolibriOS developer tools
|
|
|
|
|
vdisk - virtual disk, raw format
|
|
|
|
|
|
|
|
|
|
Copyright (C) 2023 Ivan Baravy <dunkaist@gmail.com>
|
|
|
|
|
*/
|
|
|
|
|
|
|
|
|
|
#ifndef VDISK_RAW_H_INCLUDED
|
|
|
|
|
#define VDISK_RAW_H_INCLUDED
|
|
|
|
|
|
|
|
|
|
#include <stdio.h>
|
2023-01-18 08:29:08 +00:00
|
|
|
#include "vdisk.h"
|
2023-02-01 18:30:44 +00:00
|
|
|
#include "umkaio.h"
|
2023-01-04 00:15:40 +00:00
|
|
|
|
2023-01-04 01:24:35 +00:00
|
|
|
#define RAW_SUFFIX ".raw"
|
|
|
|
|
|
2023-01-05 05:20:40 +00:00
|
|
|
struct vdisk*
|
2023-02-06 16:01:37 +00:00
|
|
|
vdisk_init_raw(const char *fname, const struct umka_io *io);
|
2023-01-04 00:15:40 +00:00
|
|
|
|
|
|
|
|
#endif // VDISK_RAW_H_INCLUDED
|