From da70596895d8135e08f8caac6978117697b4c021 Mon Sep 17 00:00:00 2001 From: Amlal El Mahrouss Date: Sun, 18 Aug 2024 21:39:29 +0200 Subject: [REFACTOR] Improved project structure. Signed-off-by: Amlal El Mahrouss --- dev/EFS/EncryptFS.hxx | 22 ++++++++++++++++++++++ dev/EFS/build.json | 10 ++++++++++ 2 files changed, 32 insertions(+) create mode 100644 dev/EFS/EncryptFS.hxx create mode 100644 dev/EFS/build.json (limited to 'dev/EFS') diff --git a/dev/EFS/EncryptFS.hxx b/dev/EFS/EncryptFS.hxx new file mode 100644 index 00000000..2ed382e3 --- /dev/null +++ b/dev/EFS/EncryptFS.hxx @@ -0,0 +1,22 @@ +/* ------------------------------------------- + + Copyright ZKA Technologies. + + File: Encrypt.hxx + Purpose: Encrypted File System + + Revision History: + + 8/8/2024: Added file (amlel) + +------------------------------------------- */ + +#pragma once + +#include + +/// @brief EncryptFS NewFS extension for data protection. + +#define EFSKIT_VERSION 0x0100 + +struct EFS_ENCRYPT_BLOCK; diff --git a/dev/EFS/build.json b/dev/EFS/build.json new file mode 100644 index 00000000..560f6716 --- /dev/null +++ b/dev/EFS/build.json @@ -0,0 +1,10 @@ +{ + "compiler_path": "x86_64-w64-mingw32-g++", + "compiler_std": "c++20", + "headers_path": ["../", "./"], + "sources_path": ["*.cxx"], + "output_name": "encryptfs.dll", + "compiler_flags": ["-ffreestanding", "-shared", "-fno-rtti", "-fno-exceptions", " -Wl,--subsystem=17"], + "cpp_macros": ["__EFS_AMD64__", "cEFSVersion=0x0100", "cEFSVersionHighest=0x0100", "cEFSVersionLowest=0x0100"] + } + \ No newline at end of file -- cgit v1.2.3