diff options
| author | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-25 08:26:08 +0200 |
|---|---|---|
| committer | Amlal <amlal@el-mahrouss-logic.com> | 2024-09-25 08:26:08 +0200 |
| commit | daa4f8c748d290feba8a71e889743a8a3097ad7d (patch) | |
| tree | 4b4869dbe3ec5f7c1d78c3d88241db96d006a445 /dev/base/EncryptFS/disk_crypt.hxx | |
| parent | 8f62fbe30655e4d18837f196f01bb203126f474f (diff) | |
Refactor codebase: Move Objects to obj/, fix flags, remove .vscode, add syscalls
- Refactored Objects directory to obj/ for better organization.
- Fixed incorrect flags in the build process.
- Removed .vscode folder to clean up unnecessary IDE settings.
- Added syscall implementations for enhanced functionality.
Signed-off-by: Amlal <amlal@el-mahrouss-logic.com>
Diffstat (limited to 'dev/base/EncryptFS/disk_crypt.hxx')
| -rw-r--r-- | dev/base/EncryptFS/disk_crypt.hxx | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/dev/base/EncryptFS/disk_crypt.hxx b/dev/base/EncryptFS/disk_crypt.hxx new file mode 100644 index 00000000..0b80a930 --- /dev/null +++ b/dev/base/EncryptFS/disk_crypt.hxx @@ -0,0 +1,28 @@ +/* -------------------------------------------
+
+ Copyright ZKA Technologies.
+
+ File: Encrypt.hxx
+ Purpose: Encrypted File System
+
+ Revision History:
+
+ 8/8/2024: Added file (amlel)
+
+------------------------------------------- */
+
+#pragma once
+
+#include <FSKit/NeFS.hxx>
+
+/**************************************** */
+/// @brief Locks an EFS partition.
+/**************************************** */
+
+Kernel::Int32 efs_lock_partition(Kernel::Char* partition_name, Kernel::Char* password, Kernel::Size length);
+
+/**************************************** */
+/// @brief Unlocks an EFS partition.
+/**************************************** */
+
+Kernel::Int32 efs_unlock_partition(Kernel::Char* partition_name, Kernel::Char* password, Kernel::Size length);
|
