mirror of
https://github.com/Alvin-Zilverstand/bob16.git
synced 2026-11-21 12:52:59 +01:00
16 lines
502 B
C
16 lines
502 B
C
#ifndef BOB64_SNAPSHOT_H
|
|
#define BOB64_SNAPSHOT_H
|
|
|
|
#include "filesystem.h"
|
|
|
|
#define BOB64_SNAPSHOT_VERSION 1
|
|
#define BOB64_SNAPSHOT_HEADER_SIZE 24
|
|
|
|
int bob64_fs_snapshot_size(const BOB64_FILESYSTEM *filesystem,usize *size);
|
|
int bob64_fs_snapshot_write(const BOB64_FILESYSTEM *filesystem,
|
|
void *output,usize capacity,usize *written);
|
|
int bob64_fs_snapshot_restore(BOB64_FILESYSTEM *filesystem,
|
|
const void *snapshot,usize snapshot_size);
|
|
|
|
#endif
|