umka/vdisk/raw.h
Ivan Baravy e71791c0ab Implement vnet_null device
Such device don't need new threads and files but are valid ethernet
devices for the kernel. Convenient for testing.
2023-02-07 04:32:32 +00:00

23 lines
449 B
C

/*
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>
#include "vdisk.h"
#include "umkaio.h"
#define RAW_SUFFIX ".raw"
struct vdisk*
vdisk_init_raw(const char *fname, const struct umka_io *io);
#endif // VDISK_RAW_H_INCLUDED