fuse/include/fuseactions.h

17 lines
451 B
C

#ifndef FUSEACTIONS_H
#define FUSEACTIONS_H
#include "fuse.h"
#define FSSIZE 10000000
void MapFS(FileSystemStruct* fs, int fd);
void UnmapFS(FileSystemStruct* fs);
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);
#endif