summaryrefslogtreecommitdiffstats
path: root/openbsd
diff options
context:
space:
mode:
Diffstat (limited to 'openbsd')
-rw-r--r--openbsd/Platform.c11
-rw-r--r--openbsd/Platform.h8
2 files changed, 19 insertions, 0 deletions
diff --git a/openbsd/Platform.c b/openbsd/Platform.c
index df6bc0cc..a24d6a2d 100644
--- a/openbsd/Platform.c
+++ b/openbsd/Platform.c
@@ -288,6 +288,17 @@ char* Platform_getProcessEnv(pid_t pid) {
return env;
}
+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/openbsd/Platform.h b/openbsd/Platform.h
index 8cb5bdf3..c7f4e4d7 100644
--- a/openbsd/Platform.h
+++ b/openbsd/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[];
@@ -42,6 +46,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,