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.
This commit is contained in:
Marc
2022-10-09 15:46:58 +02:00
parent 9ee12a6c7e
commit b8affcadbc
26 changed files with 320 additions and 295 deletions
+2 -2
View File
@@ -1,7 +1,7 @@
#ifndef __OVERLAY_H__
#define __OVERLAY_H__
enum overlayErrors { SUCESS, NOT_INSTALLED, FAILURE };
typedef enum overlay_errors { SUCESS, NOT_INSTALLED, FAILURE } overlay_errors_t;
/**
@@ -13,6 +13,6 @@ enum overlayErrors { SUCESS, NOT_INSTALLED, FAILURE };
* @param workdir a directory that will contains only temporary files.
* @return int error code
*/
enum overlayErrors overlayMount(char ** sources, const char * dest, const char * upperdir, const char * workdir);
overlay_errors_t overlay_mount(char ** sources, const char * dest, const char * upperdir, const char * workdir);
#endif