#include #include #include #include #include "fuseactions.h" unsigned char* fs; void MapFS(int fd) { fs = mmap(NULL, FSSIZE, PROT_READ | PROT_WRITE, MAP_SHARED, fd, 0); if (fs == NULL) { perror("mmap failed"); exit(EXIT_FAILURE); } } void UnmapFS() { munmap(fs, FSSIZE); } void FormatFS() { } void LoadFS() { } void ListFS() { } void AddFileToFS(char* fname) { } void RemoveFileFromFS(char* fname) { } void ExtractFileFromFS(char* fname) { }