diff options
author | Benny Baumann <BenBE@geshi.org> | 2020-11-11 22:15:35 +0100 |
---|---|---|
committer | Benny Baumann <BenBE@geshi.org> | 2020-11-14 15:51:26 +0100 |
commit | 18763051a2c5a5d3a39bfabc284b3d72b1f6fc9b (patch) | |
tree | 6674c47d7b011aca855ea72a0b94c7567bc28294 /dragonflybsd | |
parent | 2d6da2e52066067e4c82a2e16f73438319e1db81 (diff) |
Split platform dependent parts for file locks screen
Diffstat (limited to 'dragonflybsd')
-rw-r--r-- | dragonflybsd/Platform.c | 11 | ||||
-rw-r--r-- | dragonflybsd/Platform.h | 8 |
2 files changed, 19 insertions, 0 deletions
diff --git a/dragonflybsd/Platform.c b/dragonflybsd/Platform.c index 5b81c610..d0cda8c2 100644 --- a/dragonflybsd/Platform.c +++ b/dragonflybsd/Platform.c @@ -206,6 +206,17 @@ char* Platform_getProcessEnv(pid_t pid) { return NULL; } +char* Platform_getInodeFilename(pid_t pid, ino_t inode) { + (void)pid; + (void)inode; + return NULL; +} + +FileLocks_ProcessData* Platform_getProcessLocks(pid_t pid) { + (void)pid; + return NULL; +} + bool Platform_getDiskIO(DiskIOData* data) { // TODO (void)data; diff --git a/dragonflybsd/Platform.h b/dragonflybsd/Platform.h index 6c884719..41fe44cd 100644 --- a/dragonflybsd/Platform.h +++ b/dragonflybsd/Platform.h @@ -8,9 +8,13 @@ Released under the GNU GPLv2, see the COPYING file in the source distribution for its full text. */ +#include <stdbool.h> +#include <sys/types.h> + #include "Action.h" #include "BatteryMeter.h" #include "DiskIOMeter.h" +#include "ProcessLocksScreen.h" #include "SignalsPanel.h" extern ProcessFieldData Process_fields[]; @@ -41,6 +45,10 @@ void Platform_setSwapValues(Meter* this); char* Platform_getProcessEnv(pid_t pid); +char* Platform_getInodeFilename(pid_t pid, ino_t inode); + +FileLocks_ProcessData* Platform_getProcessLocks(pid_t pid); + bool Platform_getDiskIO(DiskIOData* data); bool Platform_getNetworkIO(unsigned long int *bytesReceived, |