Dev/verify shm (#1276)
Some checks failed
Build on RHEL9 / build (push) Failing after 3m41s
Build on RHEL8 / build (push) Failing after 5m10s

* removed verify, update, fixed getUser to be a free function, generated commands, python bindings yet to do

* python bindings

* fixed tests

* minor

* minor

* format
This commit is contained in:
2025-08-23 10:23:27 +02:00
committed by GitHub
parent 15cbaa509e
commit fff5fa73be
18 changed files with 198 additions and 209 deletions

View File

@@ -73,6 +73,7 @@ std::string Caller::list(int action) {
}
if (args.empty()) {
std::string ret = "free\n";
ret += "user\n";
for (auto &f : functions) {
ret += f.first + "\n";
}
@@ -188,6 +189,12 @@ std::string Caller::free(int action) {
return "free\n\tFree detector shared memory\n";
}
std::string Caller::user(int action) {
// This function is purely for help, actual functionality is in the caller
return "user\n\tUser details from shared memory (hostname, type, PID, "
"User, Date).\n";
}
std::string Caller::hostname(int action) {
std::ostringstream os;
if (action == defs::HELP_ACTION) {