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 23:51:27 -06:00
|
|
|
extern unsigned char* tempfs;
|
|
|
|
|
2022-11-26 23:56:41 -06:00
|
|
|
void MapFS(int fd);
|
|
|
|
void UnmapFS(void);
|
2022-11-25 20:55:43 -06:00
|
|
|
void FormatFS(FileSystemStruct* fs);
|
2022-12-02 13:35:38 -06:00
|
|
|
void LoadFS(FileSystemStruct** fs);
|
2022-11-25 20:55:43 -06:00
|
|
|
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
|
|
|
|
2022-12-02 13:35:38 -06:00
|
|
|
#endif
|