2022-11-14 21:46:44 -06:00
|
|
|
#ifndef FUSEACTIONS_H
|
|
|
|
#define FUSEACTIONS_H
|
|
|
|
|
2022-11-25 18:03:45 -06:00
|
|
|
#include "fuse.h"
|
2022-11-14 21:46:44 -06:00
|
|
|
|
2022-11-25 18:03:45 -06:00
|
|
|
#define FSSIZE 10000000
|
2022-11-14 21:46:44 -06:00
|
|
|
|
2022-11-25 18:03:45 -06:00
|
|
|
void MapFS(FileSystemStruct* fs, int fd);
|
|
|
|
void UnmapFS(FileSystemStruct* fs);
|
2022-11-25 20:55:43 -06:00
|
|
|
void FormatFS(FileSystemStruct* fs);
|
|
|
|
void LoadFS(FileSystemStruct* fs);
|
|
|
|
void ListFS(FileSystemStruct* fs);
|
|
|
|
void AddFileToFS(FileSystemStruct* fs, char* fname);
|
|
|
|
void RemoveFileFromFS(FileSystemStruct* fs, char* fname);
|
|
|
|
void ExtractFileFromFS(FileSystemStruct* fs, char* fname);
|
2022-11-14 21:46:44 -06:00
|
|
|
|
|
|
|
#endif
|