Files
ModManager/src/overlayfs.h
T
Marc b8affcadbc New naming conventions to avoid conflicts.
i don't know if it was such a great idea but at least it is a starting point.
2022-10-09 15:46:58 +02:00

19 lines
759 B
C

#ifndef __OVERLAY_H__
#define __OVERLAY_H__
typedef enum overlay_errors { SUCESS, NOT_INSTALLED, FAILURE } overlay_errors_t;
/**
* @brief Overlayfs is what make it possible to deploy to the game files without altering anything.
* it allows us to overlay multiple folder over the game files. like appling filters to an image.
* @param sources a null ended table of folder that will overlay of the game files
* @param dest the overlayed folder(the game data folder)
* @param upperdir the director that will store the changed files
* @param workdir a directory that will contains only temporary files.
* @return int error code
*/
overlay_errors_t overlay_mount(char ** sources, const char * dest, const char * upperdir, const char * workdir);
#endif