summaryrefslogtreecommitdiff
path: root/src/envsecurity.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/envsecurity.h')
-rw-r--r--src/envsecurity.h17
1 files changed, 17 insertions, 0 deletions
diff --git a/src/envsecurity.h b/src/envsecurity.h
index bc63c4a2..436103b7 100644
--- a/src/envsecurity.h
+++ b/src/envsecurity.h
@@ -49,6 +49,23 @@ private:
std::vector<SecurityProduct> getSecurityProducts();
+
+struct FileRights
+{
+ QStringList list;
+ bool hasExecute = false;
+ bool normalRights = false;
+};
+
+struct FileSecurity
+{
+ QString owner;
+ FileRights rights;
+ QString error;
+};
+
+FileSecurity getFileSecurity(const QString& file);
+
} // namespace env
#endif // ENV_SECURITY_H