2022-06-27 19:36:56 +02:00
|
|
|
/*
|
|
|
|
SPDX-License-Identifier: GPL-2.0-or-later
|
|
|
|
|
|
|
|
UMKa - User-Mode KolibriOS developer tools
|
|
|
|
vdisk - virtual disk
|
|
|
|
|
|
|
|
Copyright (C) 2020-2022 Ivan Baravy <dunkaist@gmail.com>
|
|
|
|
*/
|
|
|
|
|
2020-02-21 00:18:40 +01:00
|
|
|
#ifndef VDISK_H_INCLUDED
|
|
|
|
#define VDISK_H_INCLUDED
|
|
|
|
|
|
|
|
#include <inttypes.h>
|
2020-05-07 03:57:01 +02:00
|
|
|
#include "umka.h"
|
2020-02-21 00:18:40 +01:00
|
|
|
|
2022-06-27 14:32:29 +02:00
|
|
|
void*
|
|
|
|
vdisk_init(const char *fname, int adjust_cache_size, size_t cache_size);
|
2020-02-21 03:21:09 +01:00
|
|
|
|
2020-05-07 03:41:08 +02:00
|
|
|
extern diskfunc_t vdisk_functions;
|
|
|
|
|
2020-02-21 00:18:40 +01:00
|
|
|
#endif // VDISK_H_INCLUDED
|