ICFS/sources/sourcefs.h
fedir e48cbc62f1 Added source files initialization.
Now source files handling is delegated to functions defined
in `sourcefs.c` file. By encapsulating methods for managing
the underlying source files structure we ensure that all
code changes to the source file protection strategy will be
localized to `sourcefs.c` file.

Also changed Makefile to use more sane way of handling
options and build flags.
2024-11-20 09:28:20 +01:00

15 lines
252 B
C

#ifndef SOURCEFS_H
#define SOURCEFS_H
/**
* Initializes the source file handling.
*
* @param root_path The root of the source files folder.
* @return 0 on success, 1 on failure.
*/
int source_init(const char *root_path);
#endif // !SOURCEFS_H