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-17 19:43:46 -06:00
|
|
|
void FormatFS();
|
|
|
|
void LoadFS();
|
|
|
|
void ListFS();
|
|
|
|
void AddFileToFS(char* fname);
|
|
|
|
void RemoveFileFromFS(char* fname);
|
|
|
|
void ExtractFileFromFS(char* fname);
|
2022-11-14 21:46:44 -06:00
|
|
|
|
|
|
|
#endif
|